Search code examples
makefilelualua-5.1

Lua 5.1.5's Makefile Produces Errors for Me


If I try to run the Makefile that comes with the source of Lua 5.1.5, I get the following errors:

gcc: error: #: No such file or directory
gcc: error: DLL: No such file or directory
gcc: error: needs: No such file or directory
gcc: error: all: No such file or directory
gcc: error: object: No such file or directory
gcc: error: files: No such file or directory

What do these errors mean? I would try fixing this issue myself before asking this question, but I don't know how to interpret these errors. If more context is needed, here is the full output.


Solution

  • This is a bug recorded here.

    Just edit Makefile and remove # DLL needs all object files.