libXxf86dga.so error

I’m recompiling SDL with the following options:
./configure --prefix=/usr --disable-video-ggi --disable-video-svga
–disable-video-aalib --disable-video-dga --disable-video-x11-dgamouse

However, when I try to to compile anything using SDL, I get this error:
/usr/lib/crt1.o: In function _start': /usr/lib/crt1.o(.text+0x18): undefined reference tomain’
/usr/X11R6/lib/libXxf86dga.so: undefined reference to `atexit’
collect2: ld returned 1 exit status

Why does it keep linking to the DGA libraries?

Yacine Salmi

Make sure you run make clean and delete config.cache

The errors look like an old debian sid glibc problem. If you’re running
debian do a upgradeOn Wed, May 09, 2001 at 08:55:40AM -0400, Yacine Salmi wrote:

I’m recompiling SDL with the following options:
./configure --prefix=/usr --disable-video-ggi --disable-video-svga
–disable-video-aalib --disable-video-dga --disable-video-x11-dgamouse

However, when I try to to compile anything using SDL, I get this error:
/usr/lib/crt1.o: In function _start': /usr/lib/crt1.o(.text+0x18): undefined reference tomain’
/usr/X11R6/lib/libXxf86dga.so: undefined reference to `atexit’
collect2: ld returned 1 exit status

Why does it keep linking to the DGA libraries?

Yacine Salmi


Martin

Bother! said Pooh sweating over a hot computer.

On Thu May 10, 2001 at 02:09:04PM +0100, the boisterous
Martin Donlon
wrote to me:

Make sure you run make clean and delete config.cache

The errors look like an old debian sid glibc problem. If you’re running
debian do a upgrade

I tried it with my Suse 7.0 and with and LFS 2.4.4, but the dga stuff was
always linked with SDL. This should be worth a configure.in fix.

so long
Thomas–
___ Obviously we do not want to leave zombies around.
/\ - W. Richard Stevens
( ^ >
/ \ Thomas Krennwallner
(
/) Fingerprint: 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B

I’m recompiling SDL with the following options:
./configure --prefix=/usr --disable-video-ggi --disable-video-svga
–disable-video-aalib --disable-video-dga --disable-video-x11-dgamouse

However, when I try to to compile anything using SDL, I get this error:
/usr/lib/crt1.o: In function _start': /usr/lib/crt1.o(.text+0x18): undefined reference tomain’
/usr/X11R6/lib/libXxf86dga.so: undefined reference to `atexit’
collect2: ld returned 1 exit status

Why does it keep linking to the DGA libraries?

DGA mouse is always available, --disable-video-x11-dgamouse just disables
using it by default. I’m adding a new configure option --disable-dga
which will prevent SDL from using DGA at all, either for mouse motion
or for a separate video driver. This will be in the next CVS snapshot.

See ya!
-Sam Lantinga, Lead Programmer, Loki Software, Inc.

ok, I’m running debian testing (woody) I’ve upgrade the xlibs-dev to
unstable, but I don’t want to upgrade everything to unstable. The only
way I can get rid of that error is if I do a --disable-video-x11.
So, what should I be looking for in configure.in?

Yacine SalmiOn 10 May 2001 19:33:31 +0200, Thomas Krennwallner wrote:

On Thu May 10, 2001 at 02:09:04PM +0100, the boisterous
Martin Donlon
wrote to me:

Make sure you run make clean and delete config.cache

The errors look like an old debian sid glibc problem. If you’re running
debian do a upgrade

I tried it with my Suse 7.0 and with and LFS 2.4.4, but the dga stuff was
always linked with SDL. This should be worth a configure.in fix.

Of course, If I disable video-x11, I basically can’t use any video
device. It seems to also disable openGL video even if I explicitely
specify it. I just want to get rid of that dga error. I’m so confused. I
don’t know where to look anymore.

Yacine SalmiOn 10 May 2001 19:33:31 +0200, Thomas Krennwallner wrote:

On Thu May 10, 2001 at 02:09:04PM +0100, the boisterous
Martin Donlon
wrote to me:

Make sure you run make clean and delete config.cache

The errors look like an old debian sid glibc problem. If you’re running
debian do a upgrade

I tried it with my Suse 7.0 and with and LFS 2.4.4, but the dga stuff was
always linked with SDL. This should be worth a configure.in fix.

./configure --prefix=/usr --disable-video-ggi --disable-video-svga
–disable-video-aalib --disable-video-dga --disable-video-x11-dgamouse
[snip]
DGA mouse is always available, --disable-video-x11-dgamouse just disables
using it by default. I’m adding a new configure option --disable-dga
which will prevent SDL from using DGA at all, either for mouse motion
or for a separate video driver. This will be in the next CVS snapshot.

Hmm, that’s very very odd. A few weeks ago I was trying to build SDL for the Agenda VR3, which does not have DGA support compiled for it yet. It seemed kinda fickle about loosing DGA completely, but:

--enable-video-x11 --disable-video-dga --disable-video-x11-dgamouse --disable-video-xv --disable-video-fbcon

did the trick.

Ross Vandegrift
coolio at tmbg.org
@Ross_Vandegrift

DGA mouse is always available, --disable-video-x11-dgamouse just disables
using it by default. I’m adding a new configure option --disable-dga
which will prevent SDL from using DGA at all, either for mouse motion
or for a separate video driver. This will be in the next CVS snapshot.

See ya!
-Sam Lantinga, Lead Programmer, Loki Software, Inc.

Sam,

I tried the cvs package. I still couldn’t manage to disable dga. Do I
need to use some other options on top of --disable-dga?

btw, I just received Tribes 2 for Linux yesterday, and all I can say is
great job! Actually, I do have a question about it. I know that this
isn’t exactly the right forum to ask, but it is relevant to SDL in a
way. Do you happen to know what code Loki is contributing to the V12
release by GarageGames? GarageGames said that the code for Linux will
probably not be available on release. I was just wondering if you would
consider giving the V12 community a hand in making it run when it does
come out.

Thanks,

Yacine Salmi

I tried the cvs package. I still couldn’t manage to disable dga. Do I
need to use some other options on top of --disable-dga?

I know for a fact that the CVS code uploaded an hour ago does honor
the --disable-dga flag. You probably need to unpack it in a fresh
directory and remove any other copies of SDL you may have installed.

btw, I just received Tribes 2 for Linux yesterday, and all I can say is
great job!

Thanks! :slight_smile:

Actually, I do have a question about it. I know that this
isn’t exactly the right forum to ask, but it is relevant to SDL in a
way. Do you happen to know what code Loki is contributing to the V12
release by GarageGames? GarageGames said that the code for Linux will
probably not be available on release. I was just wondering if you would
consider giving the V12 community a hand in making it run when it does
come out.

That’s all licensing stuff that I don’t have anything to do with.
I don’t know what the official Loki word on it is. Please direct any
future discussion on this topic to the Loki Tribes 2 newsgroup.
news://news.lokigames.com/loki.games.tribes2

See ya!
-Sam Lantinga, Lead Programmer, Loki Software, Inc.