From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 8 12:00:46 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AAE516A4E6 for ; Thu, 8 Apr 2004 12:00:46 -0700 (PDT) Received: from mail.jrv.org (rrcs-sw-24-73-246-106.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B1F743D1D for ; Thu, 8 Apr 2004 12:00:16 -0700 (PDT) (envelope-from james@jrv.org) Received: from jrv.org (zippy.jrv.org [192.168.3.156]) (authenticated bits=0) by dogfood.jrv.org (8.12.11/8.12.10) with ESMTP id i38IoMpZ044818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Apr 2004 13:50:22 -0500 (CDT) (envelope-from james@jrv.org) Message-ID: <40759EEE.6030907@jrv.org> Date: Thu, 08 Apr 2004 13:50:22 -0500 From: "James R. Van Artsalen" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Racine References: <32A8B2CB12BFC84D8D11D872C787AA9A015E9AB4@EXCHANGE.forest.maxwell.syr.edu> In-Reply-To: <32A8B2CB12BFC84D8D11D872C787AA9A015E9AB4@EXCHANGE.forest.maxwell.syr.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-amd64@freebsd.org Subject: Re: libwnck errors on amd64... guidance appreciated... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 19:00:47 -0000 Jeff Racine wrote: >Here is the relevant part of the failure (uname, dmesg etc. to follow), and thanks ever so much for your time and efforts. > >cc -shared -Wl,--rpath -Wl,/usr/X11R6/lib application.lo class-group.lo pager.lo screen.lo tasklist.lo util.lo window.lo window-action-menu.lo window-menu.lo workspace.lo xutils.lo wnck-enum-types.lo wnck-marshal.lo pager-accessible.lo pager-accessible-factory.lo workspace-accessible.lo workspace-accessible-factory.lo -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lstartup-notification-1 -lSM -lICE -lX11 -lXRes -lXext -Wl,-soname -Wl,libwnck-1.so.13 -Wl,-retain-symbols-file -Wl,.libs/libwnck-1.exp -o .libs/libwnck-1.so.13 > >/usr/bin/ld: /usr/X11R6/lib/libXRes.a(XRes.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > > The immediate problem is that this command is trying to build shared library libwnck-1.so but is trying to link static libXRes.a into it. That doesn't work: shared libs must be composed of only shared objects, not static objects. The real question is why /usr/ports/x11/libXres built a static lib instead of a shared lib. You might rebuild libXres, under script(1), and see if you can spot anything suspicious when Configure runs to suggest why it's not building a shared lib.