Stefan,
I also included libc in the mk file as well. I recall genode building if libc wasn't included, but given that i'm using the http server, libc needs to be included...
Peter
Quoting Stefan Kalkowski <stefan.kalkowski@...1...>:
On Tuesday, 2. March 2010 05:30:14 Peter Nguyen wrote:
Hi,
In upgrading to Genode 10.02, i'm encountering build errors when i specifically include one of three L4 header files, namely thread.h, ipc.h, and arch/thread.h. I do the #include statements within a namespace declaration like so:
namespace Okl4 { extern "C" { //includes }}
Every time i try to build OKL4, i keeping getting the following error which is related to utcb.h:
error: expected unqualified-id before [ token
Does anyone have any idea as to why this is happening? If i don't include any of those files, my code builds fine.
Peter
Hello Peter,
I'm sorry I can't reproduce that behaviour. I've compiled the following code without any problems:
/* main.cc */ namespace Okl4 { extern "C" { #include <l4/thread.h> #include <l4/ipc.h> #include <l4/arch/thread.h> } } int main(int, char**) { return 0; } /* EOF */
Have you tried to do 'make clean' after upgrading to the new release? If this is not the problem you have to post the complete verbose build log. You can set the environment variable VERBOSE to nothing, do 'VERBOSE="" make' Moreover, you should post the complete source file, that causes the problem.
regards Stefan
-- Stefan Kalkowski Genode Labs Developer http://genode-labs.com
Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main