Compile error when configuring without "tcp" or "dhcp"
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
On Jun 2, 2017, at 2:16 PM, Wussler, Doug <doug.wussler@fsu.edu> wrote:
Just FYI, I am upgrading from 3.0.11 to 3.0.14
If I run “configure –without-tcp” and then “make”, I get:
Thanks. I'll take a look.
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.
The short answer is that an extra 100K or so in libraries doesn't affect much of anything. If you don't use TCP or DHCP, those functions will never get called. And they'll have no impact on the performance or memory use by the server. Alan DeKok.
participants (2)
-
Alan DeKok -
Wussler, Doug