From: Blaisorblade <bla...@ya...> - 2005-12-19 18:39:53
|
On Monday 19 December 2005 17:16, Blaisorblade wrote: > On Sunday 18 December 2005 20:03, Antoine Martin wrote: > > Paolo, > > > > pcap builds and runs fine on amd64 but there is a problem when building > > with SUBARCH=i386: it uses the wrong version of libpcap.a: > > ld -r -dp -o arch/um/drivers/pcap.o arch/um/drivers/pcap_kern.o > > arch/um/drivers/pcap_user.o -m elf_i386 > > -r /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libpcap.a > > > > Whereas the one it needs to link against is here: > > /emul/linux/x86/usr/lib/libpcap.a > > This is IMHO a Gentoo bug - it is not setup for compilation of 32-bit > binaries using anything else than glibc. I hit this problem with > libncurses, when doing make menuconfig ARCH=um (now this was solved as > helper programs are built as native again). > However, I built uml with libpcap by default for some time - possibly it > was before me switching to 64-bit linux. No, the thing works but only because I indeed symlinked 32-bit libraries inside /usr/lib32. -- 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 |