RE: [SLE] 2.3.47 compile problem

Hi, It looks like it is using the wrong directories to find the code.
make[3]: *** [md.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block'
There is no reason for a development kernel like 2.3.47 to use the 2.2 source tree. Double check your source installation and make sure your links are right. Another reason might be that version simply won't compile (it is for development after all). In general you should be using the stable 2.2 series kernel. Good luck, Tim
-----Original Message----- From: Michael Bartosh [SMTP:bartosh@ocean.tamu.edu] Sent: Thursday, March 02, 2000 12:14 PM To: suse-linux-e@suse.com Subject: [SLE] 2.3.47 compile problem
Any ideas?
make bzImage fails on me:
ame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c ll_rw_blk.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c blkpg.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c md.c md.c: In function `md_setup': md.c:3272: `FAULT_SHIFT' undeclared (first use in this function) md.c:3272: (Each undeclared identifier is reported only once md.c:3272: for each function it appears in.) md.c: In function `md_setup_drive': md.c:3356: warning: implicit declaration of function `do_md_setup' md.c:3356: structure has no member named `str' md.c:3356: structure has no member named `ints' md.c:3357: parse error before `int' md.c:3360: `minor' undeclared (first use in this function) md.c:3364: `i' undeclared (first use in this function) md.c:3364: `dev' undeclared (first use in this function) md.c:3365: warning: implicit declaration of function `do_md_add' md.c:3366: too many arguments to function `do_md_run' md.c: At top level: md.c:3354: warning: `md_setup_drive' defined but not used make[3]: *** [md.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block' make[1]: *** [_subdir_block] Error 2
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/

On Thu, 2 Mar 2000, Tim Duggan wrote:
Hi, It looks like it is using the wrong directories to find the code.
make[3]: *** [md.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block'
There is no reason for a development kernel like 2.3.47 to use the 2.2 source tree. Double check your source installation and make sure your links are right. Another reason might be that version simply won't compile (it is for development after all). In general you should be using the stable 2.2 series kernel.
oh /weird/. I wonder why it's doing that? -mab
Good luck, Tim
-----Original Message----- From: Michael Bartosh [SMTP:bartosh@ocean.tamu.edu] Sent: Thursday, March 02, 2000 12:14 PM To: suse-linux-e@suse.com Subject: [SLE] 2.3.47 compile problem
Any ideas?
make bzImage fails on me:
ame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c ll_rw_blk.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c blkpg.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -DEXPORT_SYMTAB -c md.c md.c: In function `md_setup': md.c:3272: `FAULT_SHIFT' undeclared (first use in this function) md.c:3272: (Each undeclared identifier is reported only once md.c:3272: for each function it appears in.) md.c: In function `md_setup_drive': md.c:3356: warning: implicit declaration of function `do_md_setup' md.c:3356: structure has no member named `str' md.c:3356: structure has no member named `ints' md.c:3357: parse error before `int' md.c:3360: `minor' undeclared (first use in this function) md.c:3364: `i' undeclared (first use in this function) md.c:3364: `dev' undeclared (first use in this function) md.c:3365: warning: implicit declaration of function `do_md_add' md.c:3366: too many arguments to function `do_md_run' md.c: At top level: md.c:3354: warning: `md_setup_drive' defined but not used make[3]: *** [md.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block' make[1]: *** [_subdir_block] Error 2
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
bartosh@ocean.tamu.edu
-
tduggan@dekaresearch.com