Wireshark-dev: [Wireshark-dev] cmake build of r43639 fails
From: Martin Kaiser <[email protected]>
Date: Tue, 10 Jul 2012 13:31:15 +0200
Dear all,

I'm building r43639 using cmake, this fails at

[ 78%] Built target tshark
[ 78%] Built target codecs
[ 88%] Built target gtkui
Linking C executable wireshark
lib/libgtkui.a(main_menubar.c.o):(.rodata+0x27d4): undefined reference
to `rlc_lte_graph_cb'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[1]: *** [CMakeFiles/wireshark.dir/all] Error 2
make: *** [all] Error 2


I guess rlc_lte_graph.c should be added to CMakeLists.txt, not just to
Makefile.common.

Trivial patch attached, could someone check it in?

Thanks,

   Martin
Index: ui/gtk/CMakeLists.txt
===================================================================
--- ui/gtk/CMakeLists.txt       (revision 43639)
+++ ui/gtk/CMakeLists.txt       (working copy)
@@ -187,6 +187,7 @@
        mtp3_summary.c
        ncp_stat.c
        radius_stat.c
+       rlc_lte_graph.c
        rlc_lte_stat_dlg.c
        rpc_progs.c
        rpc_stat.c