I have followed the below steps: ./configure make make install I'm not sure how /usr/cisco/packages/libpcap/libpcap-1.0.0/bin/pcap-config --cflags --libs is invoked with libvirt make. Thanks, Chandrashekhar -----Original Message----- From: Osier Yang [mailto:jyang@xxxxxxxxxx] Sent: Wednesday, February 08, 2012 3:27 PM To: Chandrashekhar Jamadarkhani (cjamadar) Cc: libvir-list@xxxxxxxxxx Subject: Re: libvirt build errors On 2012年02月08日 17:38, Chandrashekhar Jamadarkhani (cjamadar) wrote: > Hi, > > While doing make, I got below errors. Got same build errors for > libvirt-0.9.8 and libvirt-0.9.9. Appreciate your help on this. > > CC libvirt_driver_nwfilter_la-nwfilter_driver.lo > > CC libvirt_driver_nwfilter_la-nwfilter_gentech_driver.lo > > CC libvirt_driver_nwfilter_la-nwfilter_ebiptables_driver.lo > > CC libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo > > In file included from > /usr/cisco/packages/libpcap/libpcap-1.0.0/include/pcap.h:45, > > from nwfilter/nwfilter_learnipaddr.c:29: > > /usr/cisco/packages/libpcap/libpcap-1.0.0/include/pcap/pcap.h:339: > warning: redundant redeclaration of 'bpf_filter' [-Wredundant-decls] > > /usr/cisco/packages/libpcap/libpcap-1.0.0/include/pcap/bpf.h:919: > warning: previous declaration of 'bpf_filter' was here > > /usr/cisco/packages/libpcap/libpcap-1.0.0/include/pcap/pcap.h:340: > warning: redundant redeclaration of 'bpf_validate' [-Wredundant-decls] > > /usr/cisco/packages/libpcap/libpcap-1.0.0/include/pcap/bpf.h:918: > warning: previous declaration of 'bpf_validate' was here > > CCLD libvirt_driver_nwfilter.la > > libtool: link: require no space between `-L' and > `/usr/cisco/packages/libpcap/libpcap-1.0.0/lib' Looks like the libtool version you use doesn't allow an empty "-L". How did you configure? with "--with-libpcap=/usr/cisco/packages/libpcap/libpcap-1.0.0/"? And perhaps the empty "-L" is produced by: /usr/cisco/packages/libpcap/libpcap-1.0.0/bin/pcap-config --cflags --libs Osier -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list