http://bugs.winehq.org/show_bug.cgi?id=20714
Summary: build fails on OpenSolaris: ifenum.c:322: error: structure has no member named `ifr_hwaddr' Product: Wine Version: 1.1.33 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: christian.thalinger@gmail.com
The build fails because SIOCGIFHWADDR is defined but the ifreq structure does not have a ifr_hwaddr field.
make[2]: Entering directory `/export/home/twisti/projects/wine/wine-1.1.33/dlls/iphlpapi' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o ifenum.o ifenum.c ifenum.c: In function `getInterfacePhysicalByName': ifenum.c:322: error: structure has no member named `ifr_hwaddr' ifenum.c:367: error: structure has no member named `ifr_hwaddr' ifenum.c:367: error: structure has no member named `ifr_hwaddr' ifenum.c:376: error: structure has no member named `ifr_hwaddr' make[2]: *** [ifenum.o] Error 1
twisti@macbook:~/projects/wine/wine-1.1.33$ ack HAVE_SYS_SOCKIO_H include/config.h #define HAVE_SYS_SOCKIO_H 1
twisti@macbook:~/projects/wine/wine-1.1.33$ ack SIOCGIFHWADDR /usr/include/ /usr/include/sys/sockio.h 313:#define SIOCGIFHWADDR _IOWR('i', 185, int) /* PF_PACKET */