GDB error



Hi, I compile Hello world from official GTK tutorial this way:
g++ -Wall -g main.cpp -o anc `pkg-config --cflags gtk+-2.0` `pkg-config
--libs gtk+-2.0`

Compilation is successfull and "Hello world button" program is running.
But i have problems with debugging. I had them in Eclipse so I tried in
command line with same results (OpenSUSE 64bit).
As soon as debugger reach gtk_init() I get error 
"Cannot find new threads: generic error"

I can add detailed output of my gdb if needed. Thanks!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]