delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/05/09:27:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Server-Uuid: 5d3f8398-5e88-11d4-b428-00508bd3cb94
Message-ID: <200104051325.f35DPfE23615@dymwsm10.mailwatch.com>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT getrag-ford DOT com>
To: "'Rob Snell'" <rob AT ist DOT co DOT uk>, cygwin AT cygwin DOT com
Subject: RE: _imp__cerr undefined reference / mingw32
Date: Thu, 5 Apr 2001 09:22:19 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2651.58)
X-WSS-ID: 16D2ADAB1217679-01-01

You'd better ask the Mingw people this kind of questions.
Maybe adding -lmsvcprt (C++ runtime library) helps.

Karsten

> -----Original Message-----
> From: Rob Snell [mailto:rob AT ist DOT co DOT uk]
> Sent: Donnerstag, 5. April 2001 13:56
> To: cygwin AT cygwin DOT com
> Subject: _imp__cerr undefined reference / mingw32
> 
> 
> 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
> 
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019