I’ve had this problem on and off and found “wierd” workarounds –
I decided to discover a repeatable sequence for this.
I’m running ubuntu 7.10 (I’m not sure which svga package I’m missing – but…
should it matter?)
Configuring without special options I get:
/bin/bash ./libtool --mode=compile gcc -g -O2 -Iinclude -I/usr/local/src/SDL/svn/trunk/SDL/include -D_GNU_SOURCE=1 -mmmx -m3dnow -msse -msse2 -fvisibility=hidden -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c /usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgaevents.c -o build/SDL_svgaevents.lo
gcc -g -O2 -Iinclude -I/usr/local/src/SDL/svn/trunk/SDL/include -D_GNU_SOURCE=1 -mmmx -m3dnow -msse -msse2 -fvisibility=hidden -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c /usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgaevents.c -fPIC -DPIC -o build/.libs/SDL_svgaevents.o
In file included from /usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgaevents.c:40:
/usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgavideo.h:31:1: warning: “_THIS” redefined
In file included from /usr/local/src/SDL/svn/trunk/SDL/src/video/svga/…/…/events/SDL_sysevents.h:24,
from /usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgaevents.c:38:
/usr/local/src/SDL/svn/trunk/SDL/src/video/svga/…/…/events/…/video/SDL_sysvideo.h:173:1: warning: this is the location of the previous definition
/usr/local/src/SDL/svn/trunk/SDL/src/video/svga/SDL_svgaevents.c: In function ‘SVGA_mousecallback’:
@
When I do the --disable-video-svga option, the problem disappears…
marty