<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Newbie compile problem - undefined references `PEM_read_PUBKEY' etc
From: Steve Ball <steve,AT,netlink,DOT,demon,DOT,co,DOT,uk>
Date: Sun, 9 Jun 2002 16:42:22 +0200

I am looking to try CIPE 1.5.3 to get around a problem with NAT and 
IPSE/GRE tunnelling, but I am having problems compiling on my debian 2.2 
systems.

I have kernel 2.4.18, and have installed openssl 0.9.6D

my CIPE 1.5.3 make command gives...

/usr/local/cipe-1.5.3# make
make -C lib all
make[1]: Entering directory `/usr/local/cipe-1.5.3/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/cipe-1.5.3/lib'
make -C 2.4.18-i386-cb all
make[1]: Entering directory `/usr/local/cipe-1.5.3/2.4.18-i386-cb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/cipe-1.5.3/2.4.18-i386-cb'
make -C pkcipe all
make[1]: Entering directory `/usr/local/cipe-1.5.3/pkcipe'
gcc  -o pkcipe proto.o negotiate.o main.o packet.o lock.o p_sha1.o 
-L/usr/local//lib -lcrypto -ldl  -L../lib -lcipe
proto.o: In function `handlePacket':
/usr/local/cipe-1.5.3/pkcipe/proto.c:313: undefined reference to 
`PEM_read_PUBKEY'
main.o: In function `main':
/usr/local/cipe-1.5.3/pkcipe/main.c:235: undefined reference to 
`OpenSSL_add_all_algorithms'
packet.o: In function `setSendKey':
/usr/local/cipe-1.5.3/pkcipe/packet.c:53: undefined reference to 
`EVP_CIPHER_CTX_set_key_length'
packet.o: In function `setRecvKey':
/usr/local/cipe-1.5.3/pkcipe/packet.c:69: undefined reference to 
`EVP_CIPHER_CTX_set_key_length'
collect2: ld returned 1 exit status
make[1]: *** [pkcipe] Error 1
make[1]: Leaving directory `/usr/local/cipe-1.5.3/pkcipe'
make: *** [all] Error 2

I am sure I have done something wrong in my installation of openssl or 
CIPE, but I can't sort out what. openssl passes the 'make test'

Thanks in advance for any help.

Steve Ball





<< | Thread Index | >> ]    [ << | Date Index | >> ]