lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Russell Haley once stated:
> Hi,
> 
> I've built lua a bunch of times on TrueOS (aka FreeBSD 12-Current)
> using the files from git. I usually mangle the Makefile myself to use
> clang and make it install where I want to.
> 
> Anyway, I have an arm board with FreeBSD 12-Current on it. I tried
> building from the tarball provided by the lua.org website. I modified
> the Makefile to use clang because, well, this is FreeBSD! I added the
> CC=cc flag from osx target to the freebsd.
> 
> The following is my failed build output is below. For the record,
> readline 6.3.8_1 installed with git and git seems to work fine.
> 
> 
> freebsd@imx6:~/lua/lua-5.3.4/src % make freebsd
> make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -lreadline" CC=cc
> cc  -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX  -c lapi.c -o lapi.o
                                          ^^^^^^^^^^^^^^
Perhaps define LUA_USE_POSIX?  Any reason you are using LUA_USE_LINUX on a
non-Linux system?

  -spc