ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: [Wireshark-users] Integrating a CORBA dissector

Date: Thu, 6 Mar 2008 10:35:09 +1300
Hi there,

At the moment I am trying to integrate a CORBA dissector.

Using the instructions at
http://www.wireshark.org/docs/wsug_html_chunked/AppToolsidl2wrs.html I
produced a C file from the IDL.

The next step is to build Wireshark with the new C file integrated.
Here the instructions read:
edit Makefile.am
edit Makefile.nmake

Being on Linux, I don't care about Makefile.nmake. Still, I do not
manage to integrate my new file into Makefile.am ... after all, it has
around 820 lines in version 0.99.6.

This is the diff for Makefile.am:

Index: Makefile.am
===================================================================
--- Makefile.am (revision 24562)
+++ Makefile.am (working copy)
@@ -280,6 +280,7 @@
        $(wireshark_optional_objects)   \
        gtk/libui.a                     \
        codecs/libcodec.a               \
+       myInterface.a           \
        wiretap/libwiretap.la           \
        epan/libwireshark.la            \
        @INET_PTON_LO@                  \
@@ -301,6 +302,7 @@
 # Libraries and plugin flags with which to link tshark.
 tshark_LDADD = \
        $(wireshark_optional_objects)   \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        epan/libwireshark.la            \
        @INET_PTON_LO@                  \
@@ -324,21 +326,25 @@

 # Libraries with which to link mergecap.
 mergecap_LDADD = \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        @GLIB_LIBS@

 # Libraries with which to link capinfos.
 capinfos_LDADD = \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        @GLIB_LIBS@

 # Libraries with which to link editcap.
 editcap_LDADD = \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        @GLIB_LIBS@

 # Libraries with which to link randpkt.
 randpkt_LDADD = \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        @GLIB_LIBS@ -lm                 \
        @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@
@@ -346,6 +352,7 @@
 # Libraries and plugin flags with which to link dftest.
 dftest_LDADD = \
        $(wireshark_optional_objects)   \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        epan/libwireshark.la            \
        @SNMP_LIBS@ @SSL_LIBS@          \
@@ -359,6 +366,7 @@

 # Libraries with which to link dumpcap.
 dumpcap_LDADD = \
+       myInterface.la          \
        wiretap/libwiretap.la           \
        @INET_NTOP_LO@                  \
        @GLIB_LIBS@                     \



This is the error message that I get when building:

make[2]: *** No rule to make target `myInterface.a', needed by
`wireshark'.  Stop.
make[2]: Leaving directory `/home/wireshark/wireshark-0.99.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wireshark/wireshark-0.99.6'
make: *** [all] Error 2



Cheers, thanks for ideas ...
Benjamin