Wireshark-bugs: [Wireshark-bugs] [Bug 1230] New: build fails on packet-scsi-osd.c
Date: Thu, 16 Nov 2006 19:29:58 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1230

           Summary: build fails on packet-scsi-osd.c
           Product: Wireshark
           Version: 0.99.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: io@xxxxxxxxxxxx


Build Information:
I'm unbale to build wireshark 0.99.4 on Solaris with Sun C/C++ (not GCC).
There were NO problem building 0.99.3a in the same way.
The regression has been introduced in packet-scsi-osd.c.
Here is the build error:
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/opt/csw/include
-I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include
-I/usr/local/include -I/opt/csw//include -I/opt/csw/include -DINET6
-DSOLARIS8_INET6 -D_U_= -fast -xarch=386 -I/usr/local/include -mt
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include
-I/opt/csw/include/libpng12 -I/opt/csw/include/freetype2
-I/opt/csw/include/cairo -I/opt/csw/include/pango-1.0
-I/opt/csw/include/gtk-2.0 -I/opt/csw/include/atk-1.0
-I/opt/csw/lib/gtk-2.0/include -I/opt/csw//include -I/opt/csw/include -c
packet-scsi-osd.c  -KPIC -DPIC -o .libs/packet-scsi-osd.o
"packet-scsi-osd.c", line 175: warning: unnamed union member
"packet-scsi-osd.c", line 176: zero-sized struct/union
"packet-scsi-osd.c", line 176: warning: unnamed struct member
"packet-scsi-osd.c", line 292: improper member use: get_list_length
"packet-scsi-osd.c", line 296: improper member use: get_list_offset
"packet-scsi-osd.c", line 300: improper member use: get_list_allocation_length
"packet-scsi-osd.c", line 304: improper member use: retreived_list_offset
"packet-scsi-osd.c", line 308: improper member use: set_list_length
"packet-scsi-osd.c", line 312: improper member use: set_list_offset
"packet-scsi-osd.c", line 341: improper member use: get_list_length
"packet-scsi-osd.c", line 342: improper member use: get_list_offset
"packet-scsi-osd.c", line 342: improper member use: get_list_length
"packet-scsi-osd.c", line 344: improper member use: set_list_length
"packet-scsi-osd.c", line 345: improper member use: set_list_offset
"packet-scsi-osd.c", line 345: improper member use: set_list_length
"packet-scsi-osd.c", line 370: improper member use: get_list_allocation_length
"packet-scsi-osd.c", line 371: improper member use: retreived_list_offset
"packet-scsi-osd.c", line 371: improper member use: get_list_allocation_length
cc: acomp failed for packet-scsi-osd.c
gmake[4]: *** [packet-scsi-osd.lo] Error 1
gmake[4]: Leaving directory
`/export/medusa/calessio/buildx86/wireshark-0.99.4/epan/dissectors'

I guess it's a syntax problem due to some "gcc-ism"...
--


-- 
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.