It is currently Wed Feb 08, 2012 6:28 pm



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: i-Opener adapter
PostPosted: Tue May 26, 2009 3:38 am 

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 138
I'm working on an i-Opener adapter (http://en.wikipedia.org/wiki/I-Opener), based on the linux adapter. This is my first adapter that I made myself and I'm having a problem when compiling the framework. I get the following error:

linuxos.cpp:44: error: 'PTHREAD_STACK_MIN' was not declared in this scope

What I don't understand is that I have another adapter thats also based on the linux adapter, and this error doesn't occur. PTHREAD_STACK_MIN is not defined anywhere that I can find. The only difference between my i-Opener adaptor and my other fully functioning adapter are the following lines in the makefile:

DEFAULT_CPP_FLAGS="-O2 -march=armv4t"
CPU=arm-none-linux-gnueabi

I'm fairly new to linux makefiles, but I changed this to read:

DEFAULT_CPP_FLAGS="-O2 -march=i386""
CPU=x86


Last edited by bitblit on Wed May 27, 2009 2:27 am, edited 1 time in total.

Offline
 Profile  
 
 Post subject:
PostPosted: Tue May 26, 2009 12:17 pm 

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 138
I added the following line to the makefile:

DEFAULT_CPP_FLAGS="-g -DPTHREAD_STACK_MIN=16384 -DPTHREAD_MUTEX_RECURSIVE_NP"


That did the trick, but was that most elegant solution?


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:


suspicion-preferred