Ethereal-dev: [Ethereal-dev] Patch to fix compile error when configured without plugins

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Graeme Hewson <ghewson@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Mar 2005 18:25:51 +0000
Trying to make 0.10.10 after configuring with --without-plugins, this error message is displayed:

gtk/main.c:1636: undefined reference to `register_all_plugin_tap_listeners'

The attached patch fixes this.
--- main.c	Sat Mar 12 18:11:26 2005
+++ main.c.orig	Thu Mar 10 15:53:00 2005
@@ -1633,9 +1633,7 @@
   /* we register the plugin taps before the other taps because
 	  stats_tree taps plugins will be registered as tap listeners
 	  by stats_tree_stat.c and need to registered before that */
-#ifdef HAVE_PLUGINS
   register_all_plugin_tap_listeners();
-#endif
   register_all_tap_listeners();
 
   splash_update(splash_win, "Loading module preferences ...");