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.