Because I got a segmentation fault...g++ -I./include -I/usr/X11R6/include -g -O3 -ffast-math bagaioseph.cpp -o ./game -L/usr/X11R6/lib -L./lib -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11 -I"./irrKlang/include" -L"/usr/lib" ./irrKlang/bin/linux-gcc/irrKlang.so -pthread
'++: unrecognized option '-pthread
./irrKlang/bin/linux-gcc/irrKlang.so: undefined reference to `pthread_create'
...I'd like to know if it is my fault or an Irrlicht bug, and I have no idea how to do this without being able to view the line where the error happened in gdb/ddd.Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223293200 (LWP 11000)]
0x0804eeb8 in main ()
(gdb) cont
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
EDIT: PS: btw: compiling works fine without the -g option without any error messages - but of course I don't have the debug info then