Bug 6580 - missing lua_call function
Summary: missing lua_call function
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-26 10:16 CEST by Guillaume Rousse
Modified: 2012-06-26 17:49 CEST (History)
3 users (show)

See Also:
Source RPM: lua
CVE:
Status comment:


Attachments

Description Guillaume Rousse 2012-06-26 10:16:28 CEST
[guillaume@beria lua]$ objdump -T /usr/lib64/liblua.so.5.2  | grep  lua_call
0000000000008fa0 g    DF .text    000000000000007b  Base        lua_callk 

It breaks building of all applications requiring lua, as configure test fail:

/tmp/ccZEby7U.o: In function `main':
/home/guillaume/work/mageia/cauldron/rrdtool/BUILD/rrdtool-1.4.7/conftest.c:127: undefined reference to `lua_call'
collect2: ld returned 1 exit status
Manuel Hiebel 2012-06-26 11:17:29 CEST

CC: (none) => blue_prawn, shikamaru, thierry.vignaud

Comment 1 Thierry Vignaud 2012-06-26 14:12:13 CEST
You've a build issue: there's no lua_call anymore in lua5.2:
usr/include/lua.h:#define lua_call(L,n,r)               lua_callk(L, (n), (r), 0, NULL)

lua_call() only exists up to lua-5.1.
I guess you missed sg like:

foobar.c:21:5: warning: implicit declaration of function âlua_callâ [-Wimplicit-function-declaration]

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 2 Guillaume Rousse 2012-06-26 17:49:57 CEST
Ouch... I didn't see anything related in Lua 5.2 release notes :(

OK, let's use lua5.1 for non-compatible applications.

Note You need to log in before you can comment on or make changes to this bug.