Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] svn revision 22245 breaks GCC compile

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Steve Karg <skarg@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Jul 2007 12:04:16 -0700

Hello developers,

There is a warning generated by:
/trunk/asn1/camel/packet-camel-template.h 
from svn revision 22245 that breaks my build on Ubuntu using GCC since GCC
options appears to be using -Werror

I see that the buildbot has picked up on the failure also:
http://buildbot.wireshark.org/trunk/

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../tools/lemon -I/usr/local/include -Werror -DINET6 "-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -MT
libwireshark_la-camel-persistentdata.lo -MD -MP -MF .deps/libwireshark_la-camel-persistentdata.Tpo -c
camel-persistentdata.c  -fPIC -DPIC -o .libs/libwireshark_la-camel-persistentdata.o
cc1: warnings being treated as errors
packet-camel-template.h:45: warning: array 'camel_err_code_string_vals'
assumed to have one element
make[3]: *** [libwireshark_la-camel-persistentdata.lo] Error 1
make[3]: Leaving directory
`/home/buildbot/bb-wireshark/trunk/ubuntu510x86/build/epan'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/buildbot/bb-wireshark/trunk/ubuntu510x86/build/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/buildbot/bb-wireshark/trunk/ubuntu510x86/build'
make: *** [all] Error 2
program finished with exit code 2

I went back to svn revision 22244 to work around it.

Best Regards,

Steve
-- 
http://steve.kargs.net/


  • Follow-Ups:
    • Re: [Wireshark-dev] svn revision 22245 breaks GCC compile
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] diameter dissector and ntp timestamp rollover
  • Next by Date: [Wireshark-dev] Wireshark 0.99.6 is now available
  • Previous by thread: Re: [Wireshark-dev] diameter dissector and ntp timestamp rollover
  • Next by thread: Re: [Wireshark-dev] svn revision 22245 breaks GCC compile
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation