Hi Wolfgang, That looks like C++ code. You should use g++ to compile, and g++ to link, not gcc. HTH, --Eljay