Wireshark-bugs: [Wireshark-bugs] [Bug 2476] New: Build fails on webbrowser.c on FreeBSD

Date: Fri, 18 Apr 2008 11:02:08 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2476

           Summary: Build fails on webbrowser.c on FreeBSD
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: mccart@xxxxxxxxxxxxxxxxxx


Build Information:
$ tshark -v
TShark 0.99.8 (SVN Rev 23772)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.14.6, with libpcap 0.9.8, with libz 1.2.3, with libpcre
7.6, without SMI, without ADNS, without Lua, with GnuTLS 2.2.2, with Gcrypt
1.4.0, with Heimdal Kerberos.

Running on FreeBSD 7.0-RELEASE, with libpcap version 0.9.8.

Built using gcc 4.2.1 20070719  [FreeBSD].

--
cc1: warnings being treated as errors
webbrowser.c: In function 'filemanager_open_directory':
webbrowser.c:304: warning: implicit declaration of function 'filename2uri'
webbrowser.c:304: warning: assignment makes pointer from integer without a cast
webbrowser.c: At top level:
webbrowser.c:383: error: conflicting types for 'filename2uri'
webbrowser.c:304: error: previous implicit declaration of 'filename2uri' was
here
gmake[2]: *** [webbrowser.o] Error 1
gmake[2]: Leaving directory `/usr/home/mccart/wireshark/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/mccart/wireshark'
gmake: *** [all] Error 2

This is on FreeBSD machine.
Note: builds fine on another machine running Ubuntu.
Either need template or move function?


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