Solaris 2.5 compile error

G. Roderick Singleton gsingleton at home.com
Fri Jan 7 23:52:53 UTC 2000


Rob Genovesi wrote:
> 
> 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


I would guess that your gcc installation is damaged. Try replacing
it with the latest version you can from www.sunfreeware.com.

-- 
________________________________________________________________________________
G. Roderick Singleton, <gsingleton at home.com> PATH tech,
71 Underhill Drive, Unit 159, Toronto, ON  M3A 2J8
Voice : 416-452-4583 Fax: 416-452-0036 Toll Free: 1-800-354-PATH
________________________________________________________________________________

*** Notice To Bulk Emailers: Attention!  Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators.  Emailing denotes acceptance of said terms!



More information about the bind-users mailing list