Distribution: Mandrake 9.0 Hardware Environment: Athlon-XP Software Environment: gcc-3.2 Problem Description: Compile failure on drivers/message/i2o/i2o_lan.c gcc -Wp,-MD,drivers/message/i2o/.i2o_lan.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=i2o_lan -DKBUILD_MODNAME=i2o_lan -c -o drivers/message/i2o/i2o_lan.o drivers/message/i2o/i2o_lan.c drivers/message/i2o/i2o_lan.c:28:2: #error Please convert me to Documentation/DMA-mapping.txt drivers/message/i2o/i2o_lan.c:120: parse error before "struct" drivers/message/i2o/i2o_lan.c: In function `i2o_lan_receive_post_reply': drivers/message/i2o/i2o_lan.c:385: `run_i2o_post_buckets_task' undeclared (first use in this function) drivers/message/i2o/i2o_lan.c:385: (Each undeclared identifier is reported only once drivers/message/i2o/i2o_lan.c:385: for each function it appears in.) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_open': drivers/message/i2o/i2o_lan.c:745: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:429) drivers/message/i2o/i2o_lan.c:749: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c:766: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c:776: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_close': drivers/message/i2o/i2o_lan.c:819: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_batch_send': drivers/message/i2o/i2o_lan.c:851: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_sdu_send': drivers/message/i2o/i2o_lan.c:906: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:429) drivers/message/i2o/i2o_lan.c:908: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_packet_send': drivers/message/i2o/i2o_lan.c:994: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:429) drivers/message/i2o/i2o_lan.c:996: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:404) drivers/message/i2o/i2o_lan.c: In function `i2o_lan_register_device': drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list' drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list' drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list' drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list' drivers/message/i2o/i2o_lan.c:1407: structure has no member named `sync' make[3]: *** [drivers/message/i2o/i2o_lan.o] Error 1 make[2]: *** [drivers/message/i2o] Error 2 make[1]: *** [drivers/message] Error 2 make: *** [drivers] Error 2 Steps to reproduce: make dep && make bzImage && make modules .config file attached
Created attachment 75 [details] 2.5.59 .config file
*** Bug 198 has been marked as a duplicate of this bug. ***
Created attachment 87 [details] Patch to remove the list and sync errors This patch removes the INIT_LIST_HEAD statment, since its been moved from tq_struct to work_struct, thus making INIT_LIST_HEAD not needed. Please review.
This I2O LAN been removed in 2.5.61 and therefore the compile breakage has been "fixed". http://linux.bkbits.net:8080/linux-2.5/cset@1.1060.1.5?nav=index.html|ChangeSet@-1d
i2o_lan has been deleted. There is no hardware using it