another 2.1.0 compile error

Greg Woods woods at ucar.edu
Tue Sep 9 17:45:57 CEST 2008


I am running on CentOS 5.2 on an x86_64 architecture. I note a previous
report for a similar system here on the list, but this is not the same
error. That one was an error compiling radmin, this is an error
compiling the server:

 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -I/local/src/freeradius-server-2.1.0/src -DHOSTINFO=
\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.0\"
-DOPENSSL_NO_KRB5 -c listen.c  -fPIC -DPIC -o .libs/listen.o
listen.c: In function 'client_listener_find':
listen.c:189: warning: assignment discards qualifiers from pointer
target type
In file included from command.c:26,
                 from listen.c:1046:
/local/src/freeradius-server-2.1.0/src/freeradius-devel/modpriv.h:9:18:
error: ltdl.h: No such file or directory
In file included from command.c:26,
                 from listen.c:1046:
/local/src/freeradius-server-2.1.0/src/freeradius-devel/modpriv.h: At
top level:
/local/src/freeradius-server-2.1.0/src/freeradius-devel/modpriv.h:30:
error: expected specifier-qualifier-list before 'lt_dlhandle'
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory
`/local/src/freeradius-server-2.1.0/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/local/src/freeradius-server-2.1.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/local/src/freeradius-server-2.1.0/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/local/src/freeradius-server-2.1.0'
make: *** [all] Error 2

I realize this isn't a complete enough report to fully debug this, I'm
just curious to know if anyone else has seen this one or whether it's
something obvious. I also know that the ltdl.h file is actually there in
the libltdl subdirectory, so I can probably figure out how to get around
this if I have to.

--Greg





More information about the Freeradius-Users mailing list