can't make luajit in 3.6

lhmwzy lhmwzy at gmail.com
Thu Feb 13 01:01:01 PST 2014


LuaJIT-2.1-20140109

use GNU make to make

the error info:
lj_mcode.c:123:2: error: #error "Missing OS support for explicit placement
of executable memory"
lj_mcode.c: In function 'mcode_protect':
lj_mcode.c:197:5: warning: implicit declaration of function 'mcode_setprot'
[-Wimplicit-function-declaration]
lj_mcode.c: In function 'mcode_alloc':
lj_mcode.c:235:7: warning: implicit declaration of function
'mcode_alloc_at' [-Wimplicit-function-declaration]
lj_mcode.c:235:45: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c:235:45: note: each undeclared identifier is reported only once
for each function it appears in
lj_mcode.c:240:7: warning: implicit declaration of function 'mcode_free'
[-Wimplicit-function-declaration]
lj_mcode.c: In function 'mcode_allocarea':
lj_mcode.c:275:15: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_reserve':
lj_mcode.c:304:22: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_commit':
lj_mcode.c:313:20: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_abort':
lj_mcode.c:320:22: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_patch':
lj_mcode.c:332:24: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c:340:24: error: 'MCPROT_RW' undeclared (first use in this
function)
Makefile:642: recipe for target 'lj_mcode.o' failed

try LuaJIT-2.0.2
the error info :
lj_mcode.c:122:2: error: #error "Missing OS support for explicit placement
of executable memory"
lj_mcode.c: In function 'mcode_protect':
lj_mcode.c:187:5: warning: implicit declaration of function 'mcode_setprot'
[-Wimplicit-function-declaration]
lj_mcode.c: In function 'mcode_alloc':
lj_mcode.c:224:7: warning: implicit declaration of function
'mcode_alloc_at' [-Wimplicit-function-declaration]
lj_mcode.c:224:45: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c:224:45: note: each undeclared identifier is reported only once
for each function it appears in
lj_mcode.c:229:7: warning: implicit declaration of function 'mcode_free'
[-Wimplicit-function-declaration]
lj_mcode.c: In function 'mcode_allocarea':
lj_mcode.c:264:15: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_reserve':
lj_mcode.c:293:22: error: 'MCPROT_RW' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_commit':
lj_mcode.c:302:20: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_abort':
lj_mcode.c:308:20: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c: In function 'lj_mcode_patch':
lj_mcode.c:320:24: error: 'MCPROT_RX' undeclared (first use in this
function)
lj_mcode.c:328:24: error: 'MCPROT_RW' undeclared (first use in this
function)

My os:
uname -a:
DragonFly . 3.6-RELEASE DragonFly v3.6.0.24.gf2d5f-RELEASE #4: Tue Feb 11
14:22:27 UTC 2014 lhm at .:/usr/obj/usr/src/sys/
lhmwzy x86_64

Any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20140213/9b447995/attachment-0002.htm>


More information about the Users mailing list