build error on Solaris (undefined symbol)
Ihsan Dogan
ihsan at dogan.ch
Mon Jun 15 13:57:36 CEST 2009
Hello,
I'm trying to build FreeRADIUS on Solaris (versions 9 and 10) and I'm
getting this error:
-----------------------------------------------------------------
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
/opt/csw/gcc4/bin/gcc .libs/radiusdS.o -mcpu=v8 -o .libs/radiusd
.libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o
.libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o
.libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o
.libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o
.libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o
.libs/evaluate.o .libs/vmps.o .libs/detail.o -L/opt/csw/gcc4/lib/.
-L/opt/csw/lib
/home/ihsan/gar/csw/mgar/pkg/freeradius/trunk/work/build-isa-sparcv8/freeradius-server-2.1.6/src/lib/.libs/libfreeradius-radius.so
-lnsl -lresolv -lsocket -lposix4 -lpthread -lcrypt -lltdl -lssl -lcrypto
-R/opt/csw/lib
Undefined first referenced
symbol in file
lt__PROGRAM__LTX_preloaded_symbols .libs/modules.o
ld: fatal: Symbol referencing errors. No output written to .libs/radiusd
gmake[6]: *** [radiusd] Error 1
gmake[6]: Leaving directory
`/home/ihsan/gar/csw/mgar/pkg/freeradius/trunk/work/build-isa-sparcv8/freeradius-server-2.1.6/src/main'
-----------------------------------------------------------------
Configure runs fine. I've tried to build FreeRADIUS with Sun Studio 12
and GCC 4.3.3 and both show the same error.
Ihsan
--
ihsan at dogan.ch http://blog.dogan.ch/
More information about the Freeradius-Users
mailing list