LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

ipvsadm git head not compiling on RHEL6

To: Daniel Borkmann <dborkman@xxxxxxxxxx>
Subject: ipvsadm git head not compiling on RHEL6
Cc: Simon Horman <horms@xxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, Wensong Zhang <wensong@xxxxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>
From: Jesper Dangaard Brouer <jbrouer@xxxxxxxxxx>
Date: Thu, 8 Aug 2013 10:19:24 +0200
I noticed that I get an compile error, when compiling ipvsadm
git HEAD 1ea1f41f4 on RHEL6.4.

Compile Error:

gcc -Wall -Wunused -Wstrict-prototypes -g -o ipvsadm ipvsadm.o config_stream.o 
dynamic_array.o libipvs/libipvs.a -lpopt -lnl
libipvs/libipvs.a(libipvs.o): In function `ipvs_nl_send_message':
/home/jbrouer/git/ipvsadm/libipvs/libipvs.c:76: undefined reference to 
`nl_socket_alloc'
/home/jbrouer/git/ipvsadm/libipvs/libipvs.c:91: undefined reference to 
`nl_socket_free'
/home/jbrouer/git/ipvsadm/libipvs/libipvs.c:107: undefined reference to 
`nl_socket_free'
/home/jbrouer/git/ipvsadm/libipvs/libipvs.c:112: undefined reference to 
`nl_socket_free'
collect2: ld returned 1 exit status
make: *** [ipvsadm] Error 1

I'll investigate, but hints would be appreciated ;-)

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Sr. Network Kernel Developer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>