New build system in "master" branch

Fajar A. Nugraha list at fajar.net
Fri Jan 27 09:47:11 CET 2012


On Tue, Jan 24, 2012 at 5:54 AM, Alan DeKok <aland at deployingradius.com> wrote:
> Alan Buxey wrote:
>> that depends on the box - in this case, CentOS 5.7, and RHEL5
>> are both 0.9.8e+some backpots - others have >1.x on them due to requirements
>> of other components -
>
>  So long as the latest git "master" branch works.  I've put in some
> ifdef's to look for specific OpenSSL versions.

Some recent openssl-related fix has caused build error on my system.
though I'm not sure which one.

My last tested OK build was bf28ac7, on ubuntu natty,
libssl0.9.8_0.9.8o-5ubuntu1. The test is a simple ./configure && make.

With commit 8683265, it bombs out with

CC tls_listen.c
tls_listen.c: In function 'tls_socket_recv':
tls_listen.c:212:2: warning: implicit declaration of function 'dump_hex'
tls_listen.c:275:2: warning: implicit declaration of function 'record_minus'
tls_listen.c: In function 'dual_tls_send':
tls_listen.c:428:2: warning: implicit declaration of function 'record_plus'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/libtool --quiet
--mode=link gcc -export-dynamic -dlopen self \
                  -o radiusd acct.lo auth.lo client.lo conffile.lo
crypt.lo exec.lo files.lo listen.lo log.lo mainconfig.lo modules.lo
modcall.lo radiusd.lo stats.lo soh.lo connection.lo session.lo
threads.lo util.lo valuepair.lo version.lo xlat.lo process.lo
realms.lo evaluate.lo vmps.lo detail.lo cb.lo tls.lo tls_listen.lo
 \

/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/lib/libfreeradius-radius.la
-lnsl -lresolv  -lpthread  \
                -lcrypt
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/libltdl/libltdl.la
-lcrypto -lssl -lcrypto
.libs/tls_listen.o: In function `tls_socket_recv':
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls_listen.c:212:
undefined reference to `dump_hex'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls_listen.c:258:
undefined reference to `dump_hex'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls_listen.c:275:
undefined reference to `record_minus'
.libs/tls_listen.o: In function `dual_tls_send':
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls_listen.c:428:
undefined reference to `record_plus'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls_listen.c:440:
undefined reference to `dump_hex'
collect2: ld returned 1 exit status
make[4]: *** [radiusd] Error 1
make[3]: *** [main] Error 2
make[2]: *** [all] Error 2
make[1]: *** [src] Error 2
make: *** [all] Error 2


and when I use BOILER=yes, the error is (several lines only):

build/objs/src/main/cb.o: In function `cbtls_info':
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/cb.c:36:
undefined reference to `SSL_get_ex_data'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/cb.c:44:
undefined reference to `SSL_state_string_long'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/cb.c:57:
undefined reference to `SSL_alert_desc_string_long'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/cb.c:57:
undefined reference to `SSL_alert_type_string_long'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/cb.c:67:
undefined reference to `SSL_want'
build/objs/src/main/tls.o: In function `int_ssl_check':
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls.c:275:
undefined reference to `ERR_get_error'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls.c:286:
undefined reference to `SSL_get_error'
/data/ppa/freeradius/3.0.0/freeradius-3.0.0+dfsg/src/main/tls.c:276:
undefined reference to `ERR_error_string'
...

-- 
Fajar




More information about the Freeradius-Devel mailing list