Problem building on Debian 5.0.4 / 2.6.24-etchnhalf.1-686

Tim Robinson tim at txrxcomms.co.uk
Wed Apr 28 10:43:50 CEST 2010


Hi all

I am having problems building FR 2.1.8 on Debian 5.0.4

I have followed the process:

 Building Debian packages

$ tar zxf freeradius-server-2.X.Y.tar.gz
$ cd freeradius-server-2.X.Y
$ fakeroot dpkg-buildpackage -b -uc	
...


All looks well until....


gcc -o .libs/radclient .libs/radclient.o
/home/tim/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so
-lnsl -lresolv -lpthread                  -Wl,--rpath
-Wl,/usr/lib/freeradius
creating radclient
/usr/bin/libtool --mode=compile gcc  -g -O2 -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointer-arith -Wca               st-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -               Wundef
-I/home/tim/freeradius-server-2.1.8/src -DHOSTINFO=\"i486-pc-linux-gnu\"
-DRADIUSD_VERSION=\"2.1.8\"  -DOPENSSL_NO_KRB5  -c radmin.c
 gcc -g -O2 -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-str               ings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef
-I/home/tim/freeradius-se               rver-2.1.8/src
-DHOSTINFO=\"i486-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.8\"
-DOPENSSL_NO_KRB5 -c radmin.c  -fPIC -DPIC -o .libs/radmin.o
radmin.c:55: warning: function declaration isn't a prototype
radmin.c: In function 'main':
radmin.c:437: warning: implicit declaration of function 'using_history'
radmin.c:437: warning: nested extern declaration of 'using_history'
radmin.c:438: warning: implicit declaration of function 'rl_bind_key'
radmin.c:438: warning: nested extern declaration of 'rl_bind_key'
radmin.c:438: error: 'rl_insert' undeclared (first use in this function)
radmin.c:438: error: (Each undeclared identifier is reported only once
radmin.c:438: error: for each function it appears in.)
radmin.c:530: warning: implicit declaration of function 'add_history'
radmin.c:530: warning: nested extern declaration of 'add_history'
make[5]: *** [radmin.lo] Error 1
make[5]: Leaving directory `/home/tim/freeradius-server-2.1.8/src/main'
make[4]: *** [common] Error 2
make[4]: Leaving directory `/home/tim/freeradius-server-2.1.8/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/tim/freeradius-server-2.1.8/src'
make[2]: *** [common] Error 2
make[2]: Leaving directory `/home/tim/freeradius-server-2.1.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tim/freeradius-server-2.1.8'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
wendolene:/home/tim/freeradius-server-2.1.8# uname -a
Linux wendolene 2.6.24-etchnhalf.1-686 #1 SMP Thu Feb 25 05:42:02 UTC
2010 i686 GNU/Linux
wendolene:/home/tim/freeradius-server-2.1.8# less /etc/deb
debconf.conf    debian_version
wendolene:/home/tim/freeradius-server-2.1.8# less /etc/debian_version
wendolene:/home/tim/freeradius-server-2.1.8#

Any ideas please?  I have googled for days on this....

Cheers

Rgds
Tim


-- 
With Best Regards

Tim Robinson,

Director
TxRx Communications Ltd
+44 1256 810630
http://www.txrxcomms.co.uk
Registered in England  6260998



More information about the Freeradius-Users mailing list