[Date Prev][Date Next] [Chronological] [Thread] [Top]

back-perl, openldap 2.1.22, perl 5.8.0 and Solaris 8/Sparc



Hi there,

I am trying to compile an OpenLDAP 2.1.22 with back-perl on Solaris 8.

Everything gets ok in configure part and in make depends but when compiling back-perl I have :

cd back-perl; make all
rm -f version.c
../../../build/mkversion -v "2.1.22" back_perl > version.c
/bin/sh /export/home/kiwi/src/openldap-2.1.22/libtool --mode=compile gcc -g -O2 -I.
./../../include -I../../../include -I.. -I./.. -D_REENTRANT -fno-strict-aliasing -I/u
sr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5
.8.0/sun4-solaris-thread-multi/CORE -DFD_SETSIZE=4096 -c init.c
mkdir .libs
gcc -g -O2 -I../../../include -I../../../include -I.. -I./.. -D_REENTRANT -fno-strict
-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/loca
l/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DFD_SETSIZE=4096 -c init.c -fPIC -
DPIC -o .libs/init.lo
init.c: In function `perl_back_initialize':
init.c:74: warning: passing arg 2 of `perl_parse' from incompatible pointer type
init.c: In function `perl_back_db_open':
init.c:147: `my_perl' undeclared (first use in this function)
init.c:147: (Each undeclared identifier is reported only once
init.c:147: for each function it appears in.)
init.c: In function `perl_back_xs_init':
init.c:182: `my_perl' undeclared (first use in this function)
init.c:182: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `init.lo'
Current working directory /export/home/kiwi/src/openldap-2.1.22/servers/slapd/back-pe
rl
*** Error code 1
make: Fatal error: Command failed for target `.backend'
Current working directory /export/home/kiwi/src/openldap-2.1.22/servers/slapd
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /export/home/kiwi/src/openldap-2.1.22/servers
*** Error code 1
make: Fatal error: Command failed for target `all-common'



According to openldap-software archives this has been fixed in 2.1.16.... But I am afraid that it is not fixed yet.


What do you think I can do ?

Thanks

/Xavier