Compile warning in and strace.exe compile problem

John Fortin
Sat Mar 18 07:15:00 GMT 2000

When I compile cygwin from the cvs extract, gets the following:

gcc -c -g -O2 -o ./times.o
/e/src/winsup/cygwin/ warning: inconsistent dll linkage for
_timezone'. dllexport assumed.
/e/src/winsup/cygwin/ warning: inconsistent dll linkage for
`int _da
ylight'. dllexport assumed.
gcc -c -g -O2 -o ./tty.o

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/
mingw_getopt.o -g -O
2 -mno-cygwin -g -O2 -I/e/src/winsup/mingw/include -lnetapi32 -ladvapi32
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


More information about the Cygwin-developers mailing list