Sonic and Sega Retro Message Board: Gens/gs II on 64-bit Linux - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 
Page 1 of 1

Gens/gs II on 64-bit Linux So close, yet so far

#1 User is offline CyberKitsune 

Posted 25 September 2010 - 11:30 PM

  • Posts: 79
  • Joined: 29-May 09
  • Gender:Male
  • Project:Figuring out what kind of Sonic fangame would be most unique
  • Wiki edits:52
CODE
cyberkitsune@cyberkitsune-laptop:~/gens-gs-ii$ git pull
Already up-to-date.
cyberkitsune@cyberkitsune-laptop:~/gens-gs-ii$ cmake .
-- Checking what CFLAG is required for C99:
-- Performing Test CFLAG_-std=gnu99
-- Performing Test CFLAG_-std=gnu99 - Success
-- Checking what CFLAG is required for C99: -std=gnu99
-- Checking what CXXFLAG is required to disable C++ RTTI:
-- Checking what CXXFLAG is required to disable C++ RTTI: none
-- Checking what CXXFLAG is required to disable C++ exceptions:
-- Checking what CXXFLAG is required to disable C++ exceptions: none
-- Performing Test CFLAG_-Wall
-- Performing Test CFLAG_-Wall - Success
-- Performing Test CFLAG_-Wextra
-- Performing Test CFLAG_-Wextra - Success
-- Performing Test LDFLAG_-Wl,-O1
-- Performing Test LDFLAG_-Wl,-O1 - Success
-- Performing Test LDFLAG_-Wl,--sort-common
-- Performing Test LDFLAG_-Wl,--sort-common - Success
-- Performing Test LDFLAG_-Wl,--as-needed
-- Performing Test LDFLAG_-Wl,--as-needed - Success
-- Loaded CMakeASM_NASMInformation - ASM_NASM support is still experimental, please report issues
-- Loaded CMakeASM_NASMInformation - ASM_NASM support is still experimental, please report issues
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cyberkitsune/gens-gs-ii
cyberkitsune@cyberkitsune-laptop:~/gens-gs-ii$ make
git_version.sh: Output has changed, updating /home/cyberkitsune/gens-gs-ii/git_version.h
[  0%] Built target git_version
[  3%] Built target minizip
[  8%] Built target 7z
[ 23%] Built target lzmabase
[ 26%] Built target zomg
[ 27%] Building ASM_NASM object src/libgens/mdZ80/CMakeFiles/mdZ80.dir/mdZ80_x86.asm.o
Linking C static library libmdZ80.a
[ 29%] Built target mdZ80
[ 30%] Built target star_s68k
[ 30%] Built target star_m68k
[ 34%] Built target starscream
Scanning dependencies of target gens
[ 34%] Building CXX object src/libgens/CMakeFiles/gens.dir/lg_main.cpp.o
Linking CXX static library libgens.a
[ 66%] Built target gens
Scanning dependencies of target gens-qt4
[ 67%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/gqt4_main.cpp.o
[ 68%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/GensWindow.cpp.o
[ 68%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/AboutWindow.cpp.o
[ 69%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/GensMenuBar.cpp.o
[ 70%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/EmuThread.cpp.o
[ 71%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/SigHandler.cpp.o
[ 71%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/VBackend/VBackend.cpp.o
[ 72%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/VBackend/GensQGLWidget.cpp.o
[ 73%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Input/KeyHandlerQt.cpp.o
[ 73%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/CtrlConfigWindow.cpp.o
[ 74%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Audio/GensPortAudio.cpp.o
[ 75%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/EmuManager.cpp.o
[ 76%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Audio/ABackend.cpp.o
[ 77%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Audio/ARingBuffer.cpp.o
[ 78%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/ZipSelectDialog.cpp.o
[ 79%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Input/EventKeys.cpp.o
[ 79%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/EmuManager_qEmu.cpp.o
[ 80%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/VBackend/GlTex2D.cpp.o
[ 81%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_GensWindow.cxx.o
[ 81%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_AboutWindow.cxx.o
[ 82%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_GensMenuBar.cxx.o
[ 83%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_EmuThread.cxx.o
[ 84%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_GensQApplication.cxx.o
[ 84%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/VBackend/moc_GensQGLWidget.cxx.o
[ 85%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_CtrlConfigWindow.cxx.o
[ 86%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_EmuManager.cxx.o
[ 86%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/VBackend/moc_MsgTimer.cxx.o
[ 87%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/moc_ZipSelectDialog.cxx.o
[ 88%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/Input/moc_EventKeys.cxx.o
[ 89%] Building CXX object src/gens-qt4/CMakeFiles/gens-qt4.dir/qrc_gens-qt4.cxx.o
Linking CXX executable gens-qt4
/usr/bin/ld: i386:x86-64 architecture of input file `../libgens/starscream/libstarscream.a(main68k.asm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../libgens/starscream/libstarscream.a(asm-wrapper.asm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../libgens/mdZ80/libmdZ80.a(mdZ80_x86.asm.o)' is incompatible with i386 output
CMakeFiles/gens-qt4.dir/Audio/GensPortAudio.cpp.o: In function `GensQt4::GensPortAudio::open()':
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:66: undefined reference to `Pa_Initialize'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:71: undefined reference to `Pa_GetErrorText'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:76: undefined reference to `Pa_GetDefaultOutputDevice'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:81: undefined reference to `Pa_Terminate'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:85: undefined reference to `Pa_GetDeviceInfo'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:90: undefined reference to `Pa_Terminate'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:109: undefined reference to `Pa_OpenStream'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:115: undefined reference to `Pa_GetErrorText'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:116: undefined reference to `Pa_Terminate'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:120: undefined reference to `Pa_StartStream'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:125: undefined reference to `Pa_GetErrorText'
CMakeFiles/gens-qt4.dir/Audio/GensPortAudio.cpp.o: In function `GensQt4::GensPortAudio::close()':
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:148: undefined reference to `Pa_StopStream'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:153: undefined reference to `Pa_GetErrorText'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:157: undefined reference to `Pa_CloseStream'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:162: undefined reference to `Pa_GetErrorText'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:167: undefined reference to `Pa_Terminate'
/home/cyberkitsune/gens-gs-ii/src/gens-qt4/Audio/GensPortAudio.cpp:172: undefined reference to `Pa_GetErrorText'
collect2: ld returned 1 exit status
make[2]: *** [src/gens-qt4/gens-qt4] Error 1
make[1]: *** [src/gens-qt4/CMakeFiles/gens-qt4.dir/all] Error 2
make: *** [all] Error 2
cyberkitsune@cyberkitsune-laptop:~/gens-gs-ii$

?????????????????

#2 User is offline SegaLoco 

Posted 25 September 2010 - 11:34 PM

  • W)(at did you say?
  • Posts: 999
  • Joined: 16-August 06
  • Gender:Male
  • Location:Corpus Christi, TX
  • Wiki edits:79
*sigh* Gens/GS still uses the cores from Gens, ergo Starscream ergo x86 code ergo you fail.

#3 User is offline CyberKitsune 

Posted 26 September 2010 - 12:06 AM

  • Posts: 79
  • Joined: 29-May 09
  • Gender:Male
  • Project:Figuring out what kind of Sonic fangame would be most unique
  • Wiki edits:52
So you're saying that if I want to compile it, I need to use a 32bit Chroot?
=/

#4 User is offline Conan Kudo 

Posted 26 September 2010 - 08:48 PM

  • 「真実はいつも一つ!」工藤新一
  • Posts: 477
  • Joined: 12-January 09
  • Gender:Male
  • Wiki edits:14
QUOTE (CyberKitsune @ Sep 26 2010, 12:06 AM)
So you're saying that if I want to compile it, I need to use a 32bit Chroot?
=/


This is why UAE or Syn68k should replace Starscream, aside from the legal issues....

#5 User is online GerbilSoft 

Posted 26 September 2010 - 09:35 PM

  • RickRotate'd.
  • Posts: 1960
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:158
You shouldn't *need* a 32-bit chroot. It should be possible to build Gens/GS II as 32-bit on AMD64, but it may require build system changes.

On a related note, we're considering holding a PC upgrade workshop at TechServ. One of the topics may be upgrading laptop CPUs. Specifically, I found that a Core 2 T5600 is around $30 on eBay, and my laptop is compatible with that CPU. So I might be upgrading to 64-bit soon. smile.png

#6 User is offline CyberKitsune 

Posted 27 September 2010 - 07:23 PM

  • Posts: 79
  • Joined: 29-May 09
  • Gender:Male
  • Project:Figuring out what kind of Sonic fangame would be most unique
  • Wiki edits:52
I tried compiling on a 32bit Kubuntu VM and the same PA Errors arise, I think PA isn't set to link for some reason.

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users