I got SDL 1.2.12 compiled & installed. The UFO:AI compile lasted much longer this time:
dave@ubuntu:~/ufoai/trunk$ make * [UFO] src/client/cl_main.c
In file included from /usr/local/include/SDL/SDL_stdinc.h:137,
from /usr/local/include/SDL/SDL_main.h:26,
from /usr/local/include/SDL/SDL.h:28,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_error.h:30,
from /usr/local/include/SDL/SDL_audio.h:29,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_endian.h:47,
from /usr/local/include/SDL/SDL_audio.h:30,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_mutex.h:34,
from /usr/local/include/SDL/SDL_audio.h:31,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_thread.h:37,
from /usr/local/include/SDL/SDL_audio.h:32,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_rwops.h:33,
from /usr/local/include/SDL/SDL_audio.h:33,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_audio.h:35,
from /usr/local/include/SDL/SDL.h:30,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_cdrom.h:31,
from /usr/local/include/SDL/SDL.h:31,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_cpuinfo.h:31,
from /usr/local/include/SDL/SDL.h:32,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_active.h:31,
from /usr/local/include/SDL/SDL_events.h:30,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_keyboard.h:32,
from /usr/local/include/SDL/SDL_events.h:31,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_video.h:32,
from /usr/local/include/SDL/SDL_mouse.h:30,
from /usr/local/include/SDL/SDL_events.h:32,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_mouse.h:32,
from /usr/local/include/SDL/SDL_events.h:32,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_joystick.h:31,
from /usr/local/include/SDL/SDL_events.h:33,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_events.h:36,
from /usr/local/include/SDL/SDL.h:35,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_loadso.h:47,
from /usr/local/include/SDL/SDL.h:36,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_timer.h:31,
from /usr/local/include/SDL/SDL.h:40,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_version.h:30,
from /usr/local/include/SDL/SDL.h:42,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL.h:44,
from src/client/ref.h:36,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
In file included from /usr/local/include/SDL/SDL_syswm.h:32,
from src/client/ref.h:37,
from src/client/client.h:32,
from src/client/cl_main.c:29:
/usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive
* [UFO] ... linking (-ldl -lm -lz -lcurl -ljpeg -lpng -lSDL_ttf -lvorbisfile -lvorbis -logg -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread )
CFLAGS
-----------------------
-g -O2 -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DSHARED_EXT="so" -DHAVE_CONFIG_H -Wall -pipe -Winline -Wcast-qual -Wcast-align -ansi -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -ggdb -O0 -DDEBUG -fno-inline
-I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
LDFLAGS
-----------------------
-ldl -lm -lz -lcurl -ljpeg -lpng -lSDL_ttf -lvorbisfile -lvorbis -logg -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
However, when i try to run the game, i still get the original message about libvorbisfile. Any more hints?