Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Member srasher's Avatar
    Join Date
    Jun 2006
    Location
    Bochum, Germany
    Posts
    85

    Compilation on AMD64

    I am running Gentoo Linux on an AMD64 machine (OS also in 64 bit mode). Unfortunately it seems that some portion of the make process does not work on AMD64 (or at least on my system):

    Code:
      ...
    
    gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.15\" -DBUILD_DLL -I. -I. -I/build/linux/include -I/build/linux/include/SDL -I/build/linux/include/freetype2 -g -DUSE_MMX -I/build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT SDL_imageFilter.lo -MD -MP -MF .deps/SDL_imageFilter.Tpo -c SDL_imageFilter.c  -fPIC -DPIC -o .libs/SDL_imageFilter.lo
    /tmp/ccYPXlgg.s: Assembler messages:
    /tmp/ccYPXlgg.s:50: Error: `pusha' is not supported in 64-bit mode
    /tmp/ccYPXlgg.s:54: Error: `popa' is not supported in 64-bit mode
    
      ...
    
    make[1]: *** [SDL_imageFilter.lo] Error 1
    make[1]: Leaving directory `/home/srasher/Hobbykeller/Slim/Jive/trunk/jive/src/pkg/SDL_gfx-2.0.15'
    make: *** [sdl-gfx] Error 2
    Anyone experienced something similar? Any ideas?

    Thanks very much in advance!

    Cheers,
    Sebastian
    "The only word I know is 'Grunt' - and I can't spell it" (R.I.P. D.A.)

  2. #2
    Senior Software Engineer - Logitech/Slim Devices
    Join Date
    Apr 2005
    Location
    Ipswich, UK
    Posts
    1,394
    I have not had this error myself, but googling suggests adding --disable-mmx to the configure options for the SDL_gfx package (see http://www.ferzkopp.net/joomla/content/view/19/14/). You can add this option by editing Makefile.linux. To make sure that the configure script is run again make sure you also run 'make distclean' in the SDL_gfx package.

    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •