Error when build in Ubuntu 14.04

121 views
Skip to first unread message

duong thanh long

unread,
Nov 23, 2015, 7:44:02 AM11/23/15
to phnrec
Hi, 
When I build using 
make -f makefile.lin
It said 
make[1]: Entering directory `/home/long/WorkMelb/Tools/PhnRec/STKLib'
echo "Done :-)"
Done :-)
make[1]: Leaving directory `/home/long/WorkMelb/Tools/PhnRec/STKLib'
g++ -LSTKLib  phnrec.o melbanks.o dspc.o traps.o nn.o configz.o alaw.o lwfsource.o netgen.o srec.o filename.o kwsnetg.o thresholds.o encode.o myrand.o lexicon.o gptrans.o fsm.o fsmcache.o phntrans.o phntranscheck.o norm.o decoder.o phndec.o stkinterface.o plp.o sxmlparser.o getopt.o  -lSTKLib -l pthread -l cblas -l atlas -o phnrec
/usr/bin/ld: skipping incompatible STKLib/libSTKLib.a when searching for -lSTKLib
/usr/bin/ld: cannot find -lSTKLib
collect2: error: ld returned 1 exit status
make: *** [phnrec] Error 1

Build without blas results in errors too
make -f makefile_noblas.lin
(cd STKLib; make -f Makefile.lin; cd ..)
make[1]: Entering directory `/home/long/WorkMelb/Tools/PhnRec/STKLib'
echo "Done :-)"
Done :-)
make[1]: Leaving directory `/home/long/WorkMelb/Tools/PhnRec/STKLib'
g++ -LSTKLib  phnrec.o melbanks.o dspc.o traps.o nn.o configz.o alaw.o lwfsource.o netgen.o srec.o filename.o kwsnetg.o thresholds.o encode.o myrand.o lexicon.o gptrans.o fsm.o fsmcache.o phntrans.o phntranscheck.o norm.o decoder.o phndec.o stkinterface.o plp.o sxmlparser.o getopt.o  -lSTKLib -l pthread -o phnrec
/usr/bin/ld: skipping incompatible STKLib/libSTKLib.a when searching for -lSTKLib
/usr/bin/ld: cannot find -lSTKLib
collect2: error: ld returned 1 exit status
make: *** [phnrec] Error 1

Thanks, 
Long Duong 

Reply all
Reply to author
Forward
0 new messages