http://bugs.winehq.org/show_bug.cgi?id=2363
Summary: Winelib time.h does not include _tzname not _daylight support Product: Wine Version: 20040615 Platform: Other URL: http://msdn.microsoft.com/library/default.asp?url=/libra ry/en- us/vccore98/HTML/_crt__daylight.2c_._timezone.2c_.and__t zname.asp OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: winehq@displague.com
I downloaded getipv4.zip from simtel, which includes c source. I tried to build the package after priming it with winemaker.
[displague@fall] /tmp/getip> make winebuild -o getip.exe.dbg.c --debug -C. getip-nt.c getip.c main.c winegcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mno-cygwin -I. -o getip.exe.dbg.o getip.exe.dbg.c winegcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mno-cygwin -I. -o getip-nt.o getip-nt.c winegcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mno-cygwin -I. -o getip.o getip.c In file included from getip.c:11: getip.h:25: warning: `enum FUNCT' declared inside parameter list getip.h:25: warning: its scope is only this definition or declaration, which is probably not what you want getip.h:25: warning: parameter has incomplete type getip.c: In function `dateinfo': getip.c:80: error: `_daylight' undeclared (first use in this function) getip.c:80: error: (Each undeclared identifier is reported only once getip.c:80: error: for each function it appears in.) getip.c:80: error: `_tzname' undeclared (first use in this function) getip.c: In function `GetConnection': getip.c:244: warning: passing arg 3 of pointer to function from incompatible pointer type winegcc: gcc failed. make: *** [getip.o] Error 2