uClinux kernel 編譯問題

我們生活周遭存在太多太多的 embedded system ,過去 embedded system 有專屬的 OS,現在 linux 也可以應用在嵌入式環境,不過本版將廣泛討論所有嵌入式系統不只 linux 喔,歡迎有這方面經驗或有興趣的朋友一同進來討論。

版主: chester

uClinux kernel 編譯問題

文章chonhi » 週六 12月 13, 2008 4:55 pm

不知有誰跟我有遇到相關問題?
可否能夠解答。
謝謝。

檔案:
1. snapgear-3.3.0.tar.gz
2. arm-linux-tools-20051123.tar.gz
3. linux-2.6.15.tar.gz
4. linux-2.6.15-uc0.patch.gz
5. ixp400AcessLibrary-1_4.zip
6. ixp400LinuxEthernetDriverPatch-1_1.zip
7. patch_accesslib_kernel26_20040811.diff
------------------------------------------------------------
<code>
make[2]: Leaving directory `/home/nemo-test/snapgear/user/telnetd'
make[2]: Entering directory `/home/nemo-test/snapgear/user/tinylogin'
/bin/sh install.sh /home/nemo-test/snapgear/romfs
/home/nemo-test/snapgear/romfs/bin/login -> tinylogin
/home/nemo-test/snapgear/romfs/sbin/getty -> ../bin/tinylogin
/home/nemo-test/snapgear/romfs/usr/bin/passwd -> ../../bin/tinylogin
make[2]: Leaving directory `/home/nemo-test/snapgear/user/tinylogin'
make[2]: Entering directory `/home/nemo-test/snapgear/user/tip'
romfs-inst.sh /bin/tip
make[2]: Leaving directory `/home/nemo-test/snapgear/user/tip'
make[1]: Leaving directory `/home/nemo-test/snapgear/user'
find /home/nemo-test/snapgear/romfs/. -name CVS | xargs -r rm -rf
. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then \
[ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules; \
make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x modules; \
fi
make[1]: Entering directory `/home/nemo-test/snapgear/linux-2.6.x'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
CC [M] drivers/net/ixp425_eth.o
In file included from drivers/net/ixp425_eth.c:82:
/home/nemo-test/ixp400_xscale_sw/src/include/IxOsServices.h:92:10: warning: "SIMSPARCSOLARIS" is not defined
drivers/net/ixp425_eth.c:104:1: warning: "MODULE_VERSION" redefined
In file included from drivers/net/ixp425_eth.c:55:
include/linux/module.h:156:1: warning: this is the location of the previous definition
drivers/net/ixp425_eth.c:333: error: field `tq_timeout' has incomplete type
drivers/net/ixp425_eth.c: In function `dev_skb_enqueue':
drivers/net/ixp425_eth.c:655: error: structure has no member named `security'
drivers/net/ixp425_eth.c: In function `dev_media_check_thread':
drivers/net/ixp425_eth.c:933: error: too few arguments to function `daemonize'
drivers/net/ixp425_eth.c:934: warning: implicit declaration of function `reparent_to_init'
drivers/net/ixp425_eth.c:935: error: structure has no member named `sigmask_lock'
drivers/net/ixp425_eth.c:937: error: too many arguments to function `recalc_sigpending'
drivers/net/ixp425_eth.c:938: error: structure has no member named `sigmask_lock'
drivers/net/ixp425_eth.c:948: error: structure has no member named `sigmask_lock'
drivers/net/ixp425_eth.c:950: error: structure has no member named `sigmask_lock'
drivers/net/ixp425_eth.c: At top level:
drivers/net/ixp425_eth.c:1218: error: variable `tq_maintenance' has initializer but incomplete type
drivers/net/ixp425_eth.c:1219: error: unknown field `routine' specified in initializer
drivers/net/ixp425_eth.c:1220: warning: excess elements in struct initializer
drivers/net/ixp425_eth.c:1220: warning: (near initialization for `tq_maintenance')
drivers/net/ixp425_eth.c: In function `maintenance_timer_cb':
drivers/net/ixp425_eth.c:1242: warning: implicit declaration of function `schedule_task'
drivers/net/ixp425_eth.c: In function `dev_eth_type_trans':
drivers/net/ixp425_eth.c:1336: error: structure has no member named `stamp'
drivers/net/ixp425_eth.c:1337: error: structure has no member named `stamp'
drivers/net/ixp425_eth.c:1356: error: union has no member named `ethernet'
drivers/net/ixp425_eth.c:1398: error: union has no member named `ethernet'
drivers/net/ixp425_eth.c: In function `ethAcc_datapath_poll_setup':
drivers/net/ixp425_eth.c:1728: warning: passing arg 2 of `request_irq' from incompatible pointer type
drivers/net/ixp425_eth.c:1742: warning: passing arg 2 of `request_irq' from incompatible pointer type
drivers/net/ixp425_eth.c: In function `dev_get_stats':
drivers/net/ixp425_eth.c:2259: warning: implicit declaration of function `invalidate_dcache_range'
drivers/net/ixp425_eth.c: In function `qmgr_init':
drivers/net/ixp425_eth.c:2333: warning: passing arg 2 of `request_irq' from incompatible pointer type
drivers/net/ixp425_eth.c: At top level:
drivers/net/ixp425_eth.c:2455: error: conflicting types for 'dev_set_mac_address'
include/linux/netdevice.h:694: error: previous declaration of 'dev_set_mac_address' was here
drivers/net/ixp425_eth.c:2455: error: conflicting types for 'dev_set_mac_address'
include/linux/netdevice.h:694: error: previous declaration of 'dev_set_mac_address' was here
drivers/net/ixp425_eth.c:1218: error: storage size of `tq_maintenance' isn't known
make[3]: *** [drivers/net/ixp425_eth.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/nemo-test/snapgear/linux-2.6.x'
make: *** [modules] Error 2
-------------------------------------------------------------
chonhi
可愛的小學生
可愛的小學生
 
文章: 3
註冊時間: 週六 12月 13, 2008 4:47 pm

回到 embedded system

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客