Wireshark mailing list archives
Re: Mac Build Error
From: David Morsberger <dave () morsberger com>
Date: Mon, 18 Jan 2016 00:27:20 -0500
I have been unable to resolve the following build errors on my Mac with 10.11. The perl code, the heavy use of macros, and lack of experience with lua was just a little too much. I did the ‘make maintainer-clean’, removed my build directory, re-ran ./autogen.sh, and re-ran the configure script. I ended up running configure with —with-lua=no to build without errors. 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); ^ register_wslua.c:68:2: error: use of undeclared identifier 'wslua_reload_lua_plugins' WSLUA_REGISTER_FUNCTION(reload_lua_plugins); ^ $ lua -v Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
On Jan 14, 2016, at 10:04 AM, David Morsberger <dave () morsberger com> wrote: On Wed, Jan 13, 2016 at 9:55 PM, Guy Harris <guy () alum mit edu <mailto:guy () alum mit edu>> wrote: On Jan 13, 2016, at 6:30 PM, David Morsberger <dave () morsberger com <mailto:dave () morsberger com>> wrote:I am receiving the following error after I reset the HEAD to the latest. Mac OS 10.11 with Xcode Thoughts?Try doing "make maintainer-clean", re-run ./autogen.sh, re-run the configure script, and recompile; there might be some out-of-date file there. (It's building fine elsewhere.) I am still receiving the error. I was able to continue by removing the following lines in the generated register_wslua.c file WSLUA_REGISTER_FUNCTION(reload_packets) WSLUA_REGISTER_FUNCTION(reload_lua_plugins) Also, wslua wasn't built on my Centos 6 box.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Mac Build Error David Morsberger (Jan 13)
- Re: Mac Build Error Guy Harris (Jan 13)
- Re: Mac Build Error David Morsberger (Jan 14)
- Re: Mac Build Error David Morsberger (Jan 17)
- Re: Mac Build Error Stig Bjørlykke (Jan 17)
- Re: Mac Build Error David Morsberger (Jan 18)
- Re: Mac Build Error Stig Bjørlykke (Jan 18)
- Re: Mac Build Error João Valverde (Jan 19)
- Re: Mac Build Error Guy Harris (Jan 19)
- Re: Mac Build Error David Morsberger (Jan 19)
- Re: Mac Build Error Stig Bjørlykke (Jan 19)
- Re: Mac Build Error David Morsberger (Jan 20)
- Re: Mac Build Error Stig Bjørlykke (Jan 20)
- Re: Mac Build Error David Morsberger (Jan 20)
- Re: Mac Build Error David Morsberger (Jan 14)
- Re: Mac Build Error Guy Harris (Jan 13)