lua-users home
lua-l archive

Re: Lua 5.1 (final,rc) now available

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


Hi,
askok@dnainternet.net wrote:
> Am I missing something obvious, what's wrong with:
> 
> install: src/lua
> 
> That is, make the install target depend on the executable (which, should be dependent on the source 
> files). Surely, I'm missing something..? :)
Try it:
$ make install
cc src/lua.c -o src/lua
/tmp/ccbkZmVc.o: In function `lstop':
lua.c:(.text+0x25): undefined reference to `lua_sethook'
[... dozens of errors omitted ...]
This means make ignores src/Makefile and resorts to default
rules (which are not sufficient).
Bye,
 Mike

AltStyle によって変換されたページ (->オリジナル) /