Wireshark mailing list archives

Linking error tfshark


From: Joerg Mayer <jmayer () loplof de>
Date: Wed, 8 Jan 2014 08:58:35 +0100

Linking C executable run/tfshark
CMakeFiles/tfshark.dir/tfshark.c.o: In function `cf_open':
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:2539: undefined reference to `ftap_file_type_subtype'
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:2543: undefined reference to `ftap_snapshot_length'
CMakeFiles/tfshark.dir/tfshark.c.o: In function `cf_open_error_message':
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:2626: undefined reference to `ftap_file_type_subtype_short_string'
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:2700: undefined reference to `ftap_strerror'
CMakeFiles/tfshark.dir/tfshark.c.o: In function `main':
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:910: undefined reference to `ftap_register_plugin_types'
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:917: undefined reference to `register_all_filetap_modules'
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:936: undefined reference to `register_all_tap_listeners'
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:1049: undefined reference to `cap_file_init'
CMakeFiles/tfshark.dir/tfshark.c.o: In function `load_cap_file':
/home/jmayer/work/wireshark/svn/trunk/tfshark.c:1968: undefined reference to `ftap_strerror'
CMakeFiles/tfshark.dir/capture_ifinfo.c.o: In function `capture_interface_list':
/home/jmayer/work/wireshark/svn/trunk/capture_ifinfo.c:122: undefined reference to `sync_interface_list_open'
CMakeFiles/tfshark.dir/capture_ifinfo.c.o: In function `capture_get_if_capabilities':
/home/jmayer/work/wireshark/svn/trunk/capture_ifinfo.c:221: undefined reference to `sync_if_capabilities_open'
collect2: error: ld returned 1 exit status

I will look into this myself if not fixed by this afternoon :-)

Ciao
   Jörg
-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: