sun c 5.8 compiling freeradius-1.1.7 issue in solaris 10

Ping Chen C ping.c.chen at ericsson.com
Fri Jan 11 10:23:47 CET 2008


hi,

i want to compile freeradius with mysql in solaris 10,  then i do like
this,
./configure CC=cc --prefix=/usr/local/freeradius-1.1.7-mysql
--with-mysql-dir=/usr/local/mysql
configure seems ok, but during making the src code, error occured, see
the info below,

/freeradius-1.1.7/libtool --mode=link cc -export-dynamic -dlopen self \
                -L/usr/local/mysql/lib -R/usr/local/mysql/lib  -pie  -o
radiusd acct.lo auth.lo client.lo conffile.lo exec.lo files.lo log.lo
mainconfig.lo modules.lo modcall.lo nas.lo proxy.lo radiusd.lo
radius_snmp.lo request_list.lo session.lo smux.lo threads.lo util.lo
valuepair.lo version.lo timestr.lo xlat.lo      \
                 -lnsl -lresolv -lsocket -lposix4  -lpthread
../lib/libradius.la   \
                -lltdl
rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
creating .libs/radiusdS.c
(cd .libs && cc  -g -c "radiusdS.c")
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS
.libs/radiusd.nmT
cc .libs/radiusdS.o -pie -o .libs/radiusd .libs/acct.o .libs/auth.o
.libs/client.o .libs/conffile.o .libs/exec.o .libs/files.o .libs/log.o
.libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/nas.o
.libs/proxy.o .libs/radiusd.o .libs/radius_snmp.o .libs/request_list.o
.libs/session.o .libs/smux.o .libs/threads.o .libs/util.o
.libs/valuepair.o .libs/version.o .libs/timestr.o .libs/xlat.o
-L/usr/local/mysql/lib -lnsl -lresolv -lsocket -lposix4 -lpthread
../lib/.libs/libradius.so -lcrypt /usr/local/lib/libltdl.so
-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -ldl
-R/usr/local/freeradius-1.1.7-mysql/lib -R/usr/local/lib
-R/usr/local/mysql/lib
ld: fatal: file .libs/radiusd: open failed: No such file or directory
ld: fatal: File processing errors. No output written to a.out
gmake[4]: *** [radiusd] Error 1
gmake[4]: Leaving directory
`/localhome/echepin/AAA/freeradius-1.1.7/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory
`/localhome/echepin/AAA/freeradius-1.1.7/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/localhome/echepin/AAA/freeradius-1.1.7/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/localhome/echepin/AAA/freeradius-1.1.7'
make: *** [all] Error 2

then i manually run the command:
/freeradius-1.1.7/libtool --mode=link cc -export-dynamic -dlopen self \
                 -L/usr/local/mysql/lib -R/usr/local/mysql/lib  -pie  -o
radiusd acct.lo auth.lo client.lo conffile.lo exec.lo files.lo log.lo
mainconfig.lo modules.lo modcall.lo nas.lo proxy.lo radiusd.lo
radius_snmp.lo request_list.lo session.lo smux.lo threads.lo util.lo
valuepair.lo version.lo timestr.lo xlat.lo      \
                  -lnsl -lresolv -lsocket -lposix4  -lpthread
../lib/libradius.la   \
                 -lltdl

libtool: link: `acct.lo' is not a valid libtool object

it prompts the acct.lo is not a valid libtool object! and i tried to
disable libtool ,but not found any hints how to do? 
anybody know how to fix this issue? could you give me some hints, thanks


BRs/peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20080111/6083a31e/attachment.html>


More information about the Freeradius-Devel mailing list