On Monday 19 December 2005 22:47, Antoine Martin wrote: > > > So I added this statement to the Makefile (patch attached) and now all > > > is well: > > > +ifeq ($(SUBARCH),i386) > > > +LDFLAGS_pcap.o := -r /usr/lib32/libpcap.a > > > +else > > ahh, so this is the right way to find the lib... (cool)
Suggested by Al Viro IIRC... > > $ 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? -- 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! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- 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
