delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/07/04:08:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <384CCE41.A139185A@uos.de>
Date: Tue, 07 Dec 1999 10:07:13 +0100
From: Alexander =?iso-8859-1?Q?L=FCdeke?= <luedekea AT uos DOT de>
Reply-To: luedekea AT uos DOT de
Organization: Universitaet Osnabrueck
X-Mailer: Mozilla 4.7 [de] (WinNT; I)
X-Accept-Language: en,de
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: problem: unresolved references to _errno

Hallo,

I have got a problem. When I'm using the function pow(double,double) of 

math.h,
 I get this error-message:

gcc -o bruessel main.o bruessel.o ruku.o -s -lm -mno-cygwin
D:\Programme\CygWin\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-c

ygwin32\
egcs-2.91.57\..\..\..\..\i586-cygwin32\lib/libm.a(w_pow.o): In function 

`pow':
/home/noer/src/b20/comp-tools/devo/newlib/libm/math/w_pow.c:164: 

undefined refer
ence to `__errno'
/home/noer/src/b20/comp-tools/devo/newlib/libm/math/w_pow.c:207: 

undefined refer
ence to `__errno'
/home/noer/src/b20/comp-tools/devo/newlib/libm/math/w_pow.c:210: 

undefined refer
ence to `__errno'
collect2: ld returned 1 exit status
MAKE.EXE: *** [bruessel] Error 1

You wrote in a readme file:
At link time your code produces unresolved references to _impure_ptr, 
_ctype_ and/or _errno, among others. ... If you have this problem then 

you 
may have to modify the Mingw32 specs file. I have tried to modify the 

specs 
file, but I haven't success. What is the correct path?

Alexander Luedeke

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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