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: Re: [Wireshark-dev] Wireshark 1.2.0pre1 is now available

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


From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 2 Jun 2009 14:48:16 -0400

I am experiencing another 1.2pre1 problem.  When trying to create an rpm
installer on Linux 2.6.18-8.el5 (RHEL5) x86_64 platform, I get the
following fatal error while compiling the sources via "make rpm-package"
that I don't get if I simply run "make":

gcc -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Wcast-align -Wformat-security -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/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/cairo   -I/usr/local/include/pcap
-I/usr/local/include -I/usr/local/include/pcap
'-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.2.0pre1"'
-L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib x86_64 ../tools/lemon/lemon.c   -o ../tools/lemon/lemon
gcc: x86_64: No such file or directory
../tools/lemon/lemon.c: In function 'Action_sort':
../tools/lemon/lemon.c:420: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../tools/lemon/lemon.c: In function 'Configlist_sort':
../tools/lemon/lemon.c:1254: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../tools/lemon/lemon.c: In function 'Configlist_sortbasis':
../tools/lemon/lemon.c:1261: warning: dereferencing type-punned pointer
will break strict-aliasing rules
make[1]: *** [../tools/lemon/lemon] Error 1

It looks to me like "treat warnings as errors" are disabled by default
when compiling for Linux, is that right?  But somehow not when compiling
the rpm package?  If so, then does anyone know the easiest way to turn
that off for "make rpm-packaging"?  Or is that not the best solution?

Thanks.
- Chris

[snip]
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.


  • Follow-Ups:
    • Re: [Wireshark-dev] Wireshark 1.2.0pre1 is now available
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] Ubuntu buildbot error
  • Next by Date: [Wireshark-dev] 1.2.0 trunk doesn't build ?
  • Previous by thread: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
  • Next by thread: Re: [Wireshark-dev] Wireshark 1.2.0pre1 is now available
  • Index(es):
    • Date
    • Thread

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