Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Mac Build Error

From: David Morsberger <dave@xxxxxxxxxxxxxx>
Date: Wed, 13 Jan 2016 21:30:24 -0500
I am receiving the following error after I reset the HEAD to the latest. 

Mac OS 10.11 with Xcode

Thoughts? 

/usr/bin/perl ../../../epan/wslua/make-taps.pl ../../../epan/wslua/taps taps_wslua.c taps.txt ../../../epan/wslua
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  CC       wslua_address.lo
  CC       wslua_byte_array.lo
  CC       wslua_capture_info.lo
  CC       wslua_column.lo
  CC       wslua_dir.lo
  CC       wslua_dissector.lo
  CC       wslua_dumper.lo
  CC       wslua_field.lo
  CC       wslua_file.lo
  CC       wslua_file_common.lo
  CC       wslua_file_handler.lo
  CC       wslua_frame_info.lo
  CC       wslua_gui.lo
  CC       wslua_int64.lo
  CC       wslua_internals.lo
  CC       wslua_listener.lo
  CC       wslua_nstime.lo
  CC       wslua_pinfo.lo
  CC       wslua_pref.lo
  CC       wslua_proto.lo
  CC       wslua_proto_expert.lo
  CC       wslua_proto_field.lo
  CC       wslua_struct.lo
  CC       wslua_tree.lo
  CC       wslua_tvb.lo
  CC       wslua_util.lo
  CC       taps_wslua.lo
/usr/bin/perl ../../../epan/wslua/make-reg.pl -d ../../../epan/wslua lrexlib.c lrexlib_glib.c lrexlib_glib_f.c lua_bitop.c wslua_address.c wslua_byte_array.c wslua_capture_info.c wslua_column.c wslua_dir.c wslua_dissector.c wslua_dumper.c wslua_field.c wslua_file.c wslua_file_common.c wslua_file_handler.c wslua_frame_info.c wslua_gui.c wslua_int64.c wslua_internals.c wslua_listener.c wslua_nstime.c wslua_pinfo.c wslua_pref.c wslua_proto.c wslua_proto_expert.c wslua_proto_field.c wslua_struct.c wslua_tree.c wslua_tvb.c wslua_util.c
  CC       register_wslua.lo
register_wslua.c:67:2: error: use of undeclared identifier 'wslua_reload_packets'; did you mean 'wslua_retap_packets'?
        WSLUA_REGISTER_FUNCTION(reload_packets); 
        ^
../../../epan/wslua/wslua.h:492:66: note: expanded from macro 'WSLUA_REGISTER_FUNCTION'
#define WSLUA_REGISTER_FUNCTION(name)     { lua_pushcfunction(L, wslua_## name); lua_setglobal(L, #name); }
                                                                 ^
<scratch space>:8:1: note: expanded from here
wslua_reload_packets
^
/usr/local/include/lua.h:329:53: note: expanded from macro 'lua_pushcfunction'
#define lua_pushcfunction(L,f)  lua_pushcclosure(L, (f), 0)
                                                     ^
../../../epan/wslua/wslua.h:687:1: note: 'wslua_retap_packets' declared here
WSLUA_DECLARE_FUNCTIONS()
^
../../../epan/wslua/declare_wslua.h:47:17: note: expanded from macro 'WSLUA_DECLARE_FUNCTIONS'
        WSLUA_FUNCTION wslua_retap_packets(lua_State* L);\
                       ^
register_wslua.c:68:2: error: use of undeclared identifier 'wslua_reload_lua_plugins'
        WSLUA_REGISTER_FUNCTION(reload_lua_plugins); 
        ^
../../../epan/wslua/wslua.h:492:66: note: expanded from macro 'WSLUA_REGISTER_FUNCTION'
#define WSLUA_REGISTER_FUNCTION(name)     { lua_pushcfunction(L, wslua_## name); lua_setglobal(L, #name); }
                                                                 ^
<scratch space>:8:1: note: expanded from here
wslua_reload_lua_plugins
^
/usr/local/include/lua.h:329:53: note: expanded from macro 'lua_pushcfunction'
#define lua_pushcfunction(L,f)  lua_pushcclosure(L, (f), 0)
                                                     ^
2 errors generated.
make[1]: *** [register_wslua.lo] Error 1
make: *** [all] Error 2