Ralf S. Engelschall wrote:
On Wed, Jul 30, 2008, Artur Frysiak wrote:
Victor G. Bolshakov wrote:
I try to build openldap and also without success:
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/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'
/openpkg/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
On Solaris 9:
/bin/sh ../../..//libtool --tag=disable-shared --mode=compile
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./..
-I/openpkg/include -I/openpkg/include/pth -c monitor.c
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/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:
/openpkg/lib/gcc/sparc-sun-solaris2.9/4.2.4/include/signal.h:218: error:
conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of
'pth_sigwait' was here
Ok, I applied a workaround. Please retry with the latest "openldap"
package as of this evening.
new version of openldap package under solaris 10 compiled.
freeradius with and without openldap not
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org