ion-3 20070720: undefined reference to lua
youshi10 at u.washington.edu
Mon Jul 23 15:11:34 UTC 2007
Filip Lenaerts wrote:
> hi everyone,
> recently i upgraded from the very stable 5.x to 6.2-stable. i portupgraded/recompiled all of my favourites and they all work ... except for the new ion-3: in the make step, i always get undefined references:
> cc ion-statusd.o exec.o extlrx.o exports.o -L/usr/local/lib -lintl -L../../libmainloop -lmainloop -L../../libextl -lextl -L../../libtu -ltu -L/usr/local/lib/lua51 -llua -lm -o ion-statusd
> ../../libextl/libextl.a(luaextl.o)(.text+0xf): In function `lua_rawset_check':
> : undefined reference to `luaL_checktype'
> ../../libextl/libextl.a(luaextl.o)(.text+0x119): In function `extl_cpcall':
> : undefined reference to `lua_tolstring'
> ../../libextl/libextl.a(luaextl.o)(.text+0x3a1): In function `extl_dopath':
> : undefined reference to `luaL_checklstring'
> full script output of 'make install': http://filip.freeshell.org/log/ion-3.install.log (43K)
> i reinstalled lua5 to make sure i have recent libs in /usr/local/lib.
> has anyone an idea what is going wrong here?
- Did you remember to run make clean first?
- I'd reinstall all ports/packages after a major upgrade like you did
because the ABI most likely isn't the same, but for a short term
solution try rebuilding the kernel with 5.x compatibility built in.
More information about the freebsd-ports