BIND 9.5.1-P3 compilation problems.

Mark Andrews marka at isc.org
Wed Aug 12 00:11:46 UTC 2009


In message <4A820186.20509 at gmail.com>, Emery writes:
> This is a multi-part message in MIME format.
> --------------000608010205070908020408
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> 
> Mark,
> 
> I am not really sure which error is the actual indicator of the 
> aforementioned problem.  I've attached the config.log. Your insight is 
> most welcome!

This looks like a broken <stdlib.h>.  The "checking for ANSI C
header files" also failed earlier in the build process.  This could
be because Sun's header files are broken or it could be gcc's "fixes"
arn't correct.

I suspect that there is a typedef for ctid_t not being made when
-D_XPG4_2 -D__EXTENSIONS__ are set on the command line.

I would make sure that your OS is fully patched then re-run
"fixincludes", if I remember the command name correctly, from the
gcc distribution.

Mark

configure:6112: gcc -o conftest -g -O2 -I/usr/local/ssl/include  -D_XPG4_2 -D__E
XTENSIONS__  conftest.c  -L/usr/local/ssl/lib -R/usr/local/ssl/lib -lcrypto >&5
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from /usr/local/ssl/include/openssl/err.h:66,
                 from conftest.c:27:
/usr/include/sys/siginfo.h:259: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: syntax error before '}' token
/usr/include/sys/siginfo.h:294: error: syntax error before '}' token
/usr/include/sys/siginfo.h:390: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was her
e
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here
/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was here
/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was here
/usr/include/sys/siginfo.h:426: error: syntax error before '}' token
/usr/include/sys/siginfo.h:428: error: syntax error before '}' token
/usr/include/sys/siginfo.h:432: error: syntax error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: syntax 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 /usr/local/ssl/include/openssl/err.h:66,
                 from conftest.c:27:
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/sys/signal.h:96: error: sy
ntax error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from /usr/local/ssl/include/openssl/err.h:66,
                 from conftest.c:27:
/usr/include/sys/wait.h:86: error: syntax error before "siginfo_t"

-- 
Mark Andrews, ISC
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