From: john <john.osullivan@cloudiumsystems.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problem build haserl with lua support
Date: Thu, 31 Jan 2013 11:05:53 +0000 [thread overview]
Message-ID: <1359630353.9888.41.camel@john-ubu> (raw)
Hi,
I'm using Buildroot 2012.05 and am trying to configure haserl v0.9.X
with lua support. I select the lua intrepreter and have not selected lua
library modules.
The relevant config section is:
# Interpreter languages and scripting
#
BR2_PACKAGE_HASERL=y
BR2_PACKAGE_HASERL_WITH_LUA=y
# BR2_PACKAGE_HASERL_VERSION_0_8_X is not set
BR2_PACKAGE_HASERL_VERSION_0_9_X=y
BR2_PACKAGE_HASERL_VERSION="0.9.29"
BR2_PACKAGE_LUA=y
# BR2_PACKAGE_LUA_COMPILER is not set
BR2_PACKAGE_LUA_INTERPRETER=y
# BR2_PACKAGE_LUA_INTERPRETER_READLINE is not set
BR2_PACKAGE_LUA_SHARED_LIBRARY=y
#
# LUA libraries/modules
#
# BR2_PACKAGE_CGILUA is not set
# BR2_PACKAGE_COPAS is not set
# BR2_PACKAGE_COXPCALL is not set
# BR2_PACKAGE_LUAFILESYSTEM is not set
# BR2_PACKAGE_LUASOCKET is not set
# BR2_PACKAGE_RINGS is not set
# BR2_PACKAGE_WSAPI is not set
# BR2_PACKAGE_XAVANTE is not set
# BR2_PACKAGE_MICROPERL is not set
# BR2_PACKAGE_PHP is not set
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_RUBY is not set
# BR2_PACKAGE_TCL is not set
I am getting the following error when I try and build:
>>> host-lua 5.1.4 Building
sed -i -e
's/-O2//' /home/myname/src/shannon/buildroot-2012.05/output/build/host-lua-5.1.4/src/Makefile
sed -i -e 's/\/usr
\/local/\/usr/' /home/myname/src/shannon/buildroot-2012.05/output/build/host-lua-5.1.4/etc/lua.pc
/usr/bin/make -j2 MYCFLAGS="-fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX"
MYLIBS="-ldl" PKG_VERSION=5.1.4
-C /home/myname/src/shannon/buildroot-2012.05/output/build/host-lua-5.1.4/src all
make[1]: Entering directory
`/home/myname/src/shannon/buildroot-2012.05/output/build/host-lua-5.1.4/src'
gcc -o liblua.so.5.1.4 -shared -Wl,-soname="liblua.so.5.1.4" lapi.o
lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o
lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o
lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o
ltablib.o lstrlib.o loadlib.o linit.o -nostdlib -lgcc
ldo.o: In function `luaD_callhook':
ldo.c:(.text+0x825): undefined reference to `__stack_chk_fail_local'
ldump.o: In function `DumpHeader':
ldump.c:(.text+0x54a): undefined reference to `__stack_chk_fail_local'
llex.o: In function `luaX_lexerror':
llex.c:(.text+0x31b): undefined reference to `__stack_chk_fail_local'
lobject.o: In function `luaO_pushvfstring':
lobject.c:(.text+0x632): undefined reference to `__stack_chk_fail_local'
lundump.o: In function `LoadHeader':
lundump.c:(.text+0x9a9): undefined reference to `__stack_chk_fail_local'
lvm.o:lvm.c:(.text+0x11c): more undefined references to
`__stack_chk_fail_local' follow
collect2: ld returned 1 exit status
make[1]: *** [liblua.so] Error 1
If I select v0.8.X of haserl and separately select the lua option it
builds okay, of course then I don't get lua support integrated into
haserl. Any suggestions on how I can fix this?
regards
next reply other threads:[~2013-01-31 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-31 11:05 john [this message]
2013-01-31 11:52 ` [Buildroot] Problem build haserl with lua support Thomas Petazzoni
2013-02-01 17:30 ` john
2013-02-02 10:47 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359630353.9888.41.camel@john-ubu \
--to=john.osullivan@cloudiumsystems.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox