building

Alberto Hernandez Prado alberto at servicios2.nextgeninter.net.mx
Tue Jun 15 22:56:21 UTC 1999


Hi I have a problem compiling bind-4.9.7 in a solaris 2.6 computer. I
uncomment the solaris2.x/sunos5.x part in the Makefile. I'm using
GNUgcc2.8.1.

I get this message:
---------------------------------
gcc -DSVR4 -D_SYS_STREAM_H -DMAXHOSTNAMELEN=256 -g -I../include -I../compat/include  -DUSE_OPTIONS_H -c base64.c
In file included from ../include/arpa/inet.h:68,
                 from base64.c:47:
../compat/include/sys/bitypes.h:78: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../compat/include/sys/bitypes.h:80: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../compat/include/sys/bitypes.h:82: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
In file included from base64.c:58:
../conf/portability.h:643: conflicting types for `gethostname'
/usr/include/unistd.h:254: previous declaration of `gethostname'
*** Error code 1
make: Fatal error: Command failed for target `base64.o'
Current working directory /src/alberto/dns/res
*** Error code 1
make: Fatal error: Command failed for target `all'

---------------------------------

Can anybody help me with this?  Thanx

Alberto




More information about the bind-users mailing list