You are not logged in.

#1 2011-03-27 04:51:22

jni
Member
Registered: 2009-10-30
Posts: 36

[SOLVED: corrupted FS] Why is pthread not found?

Hi,

I'm sure this is a stupid problem since i'm way too tired, but i have to get this fixed. I've been looking on google for hours, and i can't seem to find my answer.

I'm trying to build player/stage. I tried both the player-svn package in AUR and manually compiling from a svn checkout.

My problem is that it cannot seem to find pthread.h with its cmake. I tried everything i could think of to link to it. phtread.h exists in /usr/include and boost is installed. Yet, cmake can't see to find it.

I have installed base-devel and everything i could think of, but it still fails.

Any thoughts would be greatly appreciated

Thanks,
Jni

Last edited by jni (2011-03-27 06:33:55)

Offline

#2 2011-03-27 05:17:07

jni
Member
Registered: 2009-10-30
Posts: 36

Re: [SOLVED: corrupted FS] Why is pthread not found?

Little update...

I can't even do

g++ test.cpp

If test.cpp has :

#define <iostream>

int main() {
std::cout << "test" << std::endl;
return 0;
}

It gives me some undefined symbols on some libraries called by pthread...

gcc is at 4.5.2-6

Offline

#3 2011-03-27 06:21:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: [SOLVED: corrupted FS] Why is pthread not found?

jni wrote:

#define <iostream>

Umm...  I hope that is a typo...


Please post the exact error output so we do not have to make wild guesses at what your issue is.

Offline

#4 2011-03-27 06:32:43

jni
Member
Registered: 2009-10-30
Posts: 36

Re: [SOLVED: corrupted FS] Why is pthread not found?

I am sorry, i found the issue

The USB key the OS is on is completly corrupted. It died sad

Sorry about that.

PS: sorry about that typo smile #include, obviously lol (i re-typed the code, my test file did have an #include)

Offline

Board footer

Powered by FluxBB