Wireshark mailing list archives

I have added another file to wireshark but keep getting unresolved references


From: Richard Sharpe <realrichardsharpe () gmail com>
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
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: