From: svetljo <sv...@ly...> - 2002-12-24 08:50:43
|
Hi Aivilis, i wanted to ask you some questions, altough i couldn't find time for testing. i had some problems by compilation, so i wanted to ask you if you use devfs, and in case you do, how did you manage to compile vc_console.c, and why you did the change on about line 527 : from : devfs_unregister ( devfs_find_handle ( ..... to devfs_find_and_unregister ( ... with this change i get warnings during compilation, and errors on final linking of vmlinuz, if i revert it everything seems ok,but i coudn't find time to boot the kernel ########################## /home/root/src/2.4/linux-2.4.20bruby-21dec/arch/i386/lib/lib.a /home/root/src/2.4/linux-2.4.20bruby-21dec/lib/lib.a /home/root/src/2.4/linux-2.4.20bruby-21dec/arch/i386/lib/lib.a \ --end-group \ -o vmlinux drivers/char/char.o: In function `vcs_make_devfs': drivers/char/char.o(.text+0x12e57): undefined reference to `devfs_find_and_unregister' drivers/char/char.o(.text+0x12e88): undefined reference to `devfs_find_and_unregister' make: *** [vmlinux] Error 1 ########################## i couldn't compile usb-ohci, and i got some problems with usb_make_path in usb-net & usb-serial ################################# depmod: *** Unresolved symbols in /lib/modules/2.4.20-bruby-no_acpi/kernel/drivers/usb/serial/usbserial.o depmod: usb_make_path depmod: *** Unresolved symbols in /lib/modules/2.4.20-bruby-no_acpi/kernel/drivers/usb/usbnet.o depmod: usb_make_path ################################# and usb-ohci : ################################# gcc -D__KERNEL__ -I/home/root/src/2.4/linux-2.4.20bruby-21dec/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=usb_ohci -c -o usb-ohci.o usb-ohci.c usb-ohci.c:181: parse error before '*' token usb-ohci.c:182: warning: function declaration isn't a prototype usb-ohci.c: In function `urb_rm_priv_locked': usb-ohci.c:183: `urb' undeclared (first use in this function) usb-ohci.c:183: (Each undeclared identifier is reported only once usb-ohci.c:183: for each function it appears in.) usb-ohci.c:199: warning: implicit declaration of function `usb_release_bandwidth' usb-ohci.c: At top level: usb-ohci.c:215: parse error before '*' token usb-ohci.c:216: warning: function declaration isn't a prototype usb-ohci.c: In function `urb_rm_priv': usb-ohci.c:220: `urb' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:461: parse error before "urb_t" usb-ohci.c:462: warning: function declaration isn't a prototype usb-ohci.c: In function `sohci_return_urb': usb-ohci.c:463: `urb' undeclared (first use in this function) usb-ohci.c:464: `urb_t' undeclared (first use in this function) usb-ohci.c:464: `urbt' undeclared (first use in this function) usb-ohci.c:483: `hc' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:539: parse error before '*' token usb-ohci.c:540: warning: function declaration isn't a prototype usb-ohci.c: In function `sohci_submit_urb': usb-ohci.c:544: `urb' undeclared (first use in this function) usb-ohci.c:664: warning: implicit declaration of function `usb_check_bandwidth' usb-ohci.c:672: warning: implicit declaration of function `usb_claim_bandwidth' usb-ohci.c: At top level: usb-ohci.c:723: parse error before '*' token usb-ohci.c:724: warning: function declaration isn't a prototype usb-ohci.c: In function `sohci_unlink_urb': usb-ohci.c:728: `urb' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:1298: parse error before "urb_t" usb-ohci.c: In function `td_fill': usb-ohci.c:1299: number of arguments doesn't match prototype usb-ohci.h:434: prototype declaration usb-ohci.c:1301: `urb' undeclared (first use in this function) usb-ohci.c:1303: `index' undeclared (first use in this function) usb-ohci.c:1313: `ohci' undeclared (first use in this function) usb-ohci.c:1320: `data' undeclared (first use in this function) usb-ohci.c:1321: `len' undeclared (first use in this function) usb-ohci.c:1324: `info' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:1347: parse error before '*' token usb-ohci.c: In function `td_submit_urb': usb-ohci.c:1348: number of arguments doesn't match prototype usb-ohci.h:435: prototype declaration usb-ohci.c:1349: `urb' undeclared (first use in this function) usb-ohci.c: In function `dl_transfer_length': usb-ohci.c:1460: `urb_t' undeclared (first use in this function) usb-ohci.c:1460: `urb' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:1501: parse error before '*' token usb-ohci.c:1502: warning: function declaration isn't a prototype usb-ohci.c: In function `dl_del_urb': usb-ohci.c:1503: `urb' undeclared (first use in this function) usb-ohci.c: In function `dl_del_list': usb-ohci.c:1590: `urb_t' undeclared (first use in this function) usb-ohci.c:1590: `urb' undeclared (first use in this function) usb-ohci.c: In function `dl_done_list': usb-ohci.c:1678: `urb_t' undeclared (first use in this function) usb-ohci.c:1678: `urb' undeclared (first use in this function) usb-ohci.c: In function `rh_int_timer_do': usb-ohci.c:1854: `urb_t' undeclared (first use in this function) usb-ohci.c:1854: `urb' undeclared (first use in this function) usb-ohci.c:1854: parse error before ')' token usb-ohci.c: At top level: usb-ohci.c:1883: parse error before '*' token usb-ohci.c: In function `rh_init_int_timer': usb-ohci.c:1884: number of arguments doesn't match prototype usb-ohci.h:439: prototype declaration usb-ohci.c:1885: `urb' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:1908: parse error before '*' token usb-ohci.c: In function `rh_submit_urb': usb-ohci.c:1909: number of arguments doesn't match prototype usb-ohci.h:437: prototype declaration usb-ohci.c:1910: `urb' undeclared (first use in this function) usb-ohci.c: At top level: usb-ohci.c:2114: parse error before '*' token usb-ohci.c: In function `rh_unlink_urb': usb-ohci.c:2115: number of arguments doesn't match prototype usb-ohci.h:438: prototype declaration usb-ohci.c:2116: `urb' undeclared (first use in this function) make[2]: *** [usb-ohci.o] Error 1 ########################### regards, svetljo --- Svetoslav Dimitrov Slavtschev sv...@ly... sve...@we... _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus |
From: Chris <ch...@st...> - 2002-12-26 19:31:55
|
[Tue, 24 Dec 2002 09:48:26 +0100] Message from svetljo: > Hi Aivilis, > i wanted to ask you some questions, altough i couldn't find time for > testing. I think he probably heard you the first time. I've now had about 20 copies of this - why? Chris -- =[ http://www.starforge.co.uk/ ]===[ Explorer2260 Lead Designer and Coder. ] =[ Public key: ]===================[ http://www.starforge.co.uk/pubkey.txt ] =[ You will obey the corporate masters. ] -- If life is a stage, I want some better lighting. |
From: James S. <jsi...@in...> - 2002-12-28 18:34:47
|
> with this change i get warnings during compilation, and errors on final linking of vmlinuz, if i revert it everything seems ok,but i coudn't find time to boot the kernel > ########################## /home/root/src/2.4/linux-2.4.20bruby-21dec/arch/i386/lib/lib.a /home/root/src/2.4/linux-2.4.20bruby-21dec/lib/lib.a /home/root/src/2.4/linux-2.4.20bruby-21dec/arch/i386/lib/lib.a \ > --end-group \ > -o vmlinux > drivers/char/char.o: In function `vcs_make_devfs': > drivers/char/char.o(.text+0x12e57): undefined reference to `devfs_find_and_unregister' > drivers/char/char.o(.text+0x12e88): undefined reference to `devfs_find_and_unregister' This is a 2.5.X change. devfs_find_and_register isn't present in 2.4.X. I assume the other problems are most likely the same issue. |