Version 2.2.2 has been released

Jonathan Gazeley Jonathan.Gazeley at bristol.ac.uk
Fri Nov 1 12:17:10 CET 2013


I'm having problems building 2.2.2 from the source downloaded from the 
FreeRADIUS website. I'm trying to build an RPM on CentOS 6.4, fully 
updated stock build server with gcc 4.4.7. I'm a bit out of my depth 
with build problems - is this something I can fix on my side, or a bug 
in the source/spec?

Thanks,
Jonathan


/usr/bin/libtool --mode=compile gcc 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src -O2 -g -pipe 
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fpic -Wall -D_GNU_SOURCE 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -DWITH_SYSTEM_LTDL 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src 
-DHOSTINFO=\"x86_64-redhat-linux-gnu\" -DRADIUSD_VERSION=\"020202\" 
-DRADIUSD_VERSION_STRING=\"2.2.2\" -c listen.c
libtool: compile:  gcc 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src -O2 -g -pipe 
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fpic -Wall -D_GNU_SOURCE 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -DWITH_SYSTEM_LTDL 
-I/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src 
-DHOSTINFO=\"x86_64-redhat-linux-gnu\" -DRADIUSD_VERSION=\"020202\" 
-DRADIUSD_VERSION_STRING=\"2.2.2\" -c listen.c  -fPIC -DPIC -o 
.libs/listen.o
listen.c: In function 'client_listener_find':
listen.c:237: warning: assignment discards qualifiers from pointer 
target type
In file included from listen.c:1366:
dhcpd.c: In function 'dhcprelay_process_client_request':
dhcpd.c:120: error: 'dhcp_socket_t' has no member named 'port'
dhcpd.c: In function 'dhcprelay_process_server_reply':
dhcpd.c:168: error: 'dhcp_socket_t' has no member named 'port'
dhcpd.c: In function 'dhcp_socket_parse':
dhcpd.c:533: warning: unused variable 'broadcast'
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory 
`/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src/main'
gmake[3]: *** [main] Error 2
gmake[3]: Leaving directory 
`/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory 
`/home/jg4461/rpmbuild/BUILD/freeradius-server-2.2.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.VPGhGL (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.VPGhGL (%build)



More information about the Freeradius-Users mailing list