主题 : 用SDK编译生成helloworld.ipk失败,Makefile错误,求助 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 57118
精华: 0
发帖: 9
金钱: 55 两
威望: 11 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2011-10-19
最后登录: 2012-05-05
楼主  发表于: 2012-05-03 23:38

 用SDK编译生成helloworld.ipk失败,Makefile错误,求助

SDK版本:OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1
以下是helloworld源码包结构

package/
├── helloworld
│ ├── Makefile
│ ├── README
│ └── src
│      ├── helloworld.c
│      └── Makefile
├── Makefile
└── rules.mk

一切就绪,到SDK根目录下
$ make clean
$ make V=99
报错如下:
ERROR: please fix package/helloworld/Makefile
Collecting package info: done
make[1]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Nothing to be done for `package/compile'.
make[2]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
--: line 0: cd: /home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/bin/brcm63xx/packages: No such file or directory
make[2]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[1]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'

根据信息应该是Makefile的问题,网上搜到是空格用法错误,改了几次都没成功
有谁能发个Makefile文件给我么
蛋疼啊,用toolchain(改环境变量PATH)编译通过轻松
但是。。。想制作自己的ipk啊
求助
谢谢
级别: 新手上路
UID: 93982
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2013-07-05
最后登录: 2014-08-14
1楼  发表于: 2014-01-05 13:06

 I just interrupt you kiss

本部分内容设定了隐藏,需要回复后才能看到