Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <38D39D73.3150CB4D@attglobal.net> Date: Sat, 18 Mar 2000 10:14:59 -0500 From: John Fortin X-Sender: "John Fortin" <@smtp-gw01.ny.us.ibm.net> (Unverified) X-Mailer: Mozilla 4.7 [en]C-gatewaynet (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "cygwin-developers AT sourceware DOT cygnus DOT com" Subject: Compile warning in times.cc and strace.exe compile problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. gcc -c -g -O2 -o ./tty.o tty.cc The offending code is this: extern time_t __declspec(dllexport) _timezone; extern int __declspec(dllexport) _daylight; Is this a problem? Also, strace.exe does not compile 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 Thanks, John