[cvsnt] problems compiling 2.0.12 on Solaris 8 with gcc 3.3

Carl Brewer carl at bl.echidna.id.au
Wed Dec 3 10:49:26 GMT 2003



Hello,

I'm trying to compile cvsnt-2.0.12 on a Solaris 8 (sun4m, 32bit)
server, and am seeing the following error :

make[2]: Entering directory `/opt/store/utils/cvsnt-2.0.12/libltdl'
/bin/bash ./libtool --mode=link gcc  -g -O2  -o libltdl.la -rpath 
/opt/local/lib -no-undefined -version-info 4:0:1 ltdl.lo -ldl
rm -fr .libs/libltdl.la .libs/libltdl.* .libs/libltdl.*
/usr/ccs/bin/ld -G -z defs -h libltdl.so.3 -o .libs/libltdl.so.3.1.0 
ltdl.lo  -ldl -lc
Undefined                       first referenced
  symbol                             in file
__eprintf                           ltdl.lo
ld: fatal: Symbol referencing errors. No output written to 
.libs/libltdl.so.3.1.0


I did a search for this error and found reference to using older
versions of GCC, but I'm using gcc 3.3 :

[rollcage]/opt/store/utils/cvsnt-2.0.12{10} : gcc -v
Reading specs from /opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs
Configured with: ./configure --disable-shared --prefix=/opt/local
Thread model: posix
gcc version 3.3


My configure options for cvsnt were :

configure --prefix=/opt/local (ie: nothing fancy to start with!)

Has anyone here seen this error before and has any suggestions
for how to proceed?   I believe eprintf() is defined in libgcc,
and the following fairly old bugreport may be useful, as it
looks like it addresses a similar problem.

http://mail.gnu.org/archive/html/libtool-patches/2001-09/msg00040.html

Do I need gcc with shared libs enabled, perhaps?

thanks

Carl








More information about the cvsnt mailing list