Hi Milan.

Thank you for your advice.

I tried to use solaris ld and added -mimpure-text to LDFLAGS in Makefile(after 
run configure).

$ make
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -mimpure-text -o 
amrwb-decoder  decoder.o libamrwb.la -lm
gcc -g -O2 -mimpure-text -o .libs/amrwb-decoder decoder.o  ./.libs/libamrwb.so 
-lm -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
D_IF_conversion                     ./.libs/libamrwb.so
D_IF_decode                         decoder.o
E_IF_if2_conversion                 ./.libs/libamrwb.so
ld: fatal: Symbol referencing errors. No output written to .libs/amrwb-decoder
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `amrwb-decoder'

then I also tried to added -mimpure-text to CFLAGS.
but, the result was the same.

for instance, one of undefined symbol is defined in "dec_if.c".
fundamentally, I guess some of c files must be complied before linking and need 
for linking.

I would check Makefile to find something wrong.

Yusuke
-- 
This message posted from opensolaris.org

Reply via email to