Wireshark-bugs: [Wireshark-bugs] [Bug 2782] New: Wireshark doesn't build on OpenBSD 4.3

Date: Fri, 8 Aug 2008 10:53:57 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2782

           Summary: Wireshark doesn't build on OpenBSD 4.3
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: dennis.schwarz1@xxxxxxxxx


Build Information:
wireshark-1.0.99-SVN-25956
--
Hello,

It seems the lastest versions of Wireshark (wireshark-1.0.99-SVN-25956) don't
build on OpenBSD 4.3 using the normal ./configure, make, ... I had to jump back
a few versions to wireshark-1.0.0.

Error:

 gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include -DPLUGI
DIR=\"/usr/local/lib/wireshark/plugins/1.0.99-SVN-25956\" -Werror -DINET6 "-D_
=__attribute__((unused))" -g -O2 -Wall -W -Wendif-labels -Wpointer-arith -Wcas
align -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2
/include -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/incl
e/freetype2 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/loc
/include -I/usr/local/include/libpng -pthread -I/usr/local/include/glib-2.0 -I
sr/local/lib/glib-2.0/include -MT libcleandissectors_la-packet-dplay.lo -MD -M
-MF .deps/libcleandissectors_la-packet-dplay.Tpo -c packet-dplay.c  -fPIC -DPI
-o .libs/libcleandissectors_la-packet-dplay.o
In file included from packet-dplay.c:33:
/usr/include/sys/socket.h:145: error: syntax error before "u_int8_t"
/usr/include/sys/socket.h:163: error: syntax error before "u_int8_t"
/usr/include/sys/socket.h:166: error: syntax error before "u_int64_t"
/usr/include/sys/socket.h:230: error: syntax error before "uid_t"
/usr/include/sys/socket.h:235: error: syntax error before "gid_t"
/usr/include/sys/socket.h:349: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:353: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:375: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:430: error: syntax error before "caddr_t"
/usr/include/sys/socket.h:434: error: syntax error before "caddr_t"
In file included from packet-dplay.c:33:
/usr/include/sys/socket.h:445: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:446: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:447: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:448: error: syntax error before "uid_t"
/usr/include/sys/socket.h:449: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:450: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:451: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:453: error: syntax error before "recv"
/usr/include/sys/socket.h:453: error: syntax error before "size_t"
/usr/include/sys/socket.h:454: error: syntax error before "recvfrom"
/usr/include/sys/socket.h:454: error: syntax error before "size_t"
/usr/include/sys/socket.h:455: error: syntax error before "recvmsg"
/usr/include/sys/socket.h:456: error: syntax error before "send"
/usr/include/sys/socket.h:456: error: syntax error before "size_t"
/usr/include/sys/socket.h:457: error: syntax error before "sendto"
/usr/include/sys/socket.h:458: error: syntax error before "size_t"
/usr/include/sys/socket.h:459: error: syntax error before "sendmsg"
/usr/include/sys/socket.h:460: error: syntax error before "socklen_t"
*** Error code 1

Stop in /home/dennis/wireshark-1.0.99-SVN-25956/epan/dissectors (line 4516 of 
kefile).
*** Error code 1

Stop in /home/dennis/wireshark-1.0.99-SVN-25956/epan/dissectors (line 2264 of 
kefile).
*** Error code 1

Stop in /home/dennis/wireshark-1.0.99-SVN-25956/epan (line 1594 of Makefile).
*** Error code 1

Stop in /home/dennis/wireshark-1.0.99-SVN-25956 (line 1997 of Makefile).
*** Error code 1

Stop in /home/dennis/wireshark-1.0.99-SVN-25956 (line 1448 of Makefile).


It looks to stem from the following change:

http://anonsvn.wireshark.org/viewvc/index.py/trunk/epan/dissectors/packet-dplay.c?r1=24535&r2=24965

I wasn't able to test this on a OpenBSD-current to rule out an OpenBSD issue.

Thanks,
Dennis


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