[Unbound-users] Build error on Solaris

W.C.A. Wijngaards wouter at NLnetLabs.nl
Mon Mar 22 08:24:42 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ihsan,

You specified that libevent could be found in /opt/csw, but in the
include there is no event.h?

Can you look at the configure output where it detects libevent (you
passed some --with-libevent option?) ?
In config.log there are more details.

Can you email me (offlist due to size): your configure commandline, the
config.log file and configure output (if you have that) ?  It looks a
little like Mike Emigh's errors, it turned out that he was passing
options to configure (libraries in the CFLAGS instead of LIBS) that
broke the configure process.

Best regards,
   Wouter

On 03/21/2010 10:51 PM, Ihsan Dogan wrote:
> 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
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkunKUoACgkQkDLqNwOhpPixHgCggmc33itMs9n+jj8uU/f4EtN0
cnUAoKeXVJr+agI8HVN2U+3mzrlgNP8W
=4v/P
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list