Error: cross compile libtiff



Hello,

I still try to cross compile GTK+.
GTK+ needs tiff, png and jpeg support.
I have a problem with libtiff.
____________________________________
I am configuring with these options:

config.log...
...
Running ./configure with arguments:
--prefix=/home/albrecht.ellinger/gtkTest --target=mipsel-linux
...
_______________________________________
in config.site I changed the following:

CC="mipsel-linux-gcc"		# name/pathname of C compiler
LDFLAGS="-Wl,-O"                # Special linker flags.

__________________________________________
When I make the following error occures:


make[1]: Entering directory
`/home/albrecht.ellinger/gtkUpdate/mipsel/tiff/tiff-v3.6.1/libtiff'
/opt/emlix/netdcu6/bin/mipsel-linux-gcc -o mkversion -g -O  -I.
-I../libtiff   ../libtiff/mkversion.c
rm -f ../libtiff/tiffvers.h
./mkversion -v .././VERSION -r .././RELEASE-DATE ../libtiff/tiffvers.h
./mkversion: ./mkversion: cannot execute binary file
make[1]: *** [../libtiff/tiffvers.h] Error 126
make[1]: Leaving directory
`/home/albrecht.ellinger/gtkUpdate/mipsel/tiff/tiff-v3.6.1/libtiff'
make: *** [all] Error 2

___________________________________
Why does make try to run mkversion?

This is a binary file for mips and surely does not work on x86 PC.
How can I prevent this?

I hope somebody has successfully cross compiled libtiff?


Greetings

Albrecht

BTW: a normal ./configure  ; make  ; make install works.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]