Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2005 12:08:55 +0100
From:      Gert Cuykens <gert.cuykens@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   /usr/ports/audio/xmms-osssurround (build error amd64)
Message-ID:  <ef60af090501310308243f6657@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef60af090501310308243f6657>