[ELDK] pcap library and tcpdump in ELDK
stefano babic
stefano.babic at babic.homelinux.org
Mon Oct 20 21:53:18 CEST 2008
Dave Rensberger wrote:
> Even after getting the path right, I still have problems rebuilding the
> pcap SRPM. It seems that the configure script still tries to do the
> "build a test program and run it" test, which should only work if you're
> not cross-compiling (see output below).
Please take care that you are not using a source rpm from ELDK
distribution. In most cases the .spec in ELDK is modified, for example
to remove all conditions when a test program is executed, not possible
when cross-compiling.
>
> --Dave
>
> + ./configure --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
^^^
You are compiling for i386, not for powerpc. Try with
--host=powerpc-linux --build=i386-pc-linux-gnu.
Indeed, for libpcap/tcpdump, you will get other errors. You have to run
configure (for both libpcap/tcpdump) with:
ac_cv_linux_vers=2 ./configure --host=powerpc-linux
--build=i386-pc-linux-gnu --with-pcap=linux
Best regards,
Stefano Babic
--
stefano <stefano.babic at babic.homelinux.org>
GPG Key: 0x55814DDE
Fingerprint 4E85 2A66 4CBA 497A 2A7B D3BF 5973 F216 5581 4DDE
More information about the eldk
mailing list