Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 08:11:30 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Filip Lenaerts <filip@freeshell.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ion-3 20070720: undefined reference to lua
Message-ID:  <46A4C522.1010100@u.washington.edu>
In-Reply-To: <20070723145345.GC5781@SDF.LONESTAR.ORG>
References:  <20070723145345.GC5781@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
>
> tnx
>
> filip
>   

- 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.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A4C522.1010100>