On Thursday 29 September 2005 15:08, cheikhrouhou wrote: > Hello, > i compiled a 2.4.24 kernel with gcc.3.3.3 (which i was installed because > the gcc-4.0 which comes with FC4 don't compile well uml kernel) and he > generates this message :
> gcc -Wl,-T,arch/um/link.ld -static -Wl,--wrap,malloc -Wl,--wrap,free > -Wl,--wrap,calloc \ -o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil > vmlinux.o(.text+0x10ddbe): In function `probe_netbus_device': > /home/omar/uml/noyaux/linux-2.4.24-wifi/arch/um/drivers/netbus_user.c:293: > warning: Using 'gethostbyname' in static ally linked applications requires > at runtime the shared libraries from the glibc version used for linking > vmlinux.o(.text+0x10ddd8):/home/omar/uml/noyaux/linux-2.4.24-wifi/arch/um/d >rivers/netbus_user.c:294: warning: Using 'getprotobyname' in statically > linked applications requires at runtime the shared libraries from the glibc > version used for linking It's just saying that even if it's linked statically, some libraries are still loaded dynamically and must match the ones used when compiling. > /usr/bin/ld: BFD 2.15.94.0.2.2 20041220 assertion > fail ../../bfd/elf.c:3699 > and when i try lo lance this kernel he shows : > segmantation fault Try using the 2.4.28-bs2 patch on top of 2.4.31 and report the result. 2.4.24 is very old. Also you aren't stating which UML patch have you applied. (2.4.24-2,3um are definitely buggy releases). > Any idea about the solution -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
