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
--
Artur Frysiak
------------------------------------------------------------------------
KOELNER S.A. z siedzib? we Wroc?awiu przy ul. Kwidzy?skiej 6,
51-416 Wroc?aw, zarejestrowana w rejestrze przedsi?biorc?w
prowadzonym przez S?d Rejonowy dla Wroc?awia-Fabrycznej
Wydzia? VI Gospodarczy Krajowego Rejestru S?dowego pod
numerem KRS 0000033537, NIP 895-16-87-880,
kapita? zak?adowy: 32.560.000,00 z? w ca?o?ci wp?acony
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org