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

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

  • Next message: Ian Moore: "Re: SSH suddenly giving pam error for existing user"
    Date: Mon, 31 Jan 2005 12:08:55 +0100
    To: freebsd-questions@freebsd.org
    
    

    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
    _______________________________________________
    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: Ian Moore: "Re: SSH suddenly giving pam error for existing user"