Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
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

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Antoine Martin
$ 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

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
On Tuesday 20 December 2005 17:25, Antoine Martin wrote: $ 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

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Rob Landley
On Monday 19 December 2005 12:33, Antoine Martin wrote: I think I'll rebuild it with compartment and build su without pam to trim it down even more. (also lib/security so I can get into the chroot) That's for su, right? There are some tools (including compartment) to combine chroot +

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Antoine Martin
On Tue, 2005-12-20 at 14:01 -0600, Rob Landley wrote: On Monday 19 December 2005 12:33, Antoine Martin wrote: Yep, it's a shame compartment does not ship with all distros. chroot without su is pointless (since you can use 'chroot-again' to escape) changing uid/guid should really be included

Re: [uml-devel] Re: pcap cross-linking [PATCH]

2005-12-20 Thread Blaisorblade
On Tuesday 20 December 2005 21:01, Rob Landley wrote: On Monday 19 December 2005 12:33, Antoine Martin wrote: I think I'll rebuild it with compartment and build su without pam to trim it down even more. (also lib/security so I can get into the chroot) That's for su, right? There are