Closed Y2K-x closed 8 years ago
Other problem...
linking ... loadiine_gx2.elf /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/libogc/lib/wii/libmad.a(frame.o): the target (mad_timer_zero) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.data) /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/libogc/lib/wii/libmad.a(frame.o): the target (mad_timer_zero) of a R_PPC_EMBSDA21 relocation is in the wrong output section (.data) /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status /home//libwiiu/loadiine_gx2/Makefile:163: recipe for target '/home/nour/libwiiu/loadiine_gx2/loadiinegx2.elf' failed make[1]: ** [/home/_/libwiiu/loadiine_gx2/loadiinegx2.elf] Error 1 Makefile:141: recipe for target 'build' failed make: ** [build] Error 2
Also it's not normal that, for build,it's need sudo (and maybe admin colsole on windows) for build....
You dont need sudo for build. I build under user login on my linux. Your issue of the first post is that you didnt use the libogc from the release site and maybe even forgot the portlibs. https://github.com/dimok789/loadiine_gx2/releases/tag/v0.2
Didn't forgot portlib but forgot libogc :D Sorry...
also,when using make normal, it's giveme that the not granted permission.
like this: cc1plus: error: /opt/devkitpro/portlibs/ppc/include: Permission denied cc1plus: error: /opt/devkitpro/portlibs/ppc/include/freetype2: Permission denied
This is an issue because you set the permissions on those folders like that. Just change those permissions to allow "user" and maybe "others" to read that folder (recursivly). Its not a general issue, its just your setup.
Oh,it's was because I copied libogc and portlibs as sudo,changing the properties is ok...
Having some trouble compiling. I don't think I have all the dependencies needed. What are they? Thanks