Wireshark-dev: [Wireshark-dev] Linking reassemble_test.exe
From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Wed, 16 May 2012 17:36:48 +0200
Isn't reassemble_test.exe among the targets on Windows?
(or any OS; I dont understand the 'EXTRA_DIST' stuff in
epan/Makefile.am).

Can't seems to make it link because of a missing export of
'proto_registrar_get_name' in epan/libwireshark.def. Hence, I think
patch should fix it:

--- SVN-Latest\epan\libwireshark.def    Tue May 15 00:17:00 2012
+++ epan\libwireshark.def       Wed May 16 17:27:51 2012
@@ -801,6 +801,7 @@
proto_registrar_dump_ftypes
proto_registrar_get_ftype
proto_registrar_get_byname
+proto_registrar_get_name
proto_registrar_get_nth
proto_registrar_get_parent
proto_registrar_get_abbrev

And now reasseble_test.exe works too:

Starting test test_simple_fragment_add_seq
Starting test test_fragment_add_seq_partial_reassembly
Starting test test_fragment_add_seq_duplicate_first
Starting test test_fragment_add_seq_duplicate_middle
Starting test test_fragment_add_seq_duplicate_last
Starting test test_fragment_add_seq_duplicate_conflict
Starting test test_fragment_add_dcerpc_dg
Starting test test_fragment_add_seq_check
Starting test test_fragment_add_seq_check_1
Starting test test_fragment_add_seq_802_11_0
Starting test test_fragment_add_seq_802_11_1
Starting test test_simple_fragment_add_seq_next
Starting test test_missing_data_fragment_add_seq_next
Starting test test_missing_data_fragment_add_seq_next_2
Starting test test_missing_data_fragment_add_seq_next_3
SUCCESS

--gv