My guess is that it doesn't like the commented out tfshark-tap-register.c (that 
I was using as a placeholder).  The attached patch fixes that.



-----Original Message-----
From: Joerg Mayer <[email protected]>
To: wireshark-dev <[email protected]>
Sent: Wed, Jan 8, 2014 3:01 am
Subject: [Wireshark-dev] Linking error tfshark


Linking C executable run/tfshark
MakeFiles/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'
MakeFiles/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'
MakeFiles/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'
MakeFiles/tfshark.dir/tfshark.c.o: In function `load_cap_file':
home/jmayer/work/wireshark/svn/trunk/tfshark.c:1968: undefined reference to 
ftap_strerror'
MakeFiles/tfshark.dir/capture_ifinfo.c.o: In function `capture_interface_list':
home/jmayer/work/wireshark/svn/trunk/capture_ifinfo.c:122: undefined reference 
o `sync_interface_list_open'
MakeFiles/tfshark.dir/capture_ifinfo.c.o: In function 
`capture_get_if_capabilities':
home/jmayer/work/wireshark/svn/trunk/capture_ifinfo.c:221: undefined reference 
o `sync_if_capabilities_open'
ollect2: error: ld returned 1 exit status
I will look into this myself if not fixed by this afternoon :-)
Ciao
  Jörg
- 
oerg Mayer                                           <[email protected]>
e are stuck with technology when what we really want is just stuff that
orks. Some say that should read Microsoft instead of technology.
__________________________________________________________________________
ent via:    Wireshark-dev mailing list <[email protected]>
rchives:    http://www.wireshark.org/lists/wireshark-dev
nsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Attachment: CMakeLists.txt.patch
Description: Binary data

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to