[SunHELP] BIND 9.2.2 compilation problem

Saul Santos ssantos at reduno.com.mx
Wed Apr 23 11:40:07 CDT 2003


Does anyone has compiled Bind 9.2.2 with the next parameters

./configure --enable-threads --prefix=/usr/local --localstatedir=/var 
--disable-linux-caps

after that we got the Makefile and sung c++ we try to have the binaries but 
we got the output below, does any one has a hint to compile bind 9.2.2 with 
threads???

Saul Santos

 >#dns>make
 >making all in /export/home/danism/bind-9.2.2/make
 >making all in /export/home/danism/bind-9.2.2/lib
 >making all in /export/home/danism/bind-9.2.2/lib/isc
 >making all in /export/home/danism/bind-9.2.2/lib/isc/include
 >making all in /export/home/danism/bind-9.2.2/lib/isc/include/isc
 >making all in /export/home/danism/bind-9.2.2/lib/isc/unix
 >making all in /export/home/danism/bind-9.2.2/lib/isc/unix/include
 >making all in /export/home/danism/bind-9.2.2/lib/isc/unix/include/isc
 >cc -mt -g -I/export/home/danism/bind-9.2.2 -I./include 
-I./../pthreads/incluc
 >ucbcc: Warning: Option
-YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNe
 >"/usr/include/pthread.h", line 280: syntax error before or at:
 >pthread_self "/usr/include/pthread.h", line 280: warning: old-style
 >declaration or incorrectf
 >"./../pthreads/include/isc/mutex.h", line 60: syntax error before or
 >at: isc_mut "./../pthreads/include/isc/mutex.h", line 60: warning: old-style
 >declaration ort "./../pthreads/include/isc/condition.h", line 28: syntax 
error before
 >or at: ist "./../pthreads/include/isc/condition.h", line 28: warning: 
old-style
declaratiot
 >"./../pthreads/include/isc/condition.h", line 59: syntax error before
 >or at: * "./../pthreads/include/isc/condition.h", line 59: warning:
 >undefined or
missingt
 >"app.c", line 54: syntax error before or at: lock
 >"app.c", line 54: warning: old-style declaration or incorrect type for:
 >lock "app.c", line 68: syntax error before or at: blockedthread
 >"app.c", line 68: warning: old-style declaration or incorrect type for:
blockedd
 >"app.c", line 264: invalid source character: '#'
 >"app.c", line 264: warning: improper pointer/integer combination: arg
 >#3 "app.c", line 288: invalid source character: '#' "app.c", line 288:
 >warning: improper pointer/integer combination: arg #3 "app.c", line
 >424: invalid source character: '#' "app.c", line 424: warning: improper
 >pointer/integer combination: arg #3 "app.c", line 444: invalid source
 >character: '#' "app.c", line 444: warning: improper pointer/integer
 >combination: arg #3 "app.c", line 544: invalid source character: '#'
 >"app.c", line 544: warning: improper pointer/integer combination: arg #3
 >"app.c", line 546: invalid source character: '#'
 >"app.c", line 546: warning: improper pointer/integer combination: arg #4
 >"app.c", line 553: invalid source character: '#'
 >"app.c", line 553: warning: improper pointer/integer combination: arg #3
 >"app.c", line 585: invalid source character: '#'
 >"app.c", line 585: warning: improper pointer/integer combination: arg #3
 >"app.c", line 587: invalid source character: '#'
 >"app.c", line 587: warning: improper pointer/integer combination: arg #4
 >"app.c", line 595: invalid source character: '#'
 >"app.c", line 595: warning: improper pointer/integer combination: arg #3
 >"app.c", line 624: invalid source character: '#'
 >"app.c", line 624: warning: improper pointer/integer combination: arg #3
 >"app.c", line 632: invalid source character: '#'
 >"app.c", line 632: warning: improper pointer/integer combination: arg #4
 >"app.c", line 633: invalid source character: '#'
 >"app.c", line 633: warning: improper pointer/integer combination: arg #4
 >"app.c", line 640: invalid source character: '#'
 >"app.c", line 640: warning: improper pointer/integer combination: arg #3
 >"app.c", line 641: invalid source character: '#'
 >"app.c", line 641: warning: improper pointer/integer combination: arg #3
 >"app.c", line 651: invalid source character: '#'
 >"app.c", line 651: warning: improper pointer/integer combination: arg #4
 >"app.c", line 652: invalid source character: '#'
 >"app.c", line 652: warning: improper pointer/integer combination: arg #4
 >"app.c", line 657: invalid source character: '#'
 >"app.c", line 657: warning: improper pointer/integer combination: arg #4
 >"app.c", line 661: invalid source character: '#'
 >"app.c", line 661: warning: improper pointer/integer combination: arg #3
 >"app.c", line 662: invalid source character: '#'
 >"app.c", line 662: warning: improper pointer/integer combination: arg #3
 >*** Error code 2
 >make: Fatal error: Command failed for target `app.o'
 >Current working directory /export/home/danism/bind-9.2.2/lib/isc/unix
 >*** Error code 1
 >make: Fatal error: Command failed for target `subdirs'
 >Current working directory /export/home/danism/bind-9.2.2/lib/isc
 >*** Error code 1
 >make: Fatal error: Command failed for target `subdirs'
 >Current working directory /export/home/danism/bind-9.2.2/lib
 >*** Error code 1
 >make: Fatal error: Command failed for target `subdirs'


More information about the SunHELP mailing list