Compiling errors with libraries
Home › Forums › Development › Compiling errors with libraries
- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
August 23, 2011 at 2:30 pm #23708HaugQuackParticipant
I followed all the instructions letter by letter, the compilation works without issues until the last step, the linking of libraries, where I get this error:
linking ... wiimc.elf
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: skipping incompatible /opt/devkitpro/portlibs/ppc/lib/libfribidi.a when searching for -lfribidi
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: cannot find -lfribidi
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: skipping incompatible /opt/devkitpro/portlibs/ppc/lib/libiconv.a when searching for -liconv
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: cannot find -liconv
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: skipping incompatible /opt/devkitpro/portlibs/ppc/lib/libpcrecpp.a when searching for -lpcrecpp
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: cannot find -lpcrecpp
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: skipping incompatible /opt/devkitpro/portlibs/ppc/lib/libpcre.a when searching for -lpcre
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: cannot find -lpcre
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: skipping incompatible /opt/devkitpro/portlibs/ppc/lib/libexif.a when searching for -lexif
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.6.1/../../../../powerpc-eabi/bin/ld: cannot find -lexif
collect2: ld returned 1 exit status
make[1]: *** [/home/redsquirrel/WiiMC/wiimc/wiimc.elf] Errore 1
make: *** [build] Errore 2So the libraries exist but they are skipped because “incompatible” O_o
Any idea? I’m using the latest version of DevkitPPC (r24) on Linux.January 14, 2012 at 4:58 pm #29369AnonymousInactiveTo solve this you should make sure that before running the configure you have the devkitPPC compiler on your path. Normally you would do:
export PATH=${DEVKITPPC}/bin:$PATH
This assume that you have the DEVKITPPC set including the DEVKITPPC variable.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.