> > > $ gcc -print-file-name=libpcap.a > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libpcap.a > > > $ gcc -m32 -print-file-name=libpcap.a > > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32/libpcap.a > > > > Works for me (tm) too. > > > Can this be merged? (I can't see any reason not to now) > > Wait a moment - CFLAGS is supposed to contain -m32: > > arch/um/Makefile-i386: > > CFLAGS += $(call cc-option,-m32) > > so there is something strange going on - but have you tested without this > patch _after_ symlinking libraries into /usr/lib32? Yes, that works and in fact the patch solved nothing: I forgot to remove the library from /usr/lib32 and that's what it used - DOH. # gcc -m32 -print-file-name=libpcap.a /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libpcap.a I thought the '-m32' would force it to try to find the 32 bit version?
So in the end the only way to get it to build is to copy the library to /usr/lib32... no patch needed. Antoine ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
