Wireshark-dev: [Wireshark-dev] --with-net-snmp adds addtional options to CFLAGS: Issue if using
From: Bill Meier <[email protected]>
Date: Wed, 22 Aug 2007 12:56:26 -0400
While researching a different Linux Wireshark build problem I found the following:
A default Linux Wireshark './configure && make' with net-snmp present 
uses an "enhanced" set of CFLAGS. That is: a
'./configure --without-net-snmp && make' uses a distinctly (smaller) set 
of CFLAGS than when building with net-snmp present.
This happens because if net-snmp is present than "net-snmp-config 
--cflags" is used to get a list of compiler options to be added to 
The options included in CFLAGS *only* when building with net-snmp (the 
default build) include the following;







So: my question: should any of the above options be used for a Wireshark build when using --without-snmp??
Also: as noted elsewhere on the list it sounds like the use of net-snmp 
will be replaced by the use of libsmi, If so, I'm assuming that the 
additional options as above will no longer be part of CFLAGS for a 
Wireshark build. Again: In this case will any of the above options need 
to be added to the CFLAGS used for making Wireshark ?
(The exception to the above is wiretap: the CFLAGS used in the wiretap 
Makefile do not include the additional flags as above. I'll guess that 
this is because a separate configure is done for wiretap).