Christian Stueble stueble@amaunet.cs.uni-dortmund.de:
I hope someone can tell me why the following source produces an error (trapno 14, error 5):
If dc is defined inside main(), everything works fine.
It's probably because you have a broken compiler/linker, or are using the wrong options to your compiler/linker. The code works for me. However, I have at times experienced global objects not being initialised, and I have even resorted to replacing "Object x;" by "Object *x = 0;" and preceding each use of x by "if (!x) x = new Object;" ... until I found out how to repair the link line.
This is off-topic for l4-hackers, by the way. I suggest we don't discuss this further on the list ...
Edmund