I'm running on Ubuntu 16.04 LTS (xenial).
I cloned the source from: https://code.wireshark.org/review/wireshark
This is the output of ./configure
The Wireshark package has been configured with the following options:
GLib version : v2.48.0
Build wireshark : yes (with Qt4 v4.8.7)
Build wireshark-gtk : no
Build tshark : yes
Build tfshark : no
Build capinfos : yes
Build captype : yes
Build editcap : yes
Build dumpcap : yes
Build mergecap : yes
Build reordercap : yes
Build text2pcap : yes
Build randpkt : yes
Build dftest : yes
Build rawshark : yes
Build androiddump : yes
Build sshdump : no
Build ciscodump : no
Build randpktdump : yes
Build echld : no
Save files as pcap-ng by default : yes
Install dumpcap with capabilities : no
Install dumpcap setuid : no
Use dumpcap group : (none)
Use plugins : yes
Use external capture sources : yes
Use Lua library : no
Build Qt RTP player : no
Build GTK+ RTP player : no
Build profile binaries : no
Use pcap library : yes
Use zlib library : yes
Use kerberos library : no
Use c-ares library : no (name resolution will be disabled)
Use SMI MIB library : no
Use GNU gcrypt library : yes
Use SSL crypto library : no
Use GnuTLS library : no
Use POSIX capabilities library : yes
Use GeoIP library : no
Use libssh library : no
Have ssh_userauth_agent : no
Use nl library : no
Use SBC codec library : no
This is the output of $make -C plugins
:
make: Entering directory '/root/wireshark/plugins'
…
Making all in mate
make[1]: Entering directory '/root/wireshark/plugins/mate'
gcc -g -O2 ../../tools/lemon/lemon.c -o ../../tools/lemon/lemon
../../tools/lemon/lemon.c:10:20: fatal error: config.h: No such file or directory
compilation terminated.
<builtin>: recipe for target '../../tools/lemon/lemon' failed
make[1]: *** [../../tools/lemon/lemon] Error 1
make[1]: Leaving directory '/root/wireshark/plugins/mate'
Makefile:564: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
make: Leaving directory '/root/wireshark/plugins'
Any ideas on what’s wrong and how to fix?
asked 28 Apr ‘16, 05:54
embr
11●1●1●5
accept rate: 0%
Change is: https://code.wireshark.org/review/15143
I am currently in the process of compiling wireshark (which, I figure, includes tools/lemon). Once it finishes I'll clean it and try again by making lemon alone.
Ok, I'm still having trouble compiling my custom plugin, but I'm now a step closer. Thanks for the help.