Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Compile using pthread
Compile using pthread [message #989863] Sat, 08 December 2012 18:01
HAL 9000 is currently offline HAL 9000Friend
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:Autotools-generated make targets not shown in 'Make targets' view
Next Topic:Juno 'Problem' window?
Goto Forum:

Current Time: Fri Apr 28 22:39:13 GMT 2017

Powered by FUDForum. Page generated in 0.01421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software