Solaris 2.5 compile error

Rob Genovesi rob at coastside.net
Fri Jan 7 23:11:20 UTC 2000


Having some trouble here, any help would be appreciated.  This occures when
running "make all" for Bind 8.9.2-P5 on Solaris 2.5 (SPARC)

----------------------------------------------------------------------------
-----------------------------------------
make[2]: Entering directory `/opt/local/src/bind-8.2.2-P5/lib/irs'
if test ! -d threaded ; then mkdir threaded ; fi
(gcc  -g -O2 -I../../port/solaris/include -I../../include  -D_REENTRANT -c
nis.c \
 -o threaded/nis.o ; \
 : ld -x -r threaded/nis.o && \
 : mv a.out threaded/nis.o)
In file included from /usr/include/rpcsvc/yp_prot.h:37,
                 from nis.c:30:
/usr/include/ndbm.h:66: syntax error before `void'
In file included from nis.c:30:
/usr/include/rpcsvc/yp_prot.h:96: syntax error before `typedef'
gcc  -g -O2 -I../../port/solaris/include -I../../include  -c nis.c
In file included from /usr/include/rpcsvc/yp_prot.h:37,
                 from nis.c:30:
/usr/include/ndbm.h:66: syntax error before `void'
In file included from nis.c:30:
/usr/include/rpcsvc/yp_prot.h:96: syntax error before `typedef'
make[2]: *** [nis.o] Error 1
----------------------------------------------------------------------------
-----------------------------------------

Seems to be problems with my system include files (/usr/include/...) but I'm
not sure what the problem might be or what to do about.  Upgrading to a newer
Solaris OS isn't really an option at the moment.

Thanks,

	Rob Genovesi
	rob at coastside.net





More information about the bind-users mailing list