Solaris 7, Bind 8.2.1, Sun CC

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Aug 25 22:59:39 UTC 1999


	Fix your path so that cc get the cc from Sun CC 4.2 and not
	/usr/ucb/cc.  Add /opt/SUNWspro/bin to the start of your path.

	Mark

> I am running Sol 7 on Sparc, Sun CC 4.2, Bind
> 8.2.1 (the latest).  I do the porting by
> /src/port/solaris/bin/make_os_version and copy the
>  result up one.
> 
> Then, I try to make depend and get the following:
> # make depend
> Making /usr/local/temp/bind/src/.systype
> Making .settings
> /usr/local/temp/bind/src/include
> /usr/local/temp/bind/src/include/arpa
> /usr/local/temp/bind/src/include/isc
> /usr/local/temp/bind/src/port
> /usr/local/temp/bind/src/port/solaris
> /usr/local/temp/bind/src/port/solaris/include
> /usr/local/temp/bind/src/port/solaris/include/sys
> choose_bitypes
> make_os_version
> mkdep -I../../include -I../../port/solaris/include
>  noop.c
> /usr/local/temp/bind/src/lib
> /usr/local/temp/bind/src/lib/resolv
> mkdep -I../../include -I../../port/solaris/include
>  herror.c res_debug.c res_data.c res_comp.c
> res_init.c  res_mkquery.c res_query.c res_send.c
> res_sendsigned.c  res_mkupdate.c res_update.c
> res_findprimary.c res_sendupdate.c
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../include/resolv.h", line 60:  (in
> preprocessor if): syntax error
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../include/resolv.h", line 60:  (in
> preprocessor if): syntax error
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../include/resolv.h", line 60:  (in
> preprocessor if): syntax error
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../include/resolv.h", line 60:  (in
> preprocessor if): syntax error
> "../../port/solaris/include/port_after.h", line
> 31:  (in preprocessor if): syntax error
> "/usr/ucbinclude/unistd.h", line 97: macro
> _PC_LAST redefines previous macro at
> "/usr/include/sys/unistd.h", line 232
> "/usr/ucbinclude/unistd.h", line 117: macro
> _POSIX_VERSION redefines previous macro at
> "/usr/include/sys/unistd.h", line 235
> "../../include/resolv.h", line 60:  (in
> preprocessor if): syntax error
> 
> 
> Suggestions?
> 
> andy at warbucks.com
> 
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list