Red Hat Bugzilla – Bug 1255553
[Feature Request] Build Wireshark with lua support
Last modified: 2016-12-07 10:26:09 EST
Description of problem:
No lua support in wireshark
This is useful for quickly writing dissectors
spec is already set up to build with lua, though currently disabled
Apparently fails to build:
./lua_bitop.c: In function 'barg':
./lua_bitop.c:85:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
#error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
./lua_bitop.c:61:10: warning: variable 'bn' set but not used [-Wunused-but-set-variable]
Makefile:690: recipe for target 'lua_bitop.lo' failed
Might outright require lua 5.2
(In reply to Andrew Cook from comment #2)
> Might outright require lua 5.2
Andrew we can't do it for now. If you have a working patch which allows building against Lua 5.3.x that would be really helpful. You may want to check patch attached in Bug #1230286.
Feel free to reopen if find something.
*** This bug has been marked as a duplicate of bug 1230286 ***
Created attachment 1065607 [details]
Disable bitop module
Got it to build by removing the bitop module, while fine for my use a proper solution would replace bitop.
5.3 adds bitwise operators which i assume are equivalent in all but syntax
*** This bug has been marked as a duplicate of bug 1259623 ***