Problem with SDL-9.9.12

Manuel Klimek wrote:

when running my program, this happens:

(gdb) run
Starting program: /home/globbi/stuff/work/bardaran/paint/paint
cons: TWindowObject

cons: TWindowView
cons: TWindowGroup
TWindowProgram
Failed loading libSDLx11.so.0.9: /usr/local/lib/libSDLx11.so.0.9: undefined symbol: __arch__swab16
1
1
1

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
Current language: auto; currently c
(gdb) up
#1 0x8052ef2 in TSurface::TSurface (this=0x806ffc8, file={
static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1,
selfish = false},
dat = 0xbffff7ac "
at surface.cc:114
114 Data = SDL_LoadBMP(file.c_str());
Current language: auto; currently c++

I really dont know, what I do wrong, the program compiles fine

    Manuel

Same thing happens to me with the 1999-04-28 snapshot. The one from the 23rd works fine though.

Brian

when running my program, this happens:

(gdb) run
Starting program: /home/globbi/stuff/work/bardaran/paint/paint
cons: TWindowObject

cons: TWindowView
cons: TWindowGroup
TWindowProgram
Failed loading libSDLx11.so.0.9: /usr/local/lib/libSDLx11.so.0.9: undefined symbol: __arch__swab16
1
1
1

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
Current language: auto; currently c
(gdb) up
#1 0x8052ef2 in TSurface::TSurface (this=0x806ffc8, file={
static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1,
selfish = false},
dat = 0xbffff7ac "
at surface.cc:114
114 Data = SDL_LoadBMP(file.c_str());
Current language: auto; currently c++

I really dont know, what I do wrong, the program compiles fine

Manuel

(gdb) run
Starting program: /home/globbi/stuff/work/bardaran/paint/paint
cons: TWindowObject

cons: TWindowView
cons: TWindowGroup
TWindowProgram
Failed loading libSDLx11.so.0.9: /usr/local/lib/libSDLx11.so.0.9: undefined symbol: __arch__swab16

This was an experiment with fast swapping macros in the CVS code.
What’s your Linux distribution and kernel version?

Thanks!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

when running my program, this happens:

(gdb) run
Starting program: /home/globbi/stuff/work/bardaran/paint/paint
cons: TWindowObject

cons: TWindowView
cons: TWindowGroup
TWindowProgram
Failed loading libSDLx11.so.0.9: /usr/local/lib/libSDLx11.so.0.9: undefined symbol: __arch__swab16

This is now fixed in the latest CVS snapshot.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/