I would like to be able to install VICE (https://vice-emu.sourceforge.io) from Haiku depo.
Currently I am building from source and that is not working very well.
Last version had ‘make bindist’ that generated a new folder with all the compiled binaries. Seems like this was removed in the last version.
The latest official version of VICE (c64 emulator) does now build and work well in Haiku.
Hi! Did you need to change something to get it built successfully? I am trying in Haiku 32 bit and got stuck at this step:
/boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbeos.cc:82: undefined reference to `BGameSound::operator new(unsigned long)'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: /boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbeos.cc:82: undefined reference to `BPushGameSound::BPushGameSound(unsigned long, gs_audio_format const*, unsigned long, BGameSoundDevice*)'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: /boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbeos.cc:83: undefined reference to `BGameSound::InitCheck() const'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: ../src/arch/shared/sounddrv/libsounddrv.a(soundbsp.o): in function `bsp_suspend()':
/boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:199: undefined reference to `BSoundPlayer::Stop(bool, bool)'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: ../src/arch/shared/sounddrv/libsounddrv.a(soundbsp.o): in function `bsp_init(char const*, int*, int*, int*, int*)':
/boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:115: undefined reference to `BSoundPlayer::BSoundPlayer(media_raw_audio_format const*, char const*, void (*)(void*, void*, unsigned long, media_raw_audio_format const&), void (*)(void*, BSoundPlayer::sound_player_notification, ...), void*)'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: /boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:116: undefined reference to `BSoundPlayer::InitCheck()'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: /boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:126: undefined reference to `BSoundPlayer::Start()'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: /boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:131: undefined reference to `BSoundPlayer::SetHasData(bool)'
/boot/system/develop/tools/x86/bin/../lib/gcc/i586-pc-haiku/11.2.0/../../../../i586-pc-haiku/bin/ld: ../src/arch/shared/sounddrv/libsounddrv.a(soundbsp.o): in function `bsp_resume()':
/boot/home/Desktop/vice-3.7/src/arch/shared/sounddrv/soundbsp.cc:206: undefined reference to `BSoundPlayer::Start()'
Thank you!!!
I compiled like this:
./configure —disable-pdf-docs
make
make bindist
No other changes. The error you get must be something else.
Try to disable the sound when you build VICE. The error looks to be sound related. Maybe the sound library in the 32-bit version lack some functions.
Did you try using setarch
before building, maybe it can’t be built with gcc2 (anymore)?
It seems he was using GCC11:
The libraries are identican and don’t mysteriously lack functions on 32 bit systems. It looks like the build script forgot to link in the game kit where BSoundPlayer is found, so you have to find a way to add -lgame" to the compiler command line.
Yep, i didn’t pay attention to the paths.