Gerry Reno wrote:
I'm looking at VDE now and I have it compiled and running on an old fc6
box but I have not been able to get it compiled for my f9 box. It
complains about libpcap even though I have it and then it looks as
though it can't find limits.h.
First it complains about libpcap being too old yet it is the latest
version available:
Configure results:
vde_cryptcab : enabled
tuntap support : enabled
pcap support : disabled
configure: WARNING: VDE packet dump plugin has been disabled because
libpcap is
not installed on your system, or because it's too old.
Please install it if you want pdump to be compiled and installed.
experimental features : disabled
]$ su - -c "yum list libpcap"
Password:
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* updates: ftp.ndlug.nd.edu
* adobe-linux-i386: linuxdownload.adobe.com
* fedora: ftp.ndlug.nd.edu
updates | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
adobe-linux-i386 | 951 B 00:00
fedora | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
Installed Packages
libpcap.i386 14:0.9.8-2.fc9 installed
Next there are some variable issues:
tcp_subr.c: In function 'tcp_fconnect':
tcp_subr.c:412: warning: unused variable 'opt'
depbase=`echo tcp2unix.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT tcp2unix.o -MD -MP -MF $depbase.Tpo -c -o
tcp2unix.o tcp2unix.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo slirpvde.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT slirpvde.o -MD -MP -MF $depbase.Tpo -c -o
slirpvde.o slirpvde.c &&\
mv -f $depbase.Tpo $depbase.Po
bootp.c: In function 'bootp_reply':
bootp.c:267: warning: implicit declaration of function
'client_eth_register'
slirpvde.c:54: error: '_POSIX_PATH_MAX' undeclared here (not in a function)
slirpvde.c: In function 'save_pidfile':
slirpvde.c:79: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:79: error: (Each undeclared identifier is reported only once
slirpvde.c:79: error: for each function it appears in.)
slirpvde.c: In function 'main':
slirpvde.c:417: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:372: warning: unused variable 'i'
make[2]: *** [slirpvde.o] Error 1
Regards,
Gerry
You should have libpcap-devel installed :)
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list