Compiling Bind 8.2.5 on HPUX 11i

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Jan 12 01:59:36 UTC 2002


	getipnodebyname() needs to know if there are active IPv4 and
	IPv6 interfaces.  Sun and HP both choose to use the same macro
	names but with different structures.  On top of that the new
	ioctl calls don't seem to work.

	Mark
> 
> I have HPUX 11i 64bit running, I have installed the following:
>   binutils                      2.11.2         binutils       
>   bison_Source                  1.28.2001-06-12 Bison 
>   flex_Source                   2.5.4a.2001-06-12 Flex 
>   gcc64                         3.0.2.2001-11-14 GCC 
> I am trying to compile Bind 8.2.5 and am getting this error:
>         if test ! -d threaded ; then mkdir threaded ; else true ; fi
>         (gcc -fPIC -I../../port/hpux/include -I../../include -O 
> -D_REENTRANT -c gethostent.c \
>          -o threaded/gethostent.o ; \
>          : ld -x -r threaded/gethostent.o \
>          -o threaded/gethostent.out && \
>          : mv threaded/gethostent.out threaded/gethostent.o)
> gethostent.c: In function `scan_interfaces':
> gethostent.c:473: storage size of `lifc' isn't known
> gethostent.c:577: structure has no member named `lifr_addr'
> gethostent.c:582: structure has no member named `lifr_addr'
> gethostent.c:598: structure has no member named `lifr_addr'
>         gcc -fPIC -I../../port/hpux/include -I../../include -O  -c
> gethostent.c
> gethostent.c: In function `scan_interfaces':
> gethostent.c:473: storage size of `lifc' isn't known
> gethostent.c:577: structure has no member named `lifr_addr'
> gethostent.c:582: structure has no member named `lifr_addr'
> gethostent.c:598: structure has no member named `lifr_addr'
> *** Error exit code 1
> 
> Stop.
> Can anyone help with this error, thank you.  Duane
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list