Skip to main content

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:How To Filter custom project type from the list of CDT project types.
Next Topic:Juno 'Problem' window?
Goto Forum:

Current Time: Mon Jun 25 14:16:25 GMT 2018

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

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

Back to the top