On 11/26/25 12:37, Guy Harris wrote:
On Nov 26, 2025, at 9:06 AM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
Bleh, Fedora 34 would then break, I'll try again.
So does Fedora 34 have
1) a version of LUA_VERSION_RELEASE_NUM that is 50404 but has a one-argument version of lua_resetthread()
or
2) a version of LUA_VERSION_RELEASE_NUM that *not* 50404 but has a *two*-argument version of lua_resetthread()?
Lua release nums are same on both F34 and F36. F36 has two arguments. I diffed the lua.h on F34 and F36, only difference
is that extra argument in that one method on F36.
Lua just broke their versioning, I don't see any useful way to determine which is
which with #ifdef logic. I guess cmake might could hack something together,
but I don't know anything about how to do that and probably not worth the
effort.
For my purpose, I have successfully hacked around it by just editing the lua.h on
my OS.
Possibly some older supported RHEL or similar OS would have similar issues and be more
worth supporting than Fedora 36. I'm only compiling wireshark on Fedora's at the moment
though.
Thanks,
Ben
Or is it some other issue?
_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com