build error on 3.1.0
Hi all, I'm trying to build 3.1.0. Cmake completes successfully, but make fails with the following:
[ 6%] Building C object caputils/CMakeFiles/caputils.dir/capture-pcap-util-unix.c.o
[ 6%] Building C object caputils/CMakeFiles/caputils.dir/capture-pcap-util.c.o
[ 6%] Building C object caputils/CMakeFiles/caputils.dir/iface_monitor.c.o
/home/ron/wireshark-3.1.0/caputils/iface_monitor.c: In function ‘iface_mon_handler2’:
/home/ron/wireshark-3.1.0/caputils/iface_monitor.c:85:5: error: implicit declaration of function ‘nl_object_get_msgtype’ [-Werror=implicit-function-declaration]
int msg_type = nl_object_get_msgtype(obj);
^
cc1: all warnings being treated as errors
make[2]: *** [caputils/CMakeFiles/caputils.dir/iface_monitor.c.o] Error 1
make[1]: *** [caputils/CMakeFiles/caputils.dir/all] Error 2
make: *** [all] Error 2
[ron@dl380g5centos7 build]$
Does anyone have a suggestion as to how to proceed? Thanks.
Sorry, I should have mentioned my environment: CentOS 7, x86-64, 32 GB RAM, etc. gcc 4.8.5