Version 3.0.11 Compile Errors

Wussler, Doug doug.wussler at fsu.edu
Tue Jul 19 00:51:42 CEST 2016


I have downloaded the 3.0.11 tarball from freeradius.org and

confirmed that I have all "BuildRequires" libraries.  My platform

is RHEL 7.2.  "config.log" looks good but when I run "make"

these options result in the following errors:


"--with-dhcp=no"

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

"--with-tcp=no"

CC src/main/client.c
src/main/client.c: In function `client_afrom_cs':
src/main/client.c:964:6: error: `hs_proto' undeclared (first use in this function)
  if (hs_proto) {
      ^
src/main/client.c:964:6: note: each undeclared identifier is reported only once for each function it appears in
make: *** [build/objs/src/main/client.lo] Error 1

"--with-ascend-binary=no"
CC src/lib/value.c
src/lib/value.c: In function `value_data_from_str':
src/lib/value.c:654:4: error: label `do_octets' used but not defined
    goto do_octets;
    ^
make: *** [build/objs/src/lib/value.lo] Error 1

I would prefer to eliminate unneeded options from the binary.
The "--with-vmps=no" option works just fine.
Have I done something wrong?  Is there anything I can
edit to resolve these problems?


Doug Wussler

Florida State University



More information about the Freeradius-Users mailing list