Compiling errors with libraries

Home Forums Development Compiling errors with libraries

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23708
    HaugQuack
    Participant

    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 2

    So the libraries exist but they are skipped because “incompatible” O_o
    Any idea? I’m using the latest version of DevkitPPC (r24) on Linux.

    #29369
    Anonymous
    Inactive

    To 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Login

Lost Password