Hi All,

I would like to compile libpcap.so as a 32-bit library without using a
chroot, I thought that using 'CFLAGS="-O2 -m32" emerge -v libpcap' would
do it, but if fails at:
checking if --disable-protochain option is specified... enabled
configure: error: pcap type not determined when cross-compiling; use
--with-pcap=...
Any idea how to get it to compile using emerge?
(compiling from source works fine using: 
./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32
--disable-ipv6)

Regards
Antoine

-- 
[email protected] mailing list

Reply via email to