Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Thu, 5 Apr 2001 13:55:44 +0100 (BST) From: Rob Snell X-Sender: rob@iswarm To: cygwin@cygwin.com Subject: _imp__cerr undefined reference / mingw32 Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi I'm trying to build the aspell package using the latest versions of cygwin and gcc provided with mingw32. The whole package builds...until the very end at the final link where I get this error: make[2]: Entering directory `/home/rob/aspell-.33/src' /bin/sh ../libtool --mode=link E:/mingw32/bin/g++ -g -O2 -o aspell.exe aspell.o termios.o ../lib/libaspell.la E:/mingw32/bin/g++ -g -O2 -o aspell.exe aspell.o termios.o ../lib/.libs/libaspell.a -LE:\mingw32\bin\..\lib\gcc-lib\mingw32\2.95.2 -LE:\mingw32\bin\..\lib\gcc-lib -LE:\mingw32\lib -LE:\mingw32\bin\..\lib\gcc-lib\mingw32\2.95.2\..\..\..\..\mingw32\lib -LE:\mingw32\bin\..\lib\gcc-lib\mingw32\2.95.2\..\..\.. -LE:/aspell/ lib E:/aspell/lib/libpspell-impl.a E:/aspell/lib/libpspell.a E:/aspell/lib/libltdl-3.dll E:/aspell/lib/libpspell-modules.a -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcrt -lstdc++ -Wl,--rpath -Wl,E:/aspell/lib -Wl,--rpath -Wl,E:/aspell/lib aspell.o(.text+0x6ca): undefined reference to `_imp__cerr' aspell.o(.text+0x803): undefined reference to `_imp__cerr' aspell.o(.text+0x8d0): undefined reference to `_imp__cerr' aspell.o(.text+0xed0): undefined reference to `_imp__cerr' aspell.o(.text+0x1251): undefined reference to `_imp__cerr' aspell.o(.text+0x130f): more undefined references to `_imp__cerr' follow aspell.o(.text+0x1b6a): undefined reference to `_imp__cin' aspell.o(.text+0x1b74): undefined reference to `_imp__cin' ...and it goes on. This is extremely frustrating, I've tried every trick in the book that I know and I cannot see why it fails to link against the MS libraries correctly, everything else seems to work. I've had a good look thru the archives and found nothing conclusive that addresses this issue. Can someone help? Thanks, Rob. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple