> This commit breaks Vim's compilation when enabling the lua interface with
> `--enable-luainterp=dynamic`. The compiler complains about an undefined
> reference to `luaL_ref`:
>
> /home/user/Vcs/vim/src/if_lua.c:622: undefined reference to `luaL_ref'
> /home/user/Vcs/vim/src/if_lua.c:627: undefined reference to `luaL_ref'
> /home/user/Vcs/vim/src/if_lua.c:610: undefined reference to `luaL_ref'
> objects/if_lua.o: In function `luaV_call_lua_func_free':
> /home/user/Vcs/vim/src/if_lua.c:2510: undefined reference to `luaL_unref'
> /home/user/Vcs/vim/src/if_lua.c:2513: undefined reference to `luaL_unref'
> collect2: error: ld returned 1 exit status
> link.sh: Linking failed
> Makefile:2132: recipe for target 'vim' failed
> make[1]: *** [vim] Error 1
> make[1]: Leaving directory '/home/user/Vcs/vim/src'
> Makefile:26: recipe for target 'first' failed
> make: *** [first] Error 2
I guessed the types for these functions. It works for me, but I don't
know about other Lua versions. Please check the next patch.
--
If an elephant is left tied to a parking meter, the parking fee has to be paid
just as it would for a vehicle.
[real standing law in Florida, United States of America]
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202006251858.05PIwKgW2299081%40masaka.moolenaar.net.