Error: cross compile libtiff


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:

Running ./configure with arguments:
--prefix=/home/albrecht.ellinger/gtkTest --target=mipsel-linux
in 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
/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
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?



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

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