From owner-freebsd-ports@FreeBSD.ORG Mon Mar 14 19:02:53 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44AAC16A4CE for ; Mon, 14 Mar 2005 19:02:53 +0000 (GMT) Received: from smtp06.web.de (smtp06.web.de [217.72.192.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE0243D39 for ; Mon, 14 Mar 2005 19:02:52 +0000 (GMT) (envelope-from davidnies@web.de) Received: from [213.7.40.109] (helo=[213.7.40.109]) by smtp06.web.de with asmtp (WEB.DE 4.104 #268) id 1DAuq1-0004wD-00 for freebsd-ports@freebsd.org; Mon, 14 Mar 2005 20:02:50 +0100 Message-ID: <4235E05D.9060703@web.de> Date: Mon, 14 Mar 2005 20:05:01 +0100 From: David Nies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050314 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: davidnies@web.de X-Sender: davidnies@web.de Subject: FreeBSD Port: xfce4-4.2.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 19:02:53 -0000 Hello! I've had the same problem, but I found a fix for the undefined reference - at least it worked on my machine: FIX: Go to the ports/x11-wm/xfce4-desktop/work/xfdesktop-4.2.0/src directory. In this directory, edit the file: xfce-desktop.c. Go to line number 137, the line before ``count_elements(const gchar **list)''. This line should be ``G_INLINE_FUNC gint'', and replace it with ``static inline gint''. This fixed the problem. It compiled correctly and runs without problems. 'DESCRIPTION': G_INLINE_FUNC is a definition on how to compile inline functions in glib12. I didn't find such a definition in glib-2.0. One of the possible definitions of G_INLINE_FUNC is ``static inline'', and this one worked for me. Greets, David