Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Fri 28/05/2004 08:11:08

Title: AGS Linux - relocation error compiling Allegro
Post by: on Fri 28/05/2004 08:11:08
I hope i post in the right Forum ;-)

I try the AGS Linux runtime but fall in Trouble :-(
I use the "ags-v2_60_693" version and have "allegro-4.1.12" installed, but if I try AGS  the following error accounted.

Compiled $ ./ags
./ags: relocation error: ./ags: undefined symbol: _mask_mmx_16

I don't know is that a problem with AGS or with  my self compiled Allegro version.

I hope you can help me :-)

My system
P4 1,8Ghz
756MB Ram
Gentoo Linux "stable"
Kernel 2.6.5

i use the following stuff in my make.conf

CFLAGS="-O2 -mcpu=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"

USE="mysql alsa dvd apm avi cdr cups dvb dvd encode flac flash foomaticdb gif gnome gnome2 gphoto2 gpm gtk gtk2 icq
jpeg mpeg opengl png quicktime samba scanner tiff truetype unicode usb wmf xinerama -qt -kde -arts"

Edit by strazer:

I'm moving this back to the regular forums since the new Linux versions have Allegro statically linked.
Title: Re: AGS Linux - relocation error
Post by: on Fri 28/05/2004 13:50:15
I fix the problem

you must add "mmx" to your Use Flags

USE="mmx mysql alsa dvd apm...