www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/18/13:13:54

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sat, 18 Mar 2000 13:13:43 -0500
To: "cygwin-developers AT sourceware DOT cygnus DOT com" <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: Compile warning in times.cc and strace.exe compile problem
Message-ID: <20000318131343.A935@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
"cygwin-developers AT sourceware DOT cygnus DOT com" <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <38D39D73 DOT 3150CB4D AT attglobal DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <38D39D73.3150CB4D@attglobal.net>; from fortinj@attglobal.net on Sat, Mar 18, 2000 at 10:14:59AM -0500

On Sat, Mar 18, 2000 at 10:14:59AM -0500, John Fortin wrote:
>When I compile cygwin from the cvs extract, times.cc gets the following:
>
>
>gcc -c -g -O2 -o ./times.o times.cc
>/e/src/winsup/cygwin/times.cc:20: warning: inconsistent dll linkage for
>`time_t
>_timezone'. dllexport assumed.
>/e/src/winsup/cygwin/times.cc:21: warning: inconsistent dll linkage for
>`int _da
>ylight'. dllexport assumed.

Is it possible that your newlib directory is out of date?

>I get the following:
>
>gcc -mno-cygwin -o strace.exe /e/src/winsup/utils/strace.cc
>mingw_getopt.o -g -O
>2 -mno-cygwin -g -O2 -I/e/src/winsup/mingw/include -lnetapi32 -ladvapi32
>/e/obj/
>i686-pc-cygwin32/winsup/mingw/libmingw32.a
>/USR/BIN/../lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o)(.text+0x389):
>unde
>fined reference to `_impure_ptr'
>collect2: ld returned 1 exit status
>make[2]: *** [strace.exe] Error 1
>make[2]: Leaving directory `/e/obj/i686-pc-cygwin32/winsup/utils'
>make[1]: *** [utils] Error 2
>make[1]: Leaving directory `/e/obj/i686-pc-cygwin32/winsup'
>make: *** [all-target-winsup] Error 2

This was reported before.  I just checked in a fix.

cgf

- Raw text -


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