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

From: Gert Cuykens (gert.cuykens_at_gmail.com)
Date: 01/31/05

  • Next message: Loren M. Lang: "[lorenl@alzatex.com: Re: Mounting a samba share on boot?]"
    Date: Mon, 31 Jan 2005 12:43:50 +0100
    To: freebsd-questions@freebsd.org
    
    

    On Mon, 31 Jan 2005 12:08:55 +0100, Gert Cuykens <gert.cuykens@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@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@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>
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Loren M. Lang: "[lorenl@alzatex.com: Re: Mounting a samba share on boot?]"

    Relevant Pages