libtool
[Top][All Lists]
Advanced

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

cross-compiling and libtool


From: Yan Seiner
Subject: cross-compiling and libtool
Date: Thu, 11 May 2006 07:45:03 -0700
User-agent: Debian Thunderbird 1.0.2 (X11/20050817)

I am trying to cross-complie gphoto2 <gphoto.sf.net> , which uses ltdl....

I have everything compiled, but on execution it tries to find its drivers in the build tree, and not in the target tree....

See below....

How do I configure libtool in a cross-compile environment to correctly find the stuff it is looking for?

Thanks,

--Yan

address@hidden:~# gphoto2 --debug --list-ports
0.000051 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000483 main(2): gphoto2 2.1.99
0.000811 main(2): gphoto2 has been compiled with the following options:
0.001058 main(2): + /home/nfs/yan/whiterussian/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc (C compiler used)
0.001442 main(2):  + popt (for handling command-line parameters)
0.001702 main(2):  + exif (for displaying EXIF information)
0.001937 main(2):  + no cdk (for accessing configuration options)
0.002175 main(2):  + no aa (for displaying live previews)
0.002413 main(2):  + no jpeg (for displaying live previews in JPEG format)
0.002656 main(2):  + no readline (for easy navigation in the shell)
0.002974 main(2): libgphoto2 2.1.99
0.003287 main(2): libgphoto2 has been compiled with the following options:
0.003525 main(2): + /home/nfs/yan/whiterussian/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc (C compiler used)
0.003908 main(2):  + no EXIF (for special handling of EXIF files)
0.004169 main(2): + no /proc/meminfo (adapts cache size to memory available)
0.004414 main(2): libgphoto2_port 0.5.2
0.004771 main(2): libgphoto2_port has been compiled with the following options: 0.005016 main(2): + /home/nfs/yan/whiterussian/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc (C compiler used)
0.005273 main(2):  + USB (libusb, for USB cameras)
0.005512 main(2):  + serial (for serial cameras)
0.005748 main(2):  + no resmgr (serial port access and locking)
0.005985 main(2):  + no baudboy (serial port locking)
0.006219 main(2):  + no ttylock (serial port locking)
0.006457 main(2):  + no lockdev (serial port locking)
********************************************
0.009253 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/home/nfs/yan/whiterussian/OpenWrt-SDK-Linux-i686-1/build_mipsel/libgphoto2-2.1.99/ipkg-install/usr/lib/libgphoto2_port/0.5.2'...
********************************************
0.009828 gphoto2-port-info-list(2): Counting entries (0 available)...
0.010133 gphoto2-port-info-list(2): 0 regular entries available.
Devices found: 0
Path                             Description
--------------------------------------------------------------
0.010707 gp-camera(2): Freeing camera...
0.010954 gphoto2-port(2): Freeing port...
0.011335 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.011558 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.011771 gphoto2-filesystem(2): Internally deleting all folders from '/'...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]