Birger Krägelin <[EMAIL PROTECTED]> writes:

> Hello together,
>
> we have problems compiling openldap under Solaris 10 8/07 Sparc.
>
> /bin/sh ../../..//libtool --tag=disable-shared --mode=compile 
> /opt/local/bin/cc -O2 -pipe -I/opt/local/include/pth -D_AVL_H 
> -I../../../include        -I../../../include -I.. -I./..  
> -I/opt/local/include -I/opt/local/include/pth    -c monitor.c
>  /opt/local/bin/cc -O2 -pipe -I/opt/local/include/pth -D_AVL_H 
> -I../../../include -I../../../include -I.. -I./.. -I/opt/local/include 
> -I/opt/local/include/pth -c monitor.c -o monitor.o
> In file included from ../../../include/ac/signal.h:20,
>                  from ../slap.h:38,
>                  from ../back-monitor/back-monitor.h:28,
>                  from back-ldap.h:27,
>                  from monitor.c:33:
> /usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
> /opt/local/include/pth/pth.h:536: error: previous declaration of 
> 'pth_sigwait' was here
> make[3]: *** [monitor.lo] Error 1
> make[2]: *** [.backend] Error 1
> make[1]: *** [all-common] Error 1
> make: *** [all-common] Error 1
> error: Bad exit status from /opt/local/RPM/TMP/rpm-tmp.10460 (%build)

You are building with pth instead of libpthread, OpenLDAP calls epoll
which is not understood by pth.

-Dieter

-- 
Dieter Klünter | Systemberatung
Mobil: +49.176.51126864
Fax: +49.40.64891521
Key ID:8EF7B6C6
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to