http://bugs.winehq.org/show_bug.cgi?id=18160
Summary: Compile broken in dlls/iphplpapi/ipstats.c on NetBSD 5.0 Product: Wine Version: 1.1.19 Platform: PC OS/Version: NetBSD Status: NEW Keywords: patch, source Severity: blocker Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=20626) --> (http://bugs.winehq.org/attachment.cgi?id=20626) hack
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclar ation-after-statement -Wwrite-strings -Wpointer-arith -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/u sr/X11R7/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -o ipstats.o ip stats.c ipstats.c: In function 'GetIcmpStatistics': ipstats.c:496: error: storage size of 'icmp_stat' isn't known ipstats.c:496: warning: unused variable 'icmp_stat' ipstats.c: In function 'GetIpStatistics': ipstats.c:663: error: storage size of 'ip_stat' isn't known ipstats.c:663: warning: unused variable 'ip_stat' ipstats.c: In function 'GetTcpStatistics': ipstats.c:816: error: storage size of 'tcp_stat' isn't known ipstats.c:816: warning: unused variable 'tcp_stat' ipstats.c: In function 'GetUdpStatistics': ipstats.c:922: error: storage size of 'udp_stat' isn't known ipstats.c:922: warning: unused variable 'udp_stat' *** Error code 1
Attached patch hacks around it. Need to investigate a proper fix.
http://bugs.winehq.org/show_bug.cgi?id=18160
--- Comment #1 from Austin English austinenglish@gmail.com 2009-05-28 22:07:03 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=18160
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2010-08-01 17:16:04 --- Is this still an issue in wine-1.3.0?
http://bugs.winehq.org/show_bug.cgi?id=18160
--- Comment #3 from Austin English austinenglish@gmail.com 2010-08-01 22:33:11 --- (In reply to comment #2)
Is this still an issue in wine-1.3.0?
The only change to that file has been 8dd5c04c32bdb471fbfc9519f459f287dc4bb60c, in an unrelated area. Yes, still present.
http://bugs.winehq.org/show_bug.cgi?id=18160
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #4 from André H. nerv@dawncrow.de 2011-03-26 11:46:04 CDT --- this partially also affects DragonFly BSD with wine-1.3.16:
ipstats.c: In function 'GetIpStatistics': ipstats.c:669: error: storage size of 'ip_stat' isn't known ipstats.c:669: warning: unused variable 'ip_stat' ipstats.c: In function 'GetTcpStatistics': ipstats.c:822: error: storage size of 'tcp_stat' isn't known ipstats.c:822: warning: unused variable 'tcp_stat' *** Error code 1
http://bugs.winehq.org/show_bug.cgi?id=18160
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |austinenglish@gmail.com
--- Comment #5 from Austin English austinenglish@gmail.com 2011-06-30 20:43:39 CDT --- Got a more proper fix now, testing on the various BSD's to work out the autoconf mess..
http://bugs.winehq.org/show_bug.cgi?id=18160
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #6 from Vijay Kamuju infyquest@gmail.com 2011-09-04 10:00:48 CDT --- Is this still present?
http://bugs.winehq.org/show_bug.cgi?id=18160
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bc99d86729a4f2ce25478d0f36b | |88b5ba1d7ed7b Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from André H. nerv@dawncrow.de 2012-06-12 11:21:24 CDT --- should be fixed by:
http://source.winehq.org/git/wine.git/commitdiff/cecf1056bb17f83586568c98d42... http://source.winehq.org/git/wine.git/commitdiff/eaab7a88f4e52b3630a21db183c... http://source.winehq.org/git/wine.git/commitdiff/20dbe9121258bcabccf67993e3a... http://source.winehq.org/git/wine.git/commitdiff/bc99d86729a4f2ce25478d0f36b...
reopen otherwise
http://bugs.winehq.org/show_bug.cgi?id=18160
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:31:31 CDT --- Closing bugs fixed in 1.5.7.