Skip to contentSkip to conversation

Build failure on "master" when using PolarSSL

Openvpn-devel Samuli Seppänen 3 participants 3 messages Apr 13, 2012 – Apr 16, 2012

lore
Share & tools
lore
#0 lore raw

HI,

I tested building OpenVPN with PolarSSL support on our buildslaves

- Debian 6 i386 (PolarSSL 1.1.1)
- CentOS 6 amd64 (PolarSSL 1.1.1)
- Ubuntu 10.04 amd64 (PolarSSL 1.1.0)

All used the following build flags:

--with-crypto-library=polarssl --enable-crypto --enable-ssl

All gave the same error:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/compat -g -O2 -MT ssl_polarssl.o -MD -MP -MF .deps/ssl_polarssl.Tpo -c -o ssl_polarssl.o ssl_polarssl.c
ssl_polarssl.c: In function 'key_state_ssl_init':
ssl_polarssl.c:520: error: 'havege_rand' undeclared (first use in this function) ssl_polarssl.c:520: error: (Each undeclared identifier is reported only once ssl_polarssl.c:520: error: for each function it appears in.)

Any clues? There were no traces of earlier PolarSSL installations on any of the buildslaves.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Something was changed in recent polarssl patches.
There is havege_random but not havege_rand, and with different prototype.

2012/4/13 Samuli Seppänen <[email protected]...>:

Quoted 40 lines

HI,

I tested building OpenVPN with PolarSSL support on our buildslaves

- Debian 6 i386 (PolarSSL 1.1.1)
- CentOS 6 amd64 (PolarSSL 1.1.1)
- Ubuntu 10.04 amd64 (PolarSSL 1.1.0)

All used the following build flags:

--with-crypto-library=polarssl --enable-crypto --enable-ssl

All gave the same error:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/compat       -g -O2 -MT ssl_polarssl.o -MD -MP -MF .deps/ssl_polarssl.Tpo -c -o ssl_polarssl.o ssl_polarssl.c ssl_polarssl.c: In function 'key_state_ssl_init':
ssl_polarssl.c:520: error: 'havege_rand' undeclared (first use in this function)
ssl_polarssl.c:520: error: (Each undeclared identifier is reported only once
ssl_polarssl.c:520: error: for each function it appears in.)

Any clues? There were no traces of earlier PolarSSL installations on any of the buildslaves.

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw

The function changed to allow more than 4 bytes of random to be retrieved. The new patches shouldn't have that problem anyway, they use the new PolarSSL 1.1 DRBG instead of a direct call to Havege.

Adriaan

-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]
Sent: zaterdag 14 april 2012 18:52
To: Samuli Seppänen
Cc: [email protected]
Subject: Re: [Openvpn-devel] Build failure on "master" when using PolarSSL

Something was changed in recent polarssl patches.
There is havege_random but not havege_rand, and with different prototype.

2012/4/13 Samuli Seppänen <[email protected]...>:

Quoted 35 lines

HI,

I tested building OpenVPN with PolarSSL support on our buildslaves

- Debian 6 i386 (PolarSSL 1.1.1)
- CentOS 6 amd64 (PolarSSL 1.1.1)
- Ubuntu 10.04 amd64 (PolarSSL 1.1.0)

All used the following build flags:

--with-crypto-library=polarssl --enable-crypto --enable-ssl

All gave the same error:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/compat -g -O2 -MT ssl_polarssl.o -MD -MP -MF .deps/ssl_polarssl.Tpo -c -o ssl_polarssl.o ssl_polarssl.c
ssl_polarssl.c: In function 'key_state_ssl_init':
ssl_polarssl.c:520: error: 'havege_rand' undeclared (first use in this function)
ssl_polarssl.c:520: error: (Each undeclared identifier is reported only once
ssl_polarssl.c:520: error: for each function it appears in.)

Any clues? There were no traces of earlier PolarSSL installations on any of the buildslaves.

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

Quoted 9 lines

----------------------------------------------------------------------
-------- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel