linker error in compiling gideon a5

Michael Amsellem amsellem at art.alcatel.fr
Tue Jul 15 12:03:10 BST 2003


Hi,
I succeeded in installing gideon a4 in Solaris 8 sparc with gcc 3.3, but 
when I try to build gideon a5 on the same machine, I have the following 
linker error:
amsellem:rtbdel87tu-/tmp/kdevelop-3.0a5/lib/structure [64] make

if g++ -DHAVE_CONFIG_H -I. -I. -I../.. 
-I/chorus/ClassiX/Tools/Solaris8/kde311/include 
-I/chorus/ClassiX/Tools/Solaris8/qt312/include 
-I/chorus/ClassiX/Tools/Solaris8/include -DQT_THREAD_SUPPORT 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_PTHREADS 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new 
-fno-common -MT test-kdict.o -MD -MP -MF ".deps/test-kdict.Tpo" \
-c -o test-kdict.o `test -f 'test-kdict.cpp' || echo './'`test-kdict.cpp; \
then mv ".deps/test-kdict.Tpo" ".deps/test-kdict.Po"; \
else rm -f ".deps/test-kdict.Tpo"; exit 1; \
fi
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new 
-fno-common -o test-kdict -L/chorus/ClassiX/Tools/Solaris8/qt312/lib 
-L/chorus/ClassiX/Tools/Solaris8/kde311/lib -R 
/chorus/ClassiX/Tools/Solaris8/kde311/lib -R 
/chorus/ClassiX/Tools/Solaris8/qt312/lib test-kdict.o -lqt-mt -lz -lpng 
-lz -lm -lXext -lX11 -lsocket -lnsl -lSM -lICE -lpthread -lkdecore
ld: warning: file 
/chorus/ClassiX/Tools/Solaris8/gcc3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/../../../libstdc++.so: 
linked to /chorus/ClassiX/Tools/Solaris8/gcc3.2.1/lib/libstdc++.so: 
attempted multiple inclusion of file
Undefined first referenced
symbol in file
std::__default_alloc_template<(bool)1, (int)0>::_S_force_newtest-kdict.o
ld: fatal: Symbol referencing errors. No output written to test-kdict
collect2: ld returned 1 exit status
make: *** [test-kdict] Error 1

Can you help me?
(I know C well but I'm a beginner in C++)


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list