ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] I have added another file to wireshark but keep getting unresolv

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Sun, 24 Oct 2021 06:16:45 -0700
Hi folks,

I have added another file to Wireshark but when I build I keep getting this:

--------------------------
[ 79%] Linking C executable run/sharkd
/usr/bin/ld: run/libwireshark.so.14.0.8: undefined reference to
`dissect_neighbor_report'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/sharkd.dir/build.make:160: run/sharkd] Error 1
make[1]: *** [CMakeFiles/Makefile2:3630: CMakeFiles/sharkd.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
----------------------------

The function is not static and the file has a handoff section and I
have added the file to the files list in
epan/dissectors/CMakeLists.txt.

What else should I do?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)