Problem compiling with debug option in OpenSuSE 10.2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem compiling with debug option in OpenSuSE 10.2

Endhy Aziz-2
Hi all,
I'm trying to compile OpenSSL-0.9.8c with debug option, but some
errors shown below occurs :
...
...
make[2]: Entering directory `/home/endhy/Documents/openssl-0.9.8d/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl  -L.. -lcrypto -lefence -lefence
-ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK
-DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do if echo $x |
grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi;
done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o
rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o
gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o
s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ${LIBDEPS} )
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
cannot find -lefence
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/endhy/Documents/openssl-0.9.8d/apps'
make[1]: *** [openssl] Error 2
make[1]: Leaving directory `/home/endhy/Documents/openssl-0.9.8d/apps'
make: *** [build_apps] Error 1
(Then stop..)

Can anyone tell me how to solve it? (I've tried to compile without
debug option and I didn't find any trouble. OpenSuSE 10.2 use gcc
4.1.2)


Best regards,

--Endhy
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling with debug option in OpenSuSE 10.2

Goetz Babin-Ebell
--On Mai 15, 2007 13:56:39 +0700 Endhy Aziz <[hidden email]> wrote:

> Hi all,
> I'm trying to compile OpenSSL-0.9.8c with debug option, but some
> errors shown below occurs :
> ...
> ...
[...]
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
> cannot find -lefence
  ^^^^^^^^^^^^^^^^^^^^

[...]
> Can anyone tell me how to solve it? (I've tried to compile without
> debug option and I didn't find any trouble. OpenSuSE 10.2 use gcc
> 4.1.2)

Try to add -noefence to your configure target...
(or install efence on your system...)

Bye

Goetz

--
DMCA: The greed of the few outweights the freedom of the many

attachment0 (196 bytes) Download Attachment