/usr/ports/audio/xmms-osssurround (build error amd64)
Gert Cuykens
gert.cuykens at gmail.com
Mon Jan 31 03:43:51 PST 2005
On Mon, 31 Jan 2005 12:08:55 +0100, Gert Cuykens <gert.cuykens at gmail.com> wrote:
> 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#
CFLAGS+= -fPIC not working
# New ports collection makefile for: xmms-surround
# Date created: 24 July 2002
# Whom: Amar Takhar <verm at drunkmonk.net>
#
# $FreeBSD: ports/audio/xmms-osssurround/Makefile,v 1.7 2004/12/18
21:46:45 kris Exp $
#
PORTNAME= xmms-osssurround
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xmms-a52dec
DISTNAME= xmms-a52dec-1.0
MAINTAINER= ports at FreeBSD.org
COMMENT= OSSSuround adds Surround Sound capabilities to XMMS
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
USE_BZIP2= yes
USE_X_PREFIX= yes
CFLAGS+= -fPIC
BUILD_WRKSRC= ${WRKSRC}/OSSSurround-${PORTVERSION}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/OSSSurround-0.1/libOSSSurround.so \
${PREFIX}/lib/xmms/Output/
.include <bsd.port.mk>
More information about the freebsd-questions
mailing list