crosscompiling on linux for windows, link failure




I've had problems since day one linking my appplication (native linux, GTK+-2.x
based) for windows when crosscompiling it.

The main errors seem to stem from libtool:

Everything compiles fine, except the final linking operation
/bin/sh ../libtool --mode=link i386-mingw32msvc-gcc -mms-bitfields
-I/target/inc
lude/hacks  -Wall  -O2  -L/opt/cross-tools/i386-mingw32msvc/lib -o
megatunix.exe  3d_vetable.o about_gui.o bitfield_handlers.o comms.o comms_gui.o
configfile.o conversions.o core_gui.o dataio.o datalogging_gui.o debugging.o
dep_loader.o dep_processor.o dispatcher.o fileio.o general_gui.o getfiles.o
gui_handlers.o init.o interrogate.o keyparser.o listmgmt.o logviewer_core.o
logviewer_gui.o lookuptables.o main.o memory_gui.o mode_select.o
notifications.o offline.o post_process.o req_fuel.o rtv_map_loader.o
rtv_processor.o runtime_gui.o runtime_sliders.o serialio.o stringmatch.o
tabloader.o tag_loader.o threads.o timeout_handlers.o tuning_gui.o
user_outputs.o vetable_gui.o vex_support.o warmwizard_gui.o widgetmgmt.o
-L/target/lib -lfreetype -lgthread-2.0 -lgtkglext-win32-1.0
-lgdkglext-win32-1.0 -lglu32 -lopengl32 -luser32 -lkernel32 -lglade-2.0
-lgtk-win32-2.0 -lxml2 -lz -liconv -lws2_32 -lgdk-win32-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0   ../mtxmatheval/libmtxmatheval.la -lfl  
: command not found 
: command not found 
: command not found: 
: command not found: 
: command not found: 
: command not found: 
: command not found: 
: command not found: 
libtool: link: cannot find the library `'
make: *** [megatunix.exe] Error 1

Any ideas?  I CAN link it manually (well I could up to a few days ago)  but I
want to know why it fails currently..


=====
Dave J. Andruczyk


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



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