[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] CVS Configure & Make errors


  • Subject: [Openvpn-users] CVS Configure & Make errors
  • From: "Barry Fawthrop" <barry@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 6 May 2004 20:27:37 -0500

./configure --prefix=  --exec-prefix=/usr
 
I get this
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking linux/sockios.h usability... yes
checking linux/sockios.h presence... yes
checking for linux/sockios.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking linux/errqueue.h usability... no
checking linux/errqueue.h presence... yes
configure: WARNING: linux/errqueue.h: present but cannot be compiled
configure: WARNING: linux/errqueue.h:     check for missing prerequisite headers?
configure: WARNING: linux/errqueue.h: see the Autoconf documentation
configure: WARNING: linux/errqueue.h:     section "Present But Cannot Be Compiled"
configure: WARNING: linux/errqueue.h: proceeding with the preprocessor's result
configure: WARNING: linux/errqueue.h: in the future, the compiler will take precedence
configure: WARNING:     ## -------------------------------------------------- ##
configure: WARNING:     ## Report this to openvpn-users@xxxxxxxxxxxxxxxxxxxxx ##
configure: WARNING:     ## -------------------------------------------------- ##
checking for linux/errqueue.h... yes
checking for in_addr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for struct tun_pi... yes
checking for struct iphdr... yes
checking for struct iovec... yes
I carried on and during Make I get this
make  all-am
make[1]: Entering directory `/usr/local/openvpn'
gcc  -g -O2   -o openvpn  buffer.o crypto.o error.o fdmisc.o fragment.o gremlin.o io.o lzo.o misc.o mss.o mtu.o openvpn.o options.o packet_id.o proxy.o socks.o reliable.o route.o session_id.o shaper.o socket.o ssl.o thread.o tun.o   -lssl -lcrypto -llzo
crypto.o: In function `openvpn_encrypt':
/usr/local/openvpn/crypto.c:186: undefined reference to `HMAC_Init_ex'
crypto.o: In function `openvpn_decrypt':
/usr/local/openvpn/crypto.c:228: undefined reference to `HMAC_Init_ex'
crypto.o: In function `init_hmac':
/usr/local/openvpn/crypto.c:450: undefined reference to `HMAC_CTX_init'
/usr/local/openvpn/crypto.c:451: undefined reference to `HMAC_Init_ex'
crypto.o: In function `free_key_ctx':
/usr/local/openvpn/crypto.c:568: undefined reference to `HMAC_CTX_cleanup'
crypto.o: In function `check_key_DES':
/usr/local/openvpn/crypto.c:619: undefined reference to `DES_is_weak_key'
/usr/local/openvpn/crypto.c:624: undefined reference to `DES_check_key_parity'
crypto.o: In function `fixup_key_DES':
/usr/local/openvpn/crypto.c:648: undefined reference to `DES_set_odd_parity'
crypto.o: In function `read_passphrase_hash':
/usr/local/openvpn/crypto.c:1141: undefined reference to `EVP_MD_CTX_cleanup'
ssl.o: In function `init_ssl_lib':
/usr/local/openvpn/ssl.c:188: undefined reference to `OPENSSL_add_all_algorithms_noconf'
ssl.o: In function `tls1_P_hash':
/usr/local/openvpn/ssl.c:1447: undefined reference to `HMAC_CTX_init'
/usr/local/openvpn/ssl.c:1448: undefined reference to `HMAC_CTX_init'
/usr/local/openvpn/ssl.c:1449: undefined reference to `HMAC_Init_ex'
/usr/local/openvpn/ssl.c:1450: undefined reference to `HMAC_Init_ex'
/usr/local/openvpn/ssl.c:1457: undefined reference to `HMAC_Init_ex'
/usr/local/openvpn/ssl.c:1458: undefined reference to `HMAC_Init_ex'
/usr/local/openvpn/ssl.c:1477: undefined reference to `HMAC_CTX_cleanup'
/usr/local/openvpn/ssl.c:1478: undefined reference to `HMAC_CTX_cleanup'
collect2: ld returned 1 exit status
make[1]: *** [openvpn] Error 1
make[1]: Leaving directory `/usr/local/openvpn'
make: *** [all] Error 2
Can someone please help, I'm needing to rebuild openvpn, I've tried tls and static from manual
I hAD it working, had to reload server now can't access I get Code=111 error, posted on #openvpn irc channel
 
 
Thank You
Barry