Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

nios2-linux-uclibc-ld.real: cannot find -lieee

Hi, I'm tryining to compile dist10 mp3 decoder source for UcLinux but this appears when I run the make file

$ nios2-linux-gcc -o decode common.o decode.o huffman.o ieeefloat.o musicout.o portableio.o -lm -lieee

/opt/nios2/usr/bin/nios2-linux-uclibc-ld.real: cannot find -lieee

On gcc everthing runs great but I've this problem. Anybody has suggestions that helps me to solve this problem??

Many thanks for any help

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When I run $ locate libieee this appears:

    /usr/lib/libieee.a

    /usr/lib/libieee1284.so.3

    /usr/lib/libieee1284.so.3.2.2

    /usr/lib/xen/libieee.a

    /usr/share/doc/libieee1284-3

    /usr/share/doc/libieee1284-3/README

    /usr/share/doc/libieee1284-3/TODO

    /usr/share/doc/libieee1284-3/changelog.Debian.gz

    /usr/share/doc/libieee1284-3/changelog.gz

    /usr/share/doc/libieee1284-3/copyright

    /var/lib/dpkg/info/libieee1284-3.list

    /var/lib/dpkg/info/libieee1284-3.md5sums

    /var/lib/dpkg/info/libieee1284-3.postinst

    /var/lib/dpkg/info/libieee1284-3.postrm

    /var/lib/dpkg/info/libieee1284-3.shlibs

    libieee.a doens't appears on gcc-toolchain.. what I should do to include it?

    Updated:

    I just modified these MakeFile lines an works correctly

    CC = gcc

    CC = nios2-linux-gcc

    LIBS = -lm lbieee

    LIBS = -lm