[asterisk-bugs] [JIRA] (ASTERISK-23293) Testsuite asttest doesn't compile with Lua 5.2
George Joseph (JIRA)
noreply at issues.asterisk.org
Thu Feb 13 00:23:03 CST 2014
George Joseph created ASTERISK-23293:
----------------------------------------
Summary: Testsuite asttest doesn't compile with Lua 5.2
Key: ASTERISK-23293
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23293
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Tests/testsuite
Affects Versions: 1.8.8.2
Environment: Fedora 20 x86_64
Name : lua
Arch : x86_64
Version : 5.2.2
Release : 5.fc20
Reporter: George Joseph
Severity: Minor
asttest fails to compile against Lua 5.2
{code}
$ make
cc -g -D_GNU_SOURCE -Wall `pkg-config --cflags lua5.1 2> /dev/null || pkg-config --cflags lua 2> /dev/null` -Iinclude -c -o asttest.o asttest.c
make -C lib/lua/luafilesystem-1.4.2
make[1]: Entering directory `/usr/src/asterisk/testsuite/asttest/lib/lua/luafilesystem-1.4.2'
gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic `pkg-config --cflags lua5.1 2> /dev/null || pkg-config --cflags lua 2> /dev/null` -c -o src/lfs.o src/lfs.c
src/lfs.c:680:30: error: array type has incomplete element type
static const struct luaL_reg fslib[] = {
^
src/lfs.c:680:30: warning: ‘fslib’ defined but not used [-Wunused-variable]
make[1]: *** [src/lfs.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/testsuite/asttest/lib/lua/luafilesystem-1.4.2'
make: *** [lib/lua/luafilesystem-1.4.2/src/lfs.o] Error 2
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list