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