Hello everyone,

  Now I'm trying to do merging on one program(faad2-2.7). When I try to "make" it using cilly with the option "--merge", it complains "file not recognized: File format not recognized". Here is i'm trying:

make CC="/home/username/cil/bin/cilly --merge --keepmerged"

the errors:
/bin/bash ../libtool --tag=CC --mode=link /home/simon/cil/bin/cilly --merge --keepmerged -iquote ../include -g -O2   -o libfaad.la -rpath /usr/local/lib -version-info 2:0:0 bits.lo cfft.lo decoder.lo drc.lo drm_dec.lo error.lo filtbank.lo ic_predict.lo is.lo lt_predict.lo mdct.lo mp4.lo ms.lo output.lo pns.lo ps_dec.lo ps_syntax.lo pulse.lo specrec.lo syntax.lo tns.lo hcr.lo huffman.lo rvlc.lo ssr.lo ssr_fb.lo ssr_ipqf.lo common.lo sbr_dct.lo sbr_e_nf.lo sbr_fbt.lo sbr_hfadj.lo sbr_hfgen.lo sbr_huff.lo sbr_qmf.lo sbr_syntax.lo sbr_tf_grid.lo sbr_dec.lo -lm

gcc -shared  .libs/bits.o .libs/cfft.o .libs/decoder.o .libs/drc.o .libs/drm_dec.o .libs/error.o .libs/filtbank.o .libs/ic_predict.o .libs/is.o .libs/lt_predict.o .libs/mdct.o .libs/mp4.o .libs/ms.o .libs/output.o .libs/pns.o .libs/ps_dec.o .libs/ps_syntax.o .libs/pulse.o .libs/specrec.o .libs/syntax.o .libs/tns.o .libs/hcr.o .libs/huffman.o .libs/rvlc.o .libs/ssr.o .libs/ssr_fb.o .libs/ssr_ipqf.o .libs/common.o .libs/sbr_dct.o .libs/sbr_e_nf.o .libs/sbr_fbt.o .libs/sbr_hfadj.o .libs/sbr_hfgen.o .libs/sbr_huff.o .libs/sbr_qmf.o .libs/sbr_syntax.o .libs/sbr_tf_grid.o .libs/sbr_dec.o  -lm  -Wl,-soname -Wl,libfaad.so.2 -o .libs/libfaad.so.2.0.0
.libs/bits.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status

the very same problem was discussed nearly three years ago at
http://sourceforge.net/mailarchive/message.php?msg_id=19319722
but it seems no one have thrown one perfect answer.

anyone interested in reproducing this issue is encouraged to download the codes:
http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz

any ideas?
--
Simon