Hello,
 
I recently tried to install 0.7 (last nights snapshot) on a new server for testing, so that we can replace the 0.5 on an older server. The new server is running RedHat 7.2, and the configure command I gave it was:
 
./configure --prefix=/home/virtual/site15/fst
 
That went fine, but the make produced the below error. I thought maybe it was something to do with the snapshot, so I tried installing 0.7 release version on it, and that gave the same error. So, thinking maybe it had something to do with the new server's configuration, I decided to try 0.5. It compiled fine, so I tried 0.6.. Also compiled fine.. So it seems that something changed between 0.6 and 0.7 that causes it to fail on my particular installation of RedHat 7.2?
 
Anyhow, here is the partial output from make, I searched the list archives and didn't find anyone with the same error, so I thought I would go ahead and mention it:
 
Making all in main...
gmake[4]: Entering directory `/home/virtual/site15/fst/home/rad/freeradius-0.7/src/main'
/home/virtual/site15/fst/home/rad/freeradius-0.7/libtool --mode=link gcc -export-dynamic -dlopen self \
         -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include   -L../lib -o radiusd \
        radiusd.o files.o util.o acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o -lnsl -lresolv -lpthread  -lradius  -lcrypt \
         /home/virtual/site15/fst/home/rad/freeradius-0.7/libltdl/libltdl.la
rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
creating .libs/radiusdS.c
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "radiusdS.c")
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -o .libs/radiusd radiusd.o files.o util.o acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o -Wl,--export-dynamic  -L/home/virtual/site15/fst/home/rad/freeradius-0.7/src/lib /home/virtual/site15/fst/home/rad/freeradius-0.7/src/lib/.libs/libradius.so -lcrypt /home/virtual/site15/fst/home/rad/freeradius-0.7/libltdl/.libs/libltdl.so -ldl -lnsl -lresolv -lpthread -Wl,--rpath -Wl,/home/virtual/site15/fst/lib
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libpthread.so: undefined reference to `_dl_cpuclock_offset'
collect2: ld returned 1 exit status
gmake[4]: *** [radiusd] Error 1
gmake[4]: Leaving directory `/home/virtual/site15/fst/home/rad/freeradius-0.7/src/main'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/home/virtual/site15/fst/home/rad/freeradius-0.7/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/virtual/site15/fst/home/rad/freeradius-0.7/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/home/virtual/site15/fst/home/rad/freeradius-0.7'
make: *** [all] Error 2
 
I see it has something to do with libpthread.so, so maybe I have to disable something to make this work?
 
Thanks for any suggestions you may have
 
Frank
 

Reply via email to