hi there
in order to compile famous lincity-ng i need to install SDL_gfx first, since the installation notes say you need to compile SDL from source in order to compile SDL_gfx i did the following:
i UNinstalled sdl_1.2.9_armv5tel.ipk which i had installed before from
www.pdaxrom.org, got the SDL-1.2.9 source and installed it by the usual ./configure make make install
then when configuring SDL_gfx i get the following error message:
checking for SDL - version >= 1.2.0... no
*** could not run SDL test program, checking why...
*** the test program failed to compile or link. see the file config.log for the
*** exact error that occured. this usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. in the latter case, you
*** may want to edit the sdl-config script: /opt/native/arm/3.4.5-xscale-softvfp/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!
config.log gives:
configure:6345: gcc -o conftest -g -O2 -DUSE_MMX -I/opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include/SDL -D_REENTRANT conftest.c -lm -L/opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -Wl,-rpath,/opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -lSDL -lpthread >&5
/usr/local/lib/libSDL.so: undefined reference to `DISKAUD_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickUpdate'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickOpen'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickQuit'
/usr/local/lib/libSDL.so: undefined reference to `DSP_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_CDInit'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickName'
/usr/local/lib/libSDL.so: undefined reference to `X11_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `ESD_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `DMA_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `FBCON_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `DUMMY_bootstrap'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickInit'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_JoystickClose'
/usr/local/lib/libSDL.so: undefined reference to `SDL_SYS_CDQuit'
/usr/local/lib/libSDL.so: undefined reference to `DGA_bootstrap'
collect2: ld returned 1 exit status
configure:6351: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "SDL_gfx"
| #define VERSION "2.0.13"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
|
| #include <stdio.h>
| #include "SDL.h"
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:6392: error: *** SDL version 1.2.0 not found!
what makes me confused is the line
"*** may want to edit the sdl-config script: /opt/native/arm/3.4.5-xscale-softvfp/bin/sdl-config"
since i don't think *I* installed my SDL there, i think, this belongs somehow to gcc or something
how can i make zaurus use *MY* sdl? or what else am i missing?
many thanks in advance
seb