From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 11:08:57 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 227E516A4CE for ; Mon, 31 Jan 2005 11:08:57 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7229A43D2F for ; Mon, 31 Jan 2005 11:08:56 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id r35so874233rna for ; Mon, 31 Jan 2005 03:08:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=G9Lx/2XDmc5AakenLk1Utq14tM2DO3OBlc/vZ3oSID3AOUb4P1xa5F/kG8gLtjuiAmO6ATaqyYTp71egP7rKXUOfcSp19/CmxvOM5/gc2No72xdW5KF2WpuJcaV0xE1dHK/PGB2808yNv5J7/nShzalIdYu9KDU8Qp5bfWyhYBs= Received: by 10.39.1.42 with SMTP id d42mr126477rni; Mon, 31 Jan 2005 03:08:55 -0800 (PST) Received: by 10.38.74.6 with HTTP; Mon, 31 Jan 2005 03:08:55 -0800 (PST) Message-ID: Date: Mon, 31 Jan 2005 12:08:55 +0100 From: Gert Cuykens To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: /usr/ports/audio/xmms-osssurround (build error amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 11:08:57 -0000 hi can someone add -fPIC to the make file to make it work for amd64 >>http://www.4front-tech.com/forum/viewtopic.php?t=315<< gert cuykens wrote: 7rxI# cd /usr/ports/audio/xmms-osssurround 7rxI# ls Makefile files pkg-plist distinfo pkg-descr work 7rxI# cat pkg-descr OSSSuround is an output plugin for XMMS included with xmms-a52dec. (audio/xmms-a52dec). It provides surround sound capability to xmms-a42dec and is fully compatible with all other input plugins. It can be used as a dropin replacement for the original OSS plugin distributed with XMMS. For developers, if you are interested in using OSSSurround to provide surround sound support for your XMMS input plugin, you can read the API document or contact the author for help. For latest API info: http://xmms-a52dec.sourceforge.net/API WWW: http://xmms-a52dec.sourceforge.net/ 7rxI# make depend 7rxI# make ===> Building for xmms-osssurround-0.1_1 cc -shared -olibOSSSurround.so about.o audio.o configure.o convert.o init.o mixer.o OSS.o /usr/bin/ld: about.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC about.o: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/audio/xmms-osssurround/work/xmms-a52dec-1.0/OSSSurround-0.1. *** Error code 1 Stop in /usr/ports/audio/xmms-osssurround. 7rxI# Add -fPIC to the make file for the osssurround program! That's needed for AMD64. best regards Dev Mazumdar