Solaris 2.5 compile error

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Fri Jan 7 23:33:33 UTC 2000


	Have you run "fixincludes" from the gcc distribution on this
	box?

	Mark

> 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
> 
> 
> 
> 
--
Mark Andrews, Nominum Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list