• Bug#266247: kaquarium: FTBFS on amd64: Missing '-fPIC'

    From Andreas Jochens@1:229/2 to All on Tue Aug 17 10:20:11 2004
    From: [email protected]

    Package: kaquarium
    Severity: normal
    Tags: patch

    When building 'kaquarium' on amd64 I get the following error:

    /usr/bin/ld: .libs/kaquarium_panelapplet_la.all_cpp.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
    .libs/kaquarium_panelapplet_la.all_cpp.o: could not read symbols: Bad value collect2: ld returned 1 exit status
    make[3]: *** [kaquarium_panelapplet.la] Error 1
    make[3]: Leaving directory `/kaquarium-1.0-beta/src'

    With the attached patch 'kaquarium' can be compiled on amd64.

    Regards
    Andreas Jochens

    diff -urN ../tmp-orig/kaquarium-1.0-beta/debian/rules ./debian/rules
    --- ../tmp-orig/kaquarium-1.0-beta/debian/rules 2004-08-17 09:12:50.580257665 +0200
    +++ ./debian/rules 2004-08-17 09:11:58.299205593 +0200
    @@ -34,7 +34,7 @@
    config.status: configure
    dh_testdir
    # Commands to configure the package.
    - ./configure $(configkde)
    + CXXFLAGS=-fPIC ./configure $(configkde)


    build: build-stamp


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)