Hi, I have just built Perl 5.6.1 (from the AP-633 source) using Mingw-gcc and dmake and now want to build Perl's Text::Iconv module, linked dynamically to libiconv available from http://sourceforge.net/project/shownotes.php?release_id=108075.
Assuming I have the libiconv-1.8 directory from the Win32 port mentioned above and the Text-Iconv-1.2 directory from CPAN's source tarball under the same partition root, I tried: H:\Text-Iconv-1.2>c:\perl\bin\perl Makefile.PL INC=-I..\libiconv-1.8\include Writing Makefile for Text::Iconv H:\Text-Iconv-1.2>dmake gcc -c -I..\libiconv-1.8\include -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCR T_READFIX -O2 -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" -IC:\perl\lib\CORE Iconv.c "Running Mkbootstrap for Text::Iconv ()" C:\perl\bin\perl.exe -Ic:\perl\lib -Ic:\perl\lib -MExtUtils::Command -e chmod 644 Iconv.bs dlltool --def Iconv.def --output-exp dll.exp gcc -o blib\arch\auto\Text\Iconv\Iconv.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c:\perl\lib\CORE" -L"c:\gcc-2.95.2-msvcrt\lib" Iconv.o - Wl,--image-base,0x3f4d0000 C:\perl\lib\CORE\libperl56.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -l shell32 -lole32 -loleaut32 -lnetapi32 -luuid -lwsock32 -lmpr -lwinmm -lversion -lodbc32 dll.exp Iconv.o(.text+0x14e):Iconv.c: undefined reference to `_imp__libiconv' Iconv.o(.text+0x787):Iconv.c: undefined reference to `_imp__libiconv_open' Iconv.o(.text+0xc25):Iconv.c: undefined reference to `_imp__libiconv_close' dmake.exe: Error code 1, while making 'blib\arch\auto\Text\Iconv\Iconv.dll' What must i do that Iconv.o recognizes the libiconv.dll library? Thanks, rob. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
