Cross Compiling fails on nmixer

Help
Overunity
2009-03-25
2013-04-16
  • Overunity
    Overunity
    2009-03-25

    here is there output, someone who got an idea ?

    mipsel-linux-g++  -g -O2  -L/share/ncurses/lib -L../mpegsound -L../nmixer -o nmixer main.o -lncurses  -lnmixer -lpthread -lm  -lpthread
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:539: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:540: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:541: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:542: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:544: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:545: more undefined references to `wchgat' follow
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:292: undefined reference to `move'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:243: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:233: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:222: undefined reference to `wchgat'
    ../nmixer/libnmixer.a(nmixer.o):/root/popcorn/smp/mp3blaster-3.2.5/nmixer/nmixer.cc:287: undefined reference to `wchgat'
    collect2: ld returned 1 exit status
    make[1]: *** [nmixer] Error 1
    make[1]: Leaving directory `/root/popcorn/smp/mp3blaster-3.2.5/nmixer'
    make: *** [install-recursive] Error 1

     
    • The problem is in Makefile.am in nmixer. The line that reads LDADD           = @NCURSES_LIBS@ @NAS_LIBS@ @LIBNMIXER@ should read LDADD           = @LIBNMIXER@ @NCURSES_LIBS@ @NAS_LIBS@.