Jump to content
Visual Boy Advance-M

eggspect

Members
  • Content Count

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About eggspect

  • Rank
    Newbie
  • Birthday 01/01/1987
  1. eggspect

    Compiling under Linux fails, SDL related

    Config: option( ENABLE_SDL "Build the SDL port" ON ) option( ENABLE_GTK "Build the GTK+ GUI" OFF ) option( ENABLE_DEBUGGER "Enable the debugger" ON ) option( ENABLE_NLS "Enable translations" ON ) option( ENABLE_ASM_CORE "Enable x86 ASM CPU cores" ON ) option( ENABLE_ASM_SCALERS "Enable x86 ASM graphic filters" ON ) option( ENABLE_LINK "Enable GBA linking functionality" OFF ) option( ENABLE_LIRC "Enable LIRC support" OFF ) Compile: [ 89%] Building CXX object CMakeFiles/vbam.dir/src/sdl/filters.cpp.o ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp: Assembler messages: ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:627: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:638: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:640: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:651: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:653: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:655: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:666: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:668: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:670: Error: suffix or operands invalid for `call' ~/vbam/branches/Pre-Wx/src/sdl/filters.cpp:672: Error: suffix or operands invalid for `call' make[2]: *** [CMakeFiles/vbam.dir/src/sdl/filters.cpp.o] Error 1 make[1]: *** [CMakeFiles/vbam.dir/all] Error 2 make: *** [all] Error 2 Clearly not a branch issue. Notice that the lines in filters.cpp are the same as in the main trunk. Btw, I installed SDL 1.2.14 from source.
  2. I altered my CMakeLists.txt a little, the changes from default (SVN r1030) are: option( ENABLE_WX "Build the wxWidgets port" OFF ) option( ENABLE_SDL "Build the SDL port" ON ) option( ENABLE_GTK "Build the GTK+ GUI" OFF ) option( ENABLE_DEBUGGER "Enable the debugger" ON ) option( ENABLE_NLS "Enable translations" ON ) option( ENABLE_ASM_CORE "Enable x86 ASM CPU cores" ON ) option( ENABLE_ASM_SCALERS "Enable x86 ASM graphic filters" ON ) Building without GTK+ because GNOME is dying of AIDS and cancer. Config is okay. -- Loaded CMakeASM_NASMInformation - ASM_NASM support is still experimental, please report issues -- Configuring done -- Generating done -- Build files have been written to: ~/vbam/trunk Compilation fails at: [ 94%] Building CXX object CMakeFiles/vbam.dir/src/sdl/filters.cpp.o ~/vbam/trunk/src/sdl/filters.cpp: Assembler messages: ~/vbam/trunk/src/sdl/filters.cpp:627: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:638: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:640: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:651: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:653: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:655: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:666: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:668: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:670: Error: suffix or operands invalid for `call' ~/vbam/trunk/src/sdl/filters.cpp:672: Error: suffix or operands invalid for `call' make[2]: *** [CMakeFiles/vbam.dir/src/sdl/filters.cpp.o] Error 1 make[1]: *** [CMakeFiles/vbam.dir/all] Error 2 make: *** [all] Error 2 Platform: Linux 2.6 amd64 inb4 someone makes fun of line numbers What's the matter with this function? Why can't it compile? The same happens when I disable NASM.
×