/usr/ports/audio/xmms-osssurround (build error amd64)

Gert Cuykens gert.cuykens at gmail.com
Mon Jan 31 03:08:57 PST 2005

hi can someone add -fPIC to the make file to make it work for amd64


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.

Add -fPIC to the make file for the osssurround program!
That's needed for AMD64.

best regards
Dev Mazumdar

More information about the freebsd-questions mailing list