New build system

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Fri Jan 27 00:12:09 CET 2012


Hi,

> FWIW on a clean checkout I'm getting:
> 
> checking for pam/pam_appl.h... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: error: cannot find input file: all.mk.in
> configure: error: ./configure failed for src/modules/rlm_pam
> 

vi src/modules/rlm_pam/all.mk.in

TARGET		= @targetname.a
SOURCES		= rlm_pam.c

TGT_LDLIBS	= @pam_ldflags@
SRC_CFLAGS	= @pam_cflags@





...however, I then had to edit src/modules/rlm_krb5/rlm_krb5.c

#include <et/com_err.h>

instead of

#include <com_err.h>

...which I've not neede to do before... but then it doesnt compile at the end



build/lib/.libs/rlm_sql.so: undefined reference to `fr_connection_reconnect'
build/lib/.libs/rlm_sql.so: undefined reference to `fr_connection_pool_delete'
build/lib/.libs/rlm_perl.so: undefined reference to `boot_DynaLoader'
build/lib/.libs/rlm_sql.so: undefined reference to `fr_connection_release'
build/lib/.libs/rlm_sql.so: undefined reference to `fr_connection_get'
build/lib/.libs/rlm_sql.so: undefined reference to `fr_connection_pool_init'
collect2: ld returned 1 exit status
make: *** [build/bin/radiusd] Error 1


alan



More information about the Freeradius-Devel mailing list