gphoto cross compile on mini2440

Harper
I am trying to cross compile libgphoto2 and gphoto
http://gphoto.sourceforge.net/ to run on the arm processor of mini2440
board 

I ran configure as follows:
./configure --host=arm-linux

The configure fails with the message:
checking that we can compile and link with libltd... no
configure: error : can not compile and link against libltd

I have downloaded libtools and cross-compiled it for arm, but still have
this problem. Has anyone successfully cross-compiled libgphoto for arm?

Any help will be much appreciated

Thanks

fundu
you should use -target=arm-linux your host is most probably x86.

Harper
Thanks fundu. I am afraid without the --host=arm-linux the standard gcc
compiler is used instead of the arm cross compiler. Any other idea? Have
you actually been able to cross compile libghoto for arm successfully? 

Thanks for your help.