From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 15:21:05 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1807F16A419 for ; Mon, 23 Jul 2007 15:21:05 +0000 (UTC) (envelope-from filip@sdf.lonestar.org) Received: from sdf.lonestar.org (mx.freeshell.ORG [192.94.73.19]) by mx1.freebsd.org (Postfix) with ESMTP id CBEBE13C46E for ; Mon, 23 Jul 2007 15:21:04 +0000 (UTC) (envelope-from filip@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:filip@faeroes.freeshell.org [192.94.73.9]) by sdf.lonestar.org (8.14.1/8.13.8) with ESMTP id l6NFKtnI023176; Mon, 23 Jul 2007 15:20:55 GMT Received: (from filip@localhost) by sdf.lonestar.org (8.14.1/8.12.8/Submit) id l6NFKseu021296; Mon, 23 Jul 2007 15:20:54 GMT Date: Mon, 23 Jul 2007 15:20:54 +0000 From: Filip Lenaerts To: Garrett Cooper Message-ID: <20070723152054.GA22197@SDF.LONESTAR.ORG> References: <20070723145345.GC5781@SDF.LONESTAR.ORG> <46A4C522.1010100@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46A4C522.1010100@u.washington.edu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org Subject: Re: ion-3 20070720: undefined reference to lua X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 15:21:05 -0000 hi garett, On Mon, Jul 23, 2007 at 08:11:30AM -0700, Garrett Cooper wrote: > >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. > > > - Did you remember to run make clean first? yep. even did a distclean, not that it helps, but you never know. > - 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 i reinstalled all ports, afaik (took me a lot of sweat, blood and tears, but got it together after two days). perhaps there are still some dangling ports not reinstalled. an idea on how to find them? > solution try rebuilding the kernel with 5.x compatibility built in. i have 5.x compat built in. but during the upgrade i did a make delete-old-libs, which i guess turns 5.x compat quite useless? or am i mistaken here? filip