Skip to content

Instantly share code, notes, and snippets.

@hanetzer
Created June 9, 2014 05:24
Show Gist options
  • Save hanetzer/3b754e8aea64ad73141f to your computer and use it in GitHub Desktop.
Save hanetzer/3b754e8aea64ad73141f to your computer and use it in GitHub Desktop.
Undefined reference to Modplug
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xf): undefined reference to `ModPlug_Seek'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x31): undefined reference to `ModPlug_Seek'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x61): undefined reference to `ModPlug_Read'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x1fc): undefined reference to `ModPlug_Load'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x231): undefined reference to `ModPlug_GetLength'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x2b8): undefined reference to `ModPlug_SetSettings'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0x3d7): undefined reference to `ModPlug_SetSettings'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xc1): undefined reference to `ModPlug_Unload'
C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o):(.text+0xd5): undefined reference to `ModPlug_Unload'
C:\msys64\mingw64\bin\ld.exe: C:/msys64/mingw64/lib/libSDL_sound.a(modplug.o): bad reloc address 0x0 in section `.data'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [mkxp.exe] Error 1
make[1]: *** [CMakeFiles/mkxp.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment