Compile error when configuring without "tcp" or "dhcp"

Wussler, Doug doug.wussler at fsu.edu
Fri Jun 2 20:16:22 CEST 2017


Just FYI, I am upgrading from 3.0.11 to 3.0.14

If I run “configure –without-tcp” and then “make”, I get:

…
CC src/main/tls_listen.c
build/objs/src/main/process.o: In function `check_proxy':
/downloads/freeradius-server-3.0.14/src/main/process.c:5324: undefined reference to `home_servers_udp'
build/objs/src/main/realms.o: In function `home_server_afrom_cs':
/downloads/freeradius-server-3.0.14/src/main/realms.c:770: undefined reference to `home_servers_udp'
collect2: error: ld returned 1 exit status
make: *** [build/bin/local/radiusd] Error 1


If I run “configure –without-dhcp” and then “make”, I get:

…
CC src/modules/proto_dhcp/dhcpclient.c
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [build/bin/local/dhcpclient] Error 1


v3.0.11 was also unable to be compiled without dhcp or tcp.  I reported the issues at that time and I’m just trying to be a good soldier by reporting that they still exist.
I just prefer not to compile in capabilities I don’t need but have been using 3.0.11 for well over a year and it has done very, very well for us.

Doug Wussler
850.645.4201
Florida State University
Information Technology Services



More information about the Freeradius-Users mailing list