[Unbound-users] solaris 10 sun studio 12 build failure
Nathan Ollerenshaw
chrome at stupendous.net
Thu May 22 12:00:41 UTC 2008
1) Using the following configure line:
CC="cc -xc99" ./configure --with-ssl=/usr/local/ssl --prefix=/usr/
local --with-ldns=/usr/local
builds cleanly until:
./libtool --tag=CC --mode=compile cc -xc99 -I. -I. -I/usr/local/ssl/
include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -xO4 -
xtarget=generic -D_REENTRANT -c util/netevent.c -o build/util/
netevent.o
cc -xc99 -I. -I. -I/usr/local/ssl/include -I/usr/local/include -
DHAVE_CONFIG_H -g -O2 -xO4 -xtarget=generic -D_REENTRANT -c util/
netevent.c -KPIC -DPIC -o build/util/.libs/netevent.o
"util/netevent.c", line 305: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"util/netevent.c", line 309: undefined struct/union member: msg_control
"util/netevent.c", line 309: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 311: undefined struct/union member:
msg_controllen
"util/netevent.c", line 313: undefined struct/union member: msg_flags
"util/netevent.c", line 316: warning: implicit function declaration:
CMSG_FIRSTHDR
"util/netevent.c", line 316: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 321: warning: implicit function declaration:
CMSG_DATA
"util/netevent.c", line 322: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 335: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 341: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 344: improper member use: msg_controllen
"util/netevent.c", line 400: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"util/netevent.c", line 404: undefined struct/union member: msg_control
"util/netevent.c", line 404: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 406: undefined struct/union member:
msg_controllen
"util/netevent.c", line 408: undefined struct/union member: msg_flags
"util/netevent.c", line 421: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 422: warning: implicit function declaration:
CMSG_NXTHDR
"util/netevent.c", line 422: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 427: warning: improper pointer/integer
combination: arg #2
"util/netevent.c", line 434: warning: improper pointer/integer
combination: arg #2
"util/netevent.c", line 728: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"util/netevent.c", line 730: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
cc: acomp failed for util/netevent.c
make: *** [build/util/netevent.o] Error 1
The type mismatches are easy to fix, but those undefined struct/union
member errors are weird; I assume this builds fine on linux but I
can't find any of these members in the unbound source tree.
2) During configure, it would try to build ldns, as ldns was not
installed. But ldns fails to configure; I've sent my fix to the ldns
users list.
Cheers,
Nathan.
--
Nathan Ollerenshaw :: UNIX Systems Engineer
http://www.stupendous.net/ :: chrome at stupendous.net
More information about the Unbound-users
mailing list