xmame  

Re: [Xmame] Error compile Xmame for SDL

Luo Yong
Sun, 27 May 2007 03:29:43 -0700

/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)

This is the problem.You don't  have libX11 in your machine.

On 5/27/07, changho kim <[EMAIL PROTECTED]> wrote:
Do your tip applied cross-compile?

I change DISPLAY_METHOD to SDL on i386, this execute well


2007/5/27, Luo Yong <[EMAIL PROTECTED]>:
>
> Don't modify the makefile.
>
> Just do:
> make -f makefile.unix DISPLAY_METHOD=SDL
>
> Everything is OK.
>
> The only thing you need to do is that make sure sdl-config in
> installed in your machine.
>
> On 5/24/07, changho kim <[EMAIL PROTECTED]> 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
>



_______________________________________________
Xmame mailing list
Xmame@toybox.twisted.org.uk
http://toybox.twisted.org.uk/mailman/listinfo/xmame