On Wed, Sep 21, 2005 at 01:19:15AM +0200, Massimiliano Pala wrote:
> >If I try to use gcc-2 instead, I am getting
> >$ export PATH=/opt/sfw/gcc-2/bin:$PATH
> [...]
> >configuration.c:142: for each function it appears in.)
> >make[2]: *** [configuration.o] Error 1
> 
> I attach a patched version of the configuration.c file, try to use it
> and, please, let me know if this fixes the problem :-D

configuration.c seems to be fixed, however further down I am getting the
same issue with the linker

$ export CPPFLAGS="-I/opt/sfw/include" 
$ export PATH=/opt/sfw/gcc-2/bin:$PATH
$ ./configure --with-openldap-prefix=/opt/sfw --with-ocspd-user=ocspd
--with-ocspd-group=ocspd
$ make

[...]
gcc -DPACKAGE_VERSION=\"1.0.5\\x0\" -D_USE_SEMAPHORES=1
-DOCSPD_ARCH_SOLARIS=1 -I. -I. -I. -I../include -I/usr/sfw/include
-I/opt/sfw/include  -g -O2 -c hash-db.c
/bin/bash ../libtool --mode=link --tag=CC gcc  -g -O2   -o ocspd
ocspd.o ocsp_response.o server.o configuration.o support.o hash-db.o
-I/usr/sfw/include   -R/usr/sfw/lib -L/usr/sfw/lib -lssl -lcrypto
-lsocket -lnsl -ldl   -I/opt/sfw/include -L/opt/sfw/lib -L/opt/sfw
-llber -lldap -ll -ldl -lnsl -lsocket -lposix4 -lresolv -lsocket -lnsl 
mkdir .libs
libtool: link: cannot find the library
`/export/builds/s10-release/s10_ccd_03/usr/src/cmd/openldap/openldap-2.2.17/libraries/liblber/liblber.la'
make[2]: *** [ocspd] Error 1


[ Because of Hurricane Rita, I will not be able to perform further tests
before early next week, soonest ]

Thanks

-- 
Guillaume Tamboise

"First they ignore you, then they laugh at you, then they fight you,
then you win." -- Gandhi


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to