[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: compile error with 0.7
From: "tywe" <tywe () hotpop ! com>
Date: 2002-08-30 22:51:32
[Download RAW message or body]
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
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>./configure
--prefix=/home/virtual/site15/fst</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Making all in main...<BR>gmake[4]: Entering
directory
`/home/virtual/site15/fst/home/rad/freeradius-0.7/src/main'<BR>/home/virtual/site15/fst/home/rad/freeradius-0.7/libtool \
--mode=link gcc -export-dynamic -dlopen self
\<BR> -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include
-L../lib -o radiusd \<BR> 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 \<BR>
/home/virtual/site15/fst/home/rad/freeradius-0.7/libltdl/libltdl.la<BR>rm -f
.libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT<BR>creating
.libs/radiusdS.c<BR>(cd .libs && gcc -c -fno-builtin -fno-rtti
-fno-exceptions "radiusdS.c")<BR>rm -f .libs/radiusdS.c .libs/radiusd.nm
.libs/radiusd.nmS .libs/radiusd.nmT<BR>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<BR>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libpthread.so: \
undefined reference to `_dl_cpuclock_offset'<BR>collect2: ld returned 1 exit
status<BR>gmake[4]: *** [radiusd] Error 1<BR>gmake[4]: Leaving directory
`/home/virtual/site15/fst/home/rad/freeradius-0.7/src/main'<BR>gmake[3]: ***
[common] Error 1<BR>gmake[3]: Leaving directory
`/home/virtual/site15/fst/home/rad/freeradius-0.7/src'<BR>gmake[2]: *** [all]
Error 2<BR>gmake[2]: Leaving directory
`/home/virtual/site15/fst/home/rad/freeradius-0.7/src'<BR>gmake[1]: *** [common]
Error 1<BR>gmake[1]: Leaving directory
`/home/virtual/site15/fst/home/rad/freeradius-0.7'<BR>make: *** [all] Error
2<BR></FONT><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I see it has something to do with libpthread.so, so
maybe I have to disable something to make this work?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any suggestions you may
have</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Frank</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic