bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined symbol: __dso_handle


From: grégory sainton
Subject: undefined symbol: __dso_handle
Date: Tue, 29 Mar 2005 18:13:54 +0800 (CST)


Hi, 

I am trying to built a shared library. 
During the compilation, everything is fine. 

But the execution of the program give :

./tutorial.exe: symbol lookup error:
/usr/lib/libthreadcpp.so: undefined symbol:
__dso_handle

I heared that is could come from the version of
binutils i am using.

Do you have any idea of the problem ? Do you have the
solution of my problem ?

Cheers,
Greg

----------------------------------------------------
Details of compilations 

g++ -fPIC -Wall -ansi -c Consumer.cpp
g++ -fPIC -Wall -ansi -c Mutex.cpp
g++ -fPIC -Wall -ansi -c Producer.cpp
g++ -fPIC -Wall -ansi -c Thread.cpp
g++ -shared -Wl  -o libthreadcpp.so  Consumer.o
Mutex.o Producer.o Thread.o


gcc tutorial6.o -L./CppMultiThreading -lpthread
-lthreadcpp -o tutorial.exe

address@hidden 3S-project-thread]$ g++ -v
Lecture des spécification à partir de
/usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configuré avec: ../configure --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix
--disable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-java-awt=gtk --host=i386-redhat-linux
Modèle de thread: posix
version gcc 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

I am currently using the gcc given by Redhat Fedora
Core 3.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]