Re: 1.2.11 release not resolving ip_vs.h:14:29: fatal error

"Lennart Sorensen" <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
On Tue, Jan 28, 2014 at 04:46:54PM -0600, Ryan O'Hara wrote:
> On Tue, Jan 28, 2014 at 10:35:08PM +0000, Brian Menges wrote:
> > I was attempting to refresh a Debian package using 1.2.10 and then now 1.2.11 so that we can get a gratuitous ARP fix committed in 1.2.10, however after downloading the 1.2.10 and 1.2.11 sources, the packages won't build despite me thinking the dependencies have been satisified.
> > 
> > My current build system is Debian Jessie (testing). The error is as follows:
> > -----
> > In file included from libipvs.h:13:0,
> >                  from libipvs.c:23:
> > ip_vs.h:14:29: fatal error: netlink/netlink.h: No such file or directory
> > #include <netlink/netlink.h>
> >                              ^
> > make[3]: Entering directory `/home/[REDACTED]/keepalived-1.2.11/keepalived/libipvs-2.6'
> > gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -DFEAT_SHA1 -D_FORTIFY_SOURCE=2 -Idebian//include -Idebian//include -DLIBIPVS_USE_NL -Wall -Wunused -c -o libipvs.o libipvs.c
> 
> Your include paths (-Idebian//include) look strange. Are those
> correct? Where does netlink.h exist on your system? Perhaps try:
> 
> find /usr/include/ -name "netlink.h"
> 
> I'd guess that you'll find it at /usr/include/netlink/netlink.h in
> which case your include path should be "-I/usr/include/".

Usually using the output of 'pkg-config --cflags libnl-route-3.0 libnl-genl-3'
in CFLAGS is helpful.

-- 
Len Sorensen

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.