Wireshark-bugs: [Wireshark-bugs] [Bug 2172] New: packet-ethercat-frame.c fails to compile in Sol

Date: Mon, 7 Jan 2008 16:13:04 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2172

           Summary: packet-ethercat-frame.c fails to compile in Solaris 9,
                    Wireshark 0.99.7
           Product: Wireshark
           Version: 0.99.7
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: dhalik@xxxxxxxxxxxxxxx


Build Information:
Solaris 9, sparc, Sun Studio
--
Building 0.99.7 from source on a Soalris 9 sparc box I'm running into a compile
error that was not present in my earlier builds of 0.99.6. The compile log from
building the ethercat plugin is as follows:

/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/us/local/include
-I/usr/local/include -I/usr/local/pcre/include -I/usr/local/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/0.99.7\" -D_U_= -g
-I/usr/local/include -D_REENTRANT -D_PTHREADS -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/libpng12 -c packet-ethercat-frame.c  -KPIC -DPIC -o
.libs/packet-ethercat-frame.o
"packet-ethercat-frame.h", line 36: warning: unnamed union member
"packet-ethercat-frame.c", line 106: improper member use: protocol
"packet-ethercat-frame.c", line 111: improper member use: protocol
cc: acomp failed for packet-ethercat-frame.c


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.