This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems cross-compiling TiMidity


Looks like it's using your default ld  instead of the one in your
cross-compiler tool chain
Andy

>i tried to take the TiMidity++ 2.10.2 midi-player app, and compile it to
>StrongArm cpu, on Assabet platform (sa-1110 dev. board).
>
>my system is :redhat 6.2, kernel 2.2.14-50 (zoot), pentium III (i686)
>
>i built the cross-compiler (arm-linux-gcc) from these versions:
>
>kernel-2.2.7
>kernel-2.2.7-rmk5
>=============
>binutils-2.9.1.0.19a
>binutils-2.9.1.0.19a-arm-diff-981230
>============
>egcs-1.1.2
>egcs-1.1.2-arm-diff-990325
>==========
>glibc-2.1.3
>glibc-linuxthreads 2.1.3
>glibc-crypt-2.1
>===========
>
>i've done the configure and make by this syntax:
>
>$./configure arm-linux --prefix=/home/arm/apps/TiMidity-2.10.2/ --without-x
>=(it did fine.)
>$make CC=arm-linux-gcc
>=now i got some warnings and errors:
>configure.in:314: warning: AC_TRY_RUN called without default to allow cross
>compiling
>configure.in:315: warning: AC_TRY_RUN called without default to allow cross
>compiling
>configure.in:344: warning: AC_TRY_RUN called without default to allow cross
>compiling
>
>and finally this temninating error:
>
>arm-linux-gcc  -O2 -L/home/arm/apps/TiMidity-2.10.2//lib -L/usr/local/lib -o
>timidity  aiff_a.o aq.o au_a.o audio_cnv.o common.o controls.o effect.o
>filter.o instrum.o list_a.o loadtab.o miditrace.o mix.o mod.o mod2midi.o
>output.o playmidi.o raw_a.o rcp.o readmidi.o recache.o resample.o reverb.o
>sbkconv.o sffile.o sfitem.o smfconv.o sndfont.o tables.o timidity.o
>version.o wave_a.o wrd_read.o wrdt.o oss_a.o
>../interface/libinterface.a ../libarc/libarc.a      ../libunimod/libunimod.a
>../utils/libutils.a       -lm  -ldl
>aiff_a.o: file not recognized: File format not recognized
>collect2: ld returned 1 exit status
>make[2]: *** [timidity] Error 1
>
>please help !
>
>Regards,
>
>Gad Hayisraeli
>C.T.O.
>SoftGen Ltd.
>E-Mail: gad@syete.co.il
>
>
>
>------
>Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]