Problem with SDL_UpdateRects?

I’ve just downloaded SDL-1.2.3, and when trying to run my own programs
and supertux, any image which relies on SDL_UpdateRect to be drawn
doesn’t get drawn. I’m assuming SDL_Flip, or even from the looks of
things in the supertux source and SDL_UpdateRect that updates the whole
screen work fine.
In other words the backgrounds show up wonderfully, but the “sprites” do
not.
I’ve tried the RPMs available from rpmfind.net, and tried compiling it
on my own. However when I compiled it on my own I kept getting undefined
references to atexit when trying to run configure on SDL games. Even now
I can’t get lbreakout to compile because my stupid system can’t find
atexit. I recently updated to glibc-2.2, gcc-2.96, binutils-2.12 (and
2.11-08 and 2.11-10 earlier trying to get it to work). I’m sure there is
something wrong with my system (since it can’t find atexit), but I don’t
know if that is something that would make SDL apps act screwy, and
despite MANY MANY posts on deja about a problem with undefined
references to atexit, I still haven’t been able to find a solution.

Newsgroups: loki.open-source.sdl

I’ve just downloaded SDL-1.2.3, and when trying to run my own programs
and supertux, any image which relies on SDL_UpdateRect to be drawn
doesn’t get drawn. I’m assuming SDL_Flip, or even from the looks of
things in the supertux source and SDL_UpdateRect that updates the whole
screen work fine.
In other words the backgrounds show up wonderfully, but the “sprites” do
not.
I’ve tried the RPMs available from rpmfind.net, and tried compiling it
on my own. However when I compiled it on my own I kept getting undefined
references to atexit when trying to run configure on SDL games. Even now
I can’t get lbreakout to compile because my stupid system can’t find
atexit. I recently updated to glibc-2.2, gcc-2.96, binutils-2.12 (and
2.11-08 and 2.11-10 earlier trying to get it to work). I’m sure there is
something wrong with my system (since it can’t find atexit), but I don’t
know if that is something that would make SDL apps act screwy, and
despite MANY MANY posts on deja about a problem with undefined
references to atexit, I still haven’t been able to find a solution.

atexit() is a standard ANSI C library function, so it should be in libc.
The prototype for it appears in stdlib.h. Is it not finding the symbol at
link time or is it complaining while compiling? If it’s compile time, then
your header files might need updating (stdlib.h in perticular).

-Jason

----- Original Message -----
From: jeg@visi.net (John Garrison)
To:
Sent: Wednesday, March 20, 2002 2:21 AM
Subject: [SDL] Problem with SDL_UpdateRects?

Jason Hoffoss wrote:

Newsgroups: loki.open-source.sdl

I’ve just downloaded SDL-1.2.3, and when trying to run my own programs
and supertux, any image which relies on SDL_UpdateRect to be drawn
doesn’t get drawn. I’m assuming SDL_Flip, or even from the looks of
things in the supertux source and SDL_UpdateRect that updates the whole
screen work fine.
In other words the backgrounds show up wonderfully, but the “sprites” do
not.
I’ve tried the RPMs available from rpmfind.net, and tried compiling it
on my own. However when I compiled it on my own I kept getting undefined
references to atexit when trying to run configure on SDL games. Even now
I can’t get lbreakout to compile because my stupid system can’t find
atexit. I recently updated to glibc-2.2, gcc-2.96, binutils-2.12 (and
2.11-08 and 2.11-10 earlier trying to get it to work). I’m sure there is
something wrong with my system (since it can’t find atexit), but I don’t
know if that is something that would make SDL apps act screwy, and
despite MANY MANY posts on deja about a problem with undefined
references to atexit, I still haven’t been able to find a solution.

atexit() is a standard ANSI C library function, so it should be in libc.
The prototype for it appears in stdlib.h. Is it not finding the symbol at
link time or is it complaining while compiling? If it’s compile time, then
your header files might need updating (stdlib.h in perticular).

Nope, it’s at link time. I’ve even tried including -lc in the command
line.> ----- Original Message -----

From: “John Garrison” <@John_Garrison>
To:
Sent: Wednesday, March 20, 2002 2:21 AM
Subject: [SDL] Problem with SDL_UpdateRects?