wsygzyr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Can't compile libjingle on linux (error in ThreadManger class) #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. extract libjingle
2. add it to the project
3. call talk_base::Thread::Current()
4. compile

The code should compile correctly

I am using libjingle 0.5.4 On ubuntu 11.04

the error I get is :
/tmp/cc4dctnh.o: In function `talk_base::Thread::Current()':
/home/ayoub/code/p2p/talk/base/thread.h:122: undefined reference to 
`talk_base::ThreadManager::CurrentThread()'

The command I use to compile is :

-g -Werror -DPOSIX -DEXPAT_RELATIVE_PATH -DFEATURE_ENABLE_SSL 
-DHAVE_OPENSSL_SSL_H=1 main.cpp talk/base/thread.cc ... 

Original issue reported on code.google.com by ayoub....@gmail.com on 27 May 2011 at 2:06

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 14 Jun 2011 at 8:22

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 1 Jun 2013 at 4:18