Solaris 10 bind-9.3.0 compile fail

Mark Andrews Mark_Andrews at isc.org
Thu Feb 3 00:23:28 UTC 2005


> I am trying to compile bind-9.3.0 on our first sparc Solaris 10 box
> without any success. I have sorted out the first few problems I
> encountered but this one has me stumped.
> 
> Any suggestions would be appreciated.
> 
> Thank you,
> Terry

	Looking at the error I would say that "ctid_t" is typedef'd
	in the Solaris 10 header files that is not being typedef'd
	in the gcc header file that is masking the Solaris 10 header
	file.  Similarly "k_siginfo_t".

	Running fixincludes (part of gcc) may help.
 
	Mark

> making all in /usr/local/bind-9.3.0/make
> making all in /usr/local/bind-9.3.0/lib
> making all in /usr/local/bind-9.3.0/lib/isc
> making all in /usr/local/bind-9.3.0/lib/isc/include
> making all in /usr/local/bind-9.3.0/lib/isc/include/isc
> making all in /usr/local/bind-9.3.0/lib/isc/unix
> making all in /usr/local/bind-9.3.0/lib/isc/unix/include
> making all in /usr/local/bind-9.3.0/lib/isc/unix/include/isc
> gcc  -g -O2  -I/usr/local/bind-9.3.0 -I./include
> -I./../pthreads/include  -I../include  -I./../include  -I./..
> -D_REENTRANT  -D_XPG4_2 -D__EXTENSIONS__   -W -Wall -Wmissing-prototypes
> -Wcast-qual -Wwrite-strings -Wformat  -c app.c
> In file included from /usr/include/sys/wait.h:24,
>                  from /usr/include/stdlib.h:22,
>                  from app.c:26:
> /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:292: error: parse error before '}' token
> /usr/include/sys/siginfo.h:294: error: parse error before '}' token
> /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
> /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
> /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
> /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
> /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
> /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
> /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
> /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
> /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
> /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
> /usr/include/sys/siginfo.h:426: error: parse error before '}' token
> /usr/include/sys/siginfo.h:428: error: parse error before '}' token
> /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
> /usr/include/sys/siginfo.h:437: error: parse error before '}' token
> In file included from /usr/include/sys/procset.h:24,
>                  from /usr/include/sys/wait.h:25,
>                  from /usr/include/stdlib.h:22,
>                  from app.c:26:
> /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
> In file included from /usr/include/stdlib.h:22,
>                  from app.c:26:
> /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
> In file included from app.c:29:
> /usr/include/signal.h:111: error: parse error before "siginfo_t"
> /usr/include/signal.h:113: error: parse error before "siginfo_t"
> *** Error code 1
> make: Fatal error: Command failed for target `app.o'
> Current working directory /usr/local/bind-9.3.0/lib/isc/unix
> *** Error code 1
> The following command caused the error:
> for i in include unix nls pthreads nulldir; do \
>         if [ "$i" !=3D "nulldir" -a -d $i ]; then \
>                 echo "making all in `pwd`/$i"; \
>                 (cd $i; make  DESTDIR=3D"" all) || exit 1; \
>         fi; \
> done
> make: Fatal error: Command failed for target `subdirs'
> Current working directory /usr/local/bind-9.3.0/lib/isc
> *** Error code 1
> The following command caused the error:
> for i in isc isccc dns isccfg bind9 lwres tests nulldir; do \
>         if [ "$i" !=3D "nulldir" -a -d $i ]; then \
>                 echo "making all in `pwd`/$i"; \
>                 (cd $i; make  DESTDIR=3D"" all) || exit 1; \
>         fi; \
> done
> make: Fatal error: Command failed for target `subdirs'
> Current working directory /usr/local/bind-9.3.0/lib
> *** Error code 1
> The following command caused the error:
> for i in make lib bin doc nulldir; do \
>         if [ "$i" !=3D "nulldir" -a -d $i ]; then \
>                 echo "making all in `pwd`/$i"; \
>                 (cd $i; make  DESTDIR=3D"" all) || exit 1; \
>         fi; \
> done
> make: Fatal error: Command failed for target `subdirs'
> 
> --=20
> Terence Grey,  IT Systems & Services,  University of Auckland,=20
> New Zealand.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>  =20
>       --- This message was written using recycled electrons ---
> 
> 
> -- Attached file included as plaintext by Ecartis --
> -- File: signature.asc
> -- Desc: This is a digitally signed message part
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQBCAWWUIKwxqROlYhoRAtwcAJ9nhEqt77Yz4rbVY4QgHijXBY/0+wCcDfVE
> cmdoSczzqmFO7S9ttTgb5XM=
> =6/CQ
> -----END PGP SIGNATURE-----
> 
> 
> -- Binary/unsupported file stripped by Ecartis --
> -- Type: application/x-pkcs7-signature
> -- File: smime.p7s
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list