viruscamp / luadec

Lua Decompiler for lua 5.1 , 5.2 and 5.3
1.14k stars 343 forks source link

MINGW installation failure - undefined reference to `_longjmp' (LUA 5.2.X) #61

Open the-almighty-carl opened 5 years ago

the-almighty-carl commented 5 years ago

Currently trying to compile/use luadec on Windows to deal with some pesky .luac files that need reverse-engineering. Following the bash script provided, with the exception of using "mingw32-make" in place of "make" for reasons that should be obvious, results in everything working correctly for about three whole seconds before this happens:

mingw epic fail xdd Pardon how bad I am at markdown.

The .luac files in need of decompiling are written in lua 5.2.4, which is currently installed and functioning on my computer, so that can't be the problem. The weirdest part is that I would expect this to be a problem with .dll file I/O/etc given where the failure seems to occur in the makefile when the mingw32-make command's platform value is set to mingw, but the exact same "undefined reference to `_longjmp'" error occurs regardless of what the platform is set to.

It's probably just another PEBCAK situation, I know, but for it to be another PEBCAK situation implies that either something important was left out of the guide or the wiki is in even greater disrepair than it appears, so I felt it was worth bringing up.