I have now suddenly a problem. What is this and how to fix it?
…
[tksuoran at tankar-2 TeddyRelease]$ gdb ./Teddy
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB. Type “show warranty” for details.
This GDB was configured as “i386-redhat-linux”…
(gdb) run
Starting program: /tmp/tksuoran/Teddy/TeddyRelease/./Teddy
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
/dev/dsp: Permission denied
Program received signal SIG32, Real-time event 32.
0x2ae8b682 in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0 0x2ae8b682 in sigsuspend () from /lib/libc.so.6
#1 0x2ade8bc0 in pthread_setconcurrency () from /lib/libpthread.so.0
#2 0x2ade80fb in pthread_create () from /lib/libpthread.so.0
#3 0x2adb94df in SDL_SYS_CreateThread (thread=0x81b9758, args=0x81b9a78)
at SDL_systhread.c:99
#4 0x2adb9378 in SDL_CreateThread (fn=0x2adba1ec , data=0x0) at
SDL_thread.c:252
#5 0x2adba258 in SDL_SYS_TimerInit () at SDL_systimer.c:206
#6 0x2adb9c8e in SDL_TimerInit () at SDL_timer.c:90
#7 0x2ad837f3 in SDL_InitSubSystem (flags=1048625) at SDL.c:106
#8 0x2ad8386f in SDL_Init (flags=1048625) at SDL.c:157
#9 0x805153f in main_cpp (argc=1, argv=0x7ffffa14) at teddy.cpp:77
#10 0x8051c25 in main (argc=1, argv=0x7ffffa14) at teddy.cpp:147
…
Also
…
[tksuoran at tankar-2 TeddyRelease]$ sdl-config --libs
-L/home/fs/tksuoran/local/lib -Wl,-rpath,/home/fs/tksuoran/local/lib -lSDL -lpthread
[tksuoran at tankar-2 TeddyRelease]$ sdl-config --cflags
-I/home/fs/tksuoran/local/include -I/home/fs/tksuoran/local/include/SDL -D_REENTRANT
…
So?
– Timo Suoranta – @Timo_K_Suoranta –