[osg-users] Linking error : OpenThread

Mathias Fröhlich M.Froehlich at science-computing.de
Thu Sep 4 23:28:27 PDT 2008


Hi,

On Thursday 04 September 2008 23:23, Rahul Jain wrote:
> While compiling my application with OSG2.6 I am getting following
> linking error  "*undefined reference to
> `OpenThreads::Atomic::operator--()*". The same application is linked
> properly with OSG2.4.  Since i am not using Atomic operation in my
> application, i  am not able to find the reason for failure.Any guesses ?

May be you need to link your application to libOpenThreads also?
You use the Atomic stuff when you have any ref_ptr inline in your code ...

Greetings

Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 





More information about the osg-users mailing list