[Unbound-users] Build error on Solaris

Ihsan Dogan ihsan at dogan.ch
Sun Mar 21 21:51:54 UTC 2010


Hello,

I'm experiencing this error, when I try to build unbound 1.4.3 on
Solaris 9 (same problem on Solaris 10). I'm using Sun Studio 12 to compile:

./libtool --quiet --tag=CC --mode=compile
/opt/studio/SOS12/SUNWspro/bin/cc -I. -I/opt/csw/include
-I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -xO3 -m32
-xarch=v8 -g -O2 -xO4 -xtarget=generic -D_REENTRANT  -o
build/util/netevent.lo -c util/netevent.c
"util/netevent.c", line 164: warning: implicit function declaration:
event_base_new
"util/netevent.c", line 164: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 181: warning: implicit function declaration:
event_base_get_method
"util/netevent.c", line 369: warning: assignment type mismatch:
        pointer to char "=" pointer to unsigned char
"util/netevent.c", line 373: undefined struct/union member: msg_control
"util/netevent.c", line 373: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 375: undefined struct/union member: msg_controllen
"util/netevent.c", line 377: undefined struct/union member: msg_flags
"util/netevent.c", line 380: warning: implicit function declaration:
CMSG_FIRSTHDR
"util/netevent.c", line 380: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 385: warning: implicit function declaration:
CMSG_DATA
"util/netevent.c", line 386: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 399: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 405: warning: improper pointer/integer
combination: arg #1
"util/netevent.c", line 408: improper member use: msg_controllen
"util/netevent.c", line 464: warning: assignment type mismatch:
        pointer to char "=" pointer to unsigned char
"util/netevent.c", line 468: undefined struct/union member: msg_control
"util/netevent.c", line 468: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 470: undefined struct/union member: msg_controllen
"util/netevent.c", line 472: undefined struct/union member: msg_flags
"util/netevent.c", line 485: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 486: warning: implicit function declaration:
CMSG_NXTHDR
"util/netevent.c", line 486: warning: improper pointer/integer
combination: op "="
"util/netevent.c", line 491: warning: improper pointer/integer
combination: arg #2
"util/netevent.c", line 498: warning: improper pointer/integer
combination: arg #2
"util/netevent.c", line 884: warning: assignment type mismatch:
        pointer to char "=" pointer to unsigned char
"util/netevent.c", line 886: warning: assignment type mismatch:
        pointer to char "=" pointer to unsigned char
cc: acomp failed for util/netevent.c

Any thoughts what's going wrong here?




Ihsan

-- 
ihsan at dogan.ch		http://blog.dogan.ch/



More information about the Unbound-users mailing list