Le vendredi 16 décembre 2005 à 06:25 +0100, Benoît Rouits a écrit : > hello again, > while cross-compiling an application with mingw32 and libgw32c, > i get an error with libgw32c.a: > /usr/bin/i586-mingw32msvc-c++ -I/usr/i586-mingw32msvc/include/[...] > -Wall -O2 -o denemo.exe articulations.o [...].o > -L/usr/i586-mingw32msvc/lib -lgtk-win32-2.0 -l[...] > -lz -lm -lgw32c -lmingw32 > file.o(.text+0xd34):file.cpp: undefined reference to `_fnmatch' > kbd-custom.o(.text+0x725):kbd-custom.cpp: undefined reference to > `_errno' I think it is a problem of the order of resolution of symbols with ld, and i can't figure out how to find the right command. I tried -lmingw32 -lgw32c at the beginning of the command, but it doesn't help. -- Ben
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users