From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 15:11:34 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 2CE0F16A468 for ; Mon, 23 Jul 2007 15:11:34 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 100B213C4B6 for ; Mon, 23 Jul 2007 15:11:34 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l6NFBXkh001494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jul 2007 08:11:33 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l6NFBWs4023387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Jul 2007 08:11:33 -0700 Message-ID: <46A4C522.1010100@u.washington.edu> Date: Mon, 23 Jul 2007 08:11:30 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Filip Lenaerts References: <20070723145345.GC5781@SDF.LONESTAR.ORG> In-Reply-To: <20070723145345.GC5781@SDF.LONESTAR.ORG> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.23.75333 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' 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:11:34 -0000 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