SDL link error
Posted: Sun Mar 20, 2022 5:14 pm
Hi,
I try compile OpenXcom for Wii. It uses SDL lib.
I have these errors:
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_init':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:12: undefined reference to `ModPlug_GetSettings'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:62: undefined reference to `ModPlug_SetSettings'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_setvolume':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:74: undefined reference to `ModPlug_SetMasterVolume'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_new_RW':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:97: undefined reference to `ModPlug_Load'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_play':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:124: undefined reference to `ModPlug_Seek'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_playAudio':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:142: undefined reference to `ModPlug_Read'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:189: undefined reference to `ModPlug_Read'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_delete':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:229: undefined reference to `ModPlug_Unload'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_jump_to_time':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:236: undefined reference to `ModPlug_Seek'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitPPC/wii_rules:30: /e/WIIdev/OpenXcom-master/OpenXcom-master.elf] Errore 1
make: *** [Makefile:108: build] Errore 2
Can someone help me?
Thanks.
I try compile OpenXcom for Wii. It uses SDL lib.
I have these errors:
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_init':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:12: undefined reference to `ModPlug_GetSettings'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:62: undefined reference to `ModPlug_SetSettings'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_setvolume':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:74: undefined reference to `ModPlug_SetMasterVolume'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_new_RW':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:97: undefined reference to `ModPlug_Load'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_play':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:124: undefined reference to `ModPlug_Seek'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_playAudio':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:142: undefined reference to `ModPlug_Read'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:189: undefined reference to `ModPlug_Read'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_delete':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:229: undefined reference to `ModPlug_Unload'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/wii/lib\libSDL_mixer.a(music_modplug.o): in function `modplug_jump_to_time':
/home/davem/projects/devkitpro/pacman-packages/wii/SDL_mixer/src/SDL_mixer-1.2.12/music_modplug.c:236: undefined reference to `ModPlug_Seek'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitPPC/wii_rules:30: /e/WIIdev/OpenXcom-master/OpenXcom-master.elf] Errore 1
make: *** [Makefile:108: build] Errore 2
Can someone help me?
Thanks.