[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File in wrong format
Benjamin Klimpel wrote:
> Does anybody knows whats this means?
> linux:/axis/axis/test/ghostscript-7.07 # ./obj/gs.o: could not read
> symbols: File in wrong format
> -bash: ./obj/gs.o:: No such file or directory
This most likely means gs.o was compiled for a different architecture
than expected (i.e. you are trying
to link an object compiled for cris with one compiled for x86).
> i started the configure with this:
> env AS=cris-as CC="cris-gcc -mlinux" OBJCOPY="objcopy-cris" LD="ld-cris \
> -mcrislinux" RANLIB=cris-ranlib AR=cris-ar NM=cris-nm STRIP=cris-strip \
> ./configure --host=cris-axis-linux-gnu
I'm pretty sure that's not correct - unless you are actually compiling
on the Etrax itself, you should
start configure with '--target=cris-axis-linux-gnu' (--host specifies
the system you are compiling on,
and rarely needs to be expicitely set, since configure can usually
figure this out by itself).
With kind regards,