Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » Compile using pthread
Compile using pthread [message #989863] Sat, 08 December 2012 13:01
HAL 9000 is currently offline HAL 9000
Messages: 1
Registered: December 2012
Junior Member
Hi all,
finally I decided to turn to Eclipse to programming in C++ under Linux. The impression is positive, however I cannot compile my simple project. I used the g++ -pthread option and I added the pthread library in the linker. I also #included <pthread.h> and <stdlib.h> and also <stdio.h> and <unistd.h>
Howver I get the following error messages:
"Function malloc could not be resolved"
"Function pthread_cond_signal could not be resolved"
"Function pthread_mutex_lock could not be resolved"
"Function pthread_mutex_unlock could not be resolved"

Can someone help me, please?
Previous Topic:Juno 'Problem' window?
Next Topic:Eclipse Sequoya fails to resolve header files
Goto Forum:
  


Current Time: Sat May 18 04:28:35 EDT 2013

Powered by FUDForum. Page generated in 0.02791 seconds