Re: iconv.dll should be libiconv.dll??

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Cameron Gregory writes:
 > $ mv iconv.lib iconv.dll.a
 > $ mv iconv.dll libiconv.dll

No; the import library contains the name of the DLL, you can't just
rename the DLL and still link with an import library that refers to
the original name, it won't work. (But the error will occur at run
time.)

 > and I get..
 > c:\mingw\bin\..\lib\gcc-lib\mingw32\2.95.3-5\..\..\..\..\mingw32\bin\ld.exe:
 > war
 > ning: cannot find entry symbol _DllMainCRTStartup@12; defaulting to
 > 00401000
 > c:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-5/../../../libmingw32.a(main.o)(.text
 > +0x8d):main.c: undefined reference to `WinMain@16'
 > make: *** [libgimp.la] Error 1

Hmm, it thinks it is linking an exe here. Some confusion.

 > arrghh :-) (mind you I am back to libtool 1.4.2 .. maybe I should go
 > back
 > to 1.4d and see what happens .. I need faster computer :-) )

I'm glad that you still are trying... It seems I have been very lucky
when I have managed to get the auto*/libtool stuff working mostly as
intended on Win32...

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.