HP-UX 11.11 and 11.23 build farm error: ld: Unsatisfied symbol
"if_nametoindex" in file lib/interface.o
McCall, Don (GSE-WTEC-Alpharetta)
don.mccall at hp.com
Tue May 6 14:48:23 GMT 2008
Hi Folks,
Problem with building Samba_3_2_test on HP-UX 11.11 and 11.23 (see the build farm). Problem is we are calling
If_nametointerface(), but are not setting the '-lipv6' in the LIBS in Makefile. I think when we do our test for IPV6 functionality, that that would be a good place to also add this library, if HP-UX...
>From the man page for if_nameinterface() on HP-UX:
if_nameindex(3N) if_nameindex(3N)
NAME
if_nameindex(), if_nametoindex(), if_indextoname(), if_freenameindex()
- functions that map between an interface name and index
SYNOPSIS
#include <net/if.h>
.
.
.
The function prototypes and struct if_nameindex are defined in
<net/if6.h>. Applications are not required to include this header
file explicitly; it is automatically included by <net/if.h>.
Applications using these functions should link with -lipv6.
Hope this helps,
Don
More information about the samba-technical
mailing list