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' kbd-custom.o(.text+0x75e):kbd-custom.cpp: undefined reference to `___strtol_internal' mwidthdialog.o(.text+0x2f):mwidthdialog.cpp: undefined reference to `___strtol_internal' exportmidi.o(.text+0xac):exportmidi.cpp: undefined reference to `_stderr' exportmidi.o(.text+0xeb):exportmidi.cpp: undefined reference to `_stderr' exportmidi.o(.text+0x163):exportmidi.cpp: undefined reference to `__IO_putc' [...] /usr/i586-mingw32msvc/lib/libgw32c.a(readlink.o)(.text+0x1b):readlink.c: undefined reference to [EMAIL PROTECTED]' /usr/i586-mingw32msvc/lib/libgw32c.a(readlink.o)(.text+0x53):readlink.c: undefined reference to [EMAIL PROTECTED]' /usr/i586-mingw32msvc/lib/libgw32c.a(readlink.o)(.text+0x79):readlink.c: undefined reference to `_IID_IPersistFile' /usr/i586-mingw32msvc/lib/libgw32c.a(readlink.o)(.text +0x14f):readlink.c: undefined reference to [EMAIL PROTECTED]' /usr/i586-mingw32msvc/lib/libgw32c.a(readlink.o)(.text +0x16e):readlink.c: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[2]: *** [denemo.exe] Erreur 1 [...] make: *** [all] Erreur 2
i think i gave all the libraries in compilation line.. i looked to src/kbd-custom.cpp, and it includes <stdlib.h> chich contain '__strtol_internal()' but as it seems not to point to an actual implementation on the lib, i wonder which lib i have to include. I thought libgw32c.a was enough since strtol() is in gnu libc. Any clue ? -- 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_id=7637&alloc_id=16865&op=click _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users