dimok789 / homebrew_launcher

WiiU Homebrew Launcher
GNU General Public License v3.0
405 stars 94 forks source link

Problem compiling rpx with latest libmad (and maybe dkppc r28) #23

Closed mariogamer2 closed 7 years ago

mariogamer2 commented 7 years ago

/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/6.2.0/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/libogc/lib/wii/libmad.a(frame.o): relocation R_PPC_EMB_SDA21 cannot be used when making a shared object /opt/devkitpro/libogc/lib/wii/libmad.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status

dimok789 commented 7 years ago

Use the portslibs from the release page.

dimok789 commented 7 years ago

Ah I think it conflicts with the one in your libogc. I forgot to remove search for libraries on the libogc path from the makefile of ELF version. Libogc is now not required at all. You can remove the one from your libogc as a temporary solution or remove the libogc lib path from makefile. I will commit a corrected makefile later.

mariogamer2 commented 7 years ago

I was thinking so too,thank for pointing me on it.

dimok789 commented 7 years ago

Done.