cheeky
Fri, 25 May 2007 02:21:15 -0700
I'd like to mention a couple of things. 1. Did you specify correct loader path? Make sure the path and the parameters when calling the loader. There are different ways to call loader, directly ld or gcc as a driver. 2. You seem to want to build xmame based on SDL. You won't need to build xmame.X11. If you want to build it, too, check if you've already built X11 library. 3. Make sure you will use joysticks. If you want to use joysticks you will have to build both SDL library and xmame with supporting joysticks. ps. You look like a Korean. :) Of course, I'm Korean, too. changho kim wrote: > Hi guys > When i compiled Xmame, i got this error > > /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: warning: > libX11.so.6, needed by /usr/sdl//lib/libSDL.so, not found (try using > -rpath or -rpath-link) > /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: warning: > libXext.so.6, needed by /usr/sdl//lib/libSDL.so, not found (try using > -rpath or > -rpath-link)xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x1c): > In function `joy_SDL_init': > : undefined reference to `SDL_NumJoysticks' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x58): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickName' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x6c): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickOpen' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x88): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickNumButtons' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x94): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickNumHats' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0xa0): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickNumBalls' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0xac): In function > `joy_SDL_init': > : undefined reference to `SDL_JoystickNumAxes' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x1b4): In > function `joy_SDL_poll': > : undefined reference to `SDL_JoystickUpdate' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x208): In > function `joy_SDL_poll': > : undefined reference to `SDL_JoystickGetAxis' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x220): In > function `joy_SDL_poll': > : undefined reference to `SDL_JoystickNumAxes' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x26c): In > function `joy_SDL_poll': > : undefined reference to `SDL_JoystickNumHats' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x298): In > function `joy_SDL_poll': > : undefined reference to `SDL_JoystickGetHat' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x310): In > function `$a': > : undefined reference to `SDL_JoystickGetBall' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x318): In > function `$a': > : undefined reference to `SDL_JoystickNumBalls' > xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x388): In > function `$a': > : undefined reference to `SDL_JoystickGetButton' > > In my opinion, this problem caused by SDL library... > After, I install SDL library in /usr/sdl(--prefix=/usr/sdl), i modify > Xmame Makefile about sdl-config > (SDL-CONFIG=sdl-config -> SDL-CONFIG=/usr/sdl/bin/sdl-config) > But, error message continue~~ > If you know wht i face to this problem, tell me!! _______________________________________________ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame