Next Generation Emulation banner
1 - 1 of 1 Posts

· Registered
Joined
·
1 Posts
Discussion Starter · #1 · (Edited)
When compiling the newest SVN on Linux I get a few undefined reference errors.

Or rather, the error occurs during linking of gvbam.

Code:
Linking CXX executable gvbam
libvbamcore.a(GBA.o): In function `CPUReset()':
GBA.cpp:(.text+0x2e30): undefined reference to `systemCartridgeRumble(bool)'
libvbamcore.a(RTC.o): In function `rtcWrite(unsigned int, unsigned short)':
RTC.cpp:(.text+0x184): undefined reference to `systemCartridgeRumble(bool)'
RTC.cpp:(.text+0x29c): undefined reference to `systemCartridgeRumble(bool)'
libvbamcore.a(RTC.o): In function `rtcRead(unsigned int)':
RTC.cpp:(.text+0x600): undefined reference to `systemGetSensorDarkness()'
RTC.cpp:(.text+0x621): undefined reference to `systemGetSensorZ()'
libvbamcore.a(GB.o): In function `gbReset()':
GB.cpp:(.text+0x100b1): undefined reference to `systemCartridgeRumble(bool)'
libvbamcore.a(gbMemory.o): In function `mapperMBC5ROM(unsigned short, unsigned char)':
gbMemory.cpp:(.text+0x2a67): undefined reference to `systemCartridgeRumble(bool)'
gbMemory.cpp:(.text+0x2a7f): undefined reference to `systemPossibleCartridgeRumble(bool)'
collect2: ld returned 1 exit status
make[2]: *** [gvbam] Error 1
make[1]: *** [CMakeFiles/gvbam.dir/all] Error 2
make: *** [all] Error 2
Edit: Nevermind, it looks like these functions aren't implemented yet, so the revision is broken. I just wrote dummy functions for these and it compiled fine.
 
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top