Displaying 2 results from an estimated 2 matches for "exe0".
Did you mean:
0xe0
2012 Mar 06
1
Help about error in linking to libspeex.a
Thanks for the reply,
i added (LDFLAGS += -L/usr/local/lib -lspeex -lm) to Makefilebut the error is still appearing !
/tmp/ccDFH8gi.o(.text+0x179c): In function `main':
: undefined reference to `BlinkC$speex_bits_init'
collect2: ld returned 1 exit status
make: *** [exe0] Error 1
i am trying to guess what is missed to correctly link to the lib .Do you have suggestions?
Regards,
Mash'al
________________________________
From: "speex-dev-request at xiph.org" <speex-dev-request at xiph.org>
To: speex-dev at xiph.org
Sent: Tuesday, March 6,...
2012 Mar 06
1
Help about error in linking to libspeex.a
...n the /usr/local/lib with libogg.a compiled as well. but i when i link the library to my program (by adding LDFLAGS += -lspeex -lm ), and try to compile, i get this error:
/usr/lib/gcc/xscale-elf/3.4.3/../../../../xscale-elf/bin/ld: cannot find -lspeex
collect2: ld returned 1 exit status
make: *** [exe0] Error 1
i passed? ./configure options as :
./configure --host=xscale-elf
it's likely that the linker can't see libspeex.a , and i also tried the line? LDFLAGS += /usr/local/lib/libspeex.a -lm in Makefile but got another error(also in linking):
/tmp/ccvi7Pns.o(.text+0x179c): In function...