• Bug#258355: FTBFS: Policy dictates -fPIC for shared objects

    From Falk Hueffner@1:229/2 to All on Sat Aug 14 09:40:05 2004
    From: [email protected]

    Note this also leads to FTBFS on Alpha:

    dpkg-buildpackage: source package is glew
    dpkg-buildpackage: source version is 1.2.3-1
    dpkg-buildpackage: host architecture is alpha
    fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    rm -f build-stamp configure-stamp
    /usr/bin/make distclean
    make[1]: Entering directory `/home/mrvn/build/glew/glew-1.2.3'
    rm -f src/glew.o
    rm -f lib/libGLEW.a lib/libGLEW.so.1.2.3 lib/libGLEW.so lib/libGLEW.so.1 libGLEW.a
    rm -f src/glewinfo.o bin/glewinfo
    rm -f so_locations
    find . -name \*~ | xargs rm -f
    find . -name .\*.sw\? | xargs rm -f
    make[1]: Leaving directory `/home/mrvn/build/glew/glew-1.2.3'
    dh_clean
    debian/rules build
    dh_testdir
    touch configure-stamp
    dh_testdir
    /usr/bin/make GL_LDFLAGS=-lGL GLU_LDFLAGS=-lGLU GLUT_LDFLAGS=-lglut
    make[1]: Entering directory `/home/mrvn/build/glew/glew-1.2.3'
    cc -O2 -Wall -W -Iinclude -o src/glew.o -c src/glew.c
    ld -shared -soname libGLEW.so.1 -o lib/libGLEW.so.1.2.3 src/glew.o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11 -lGL
    ld: src/glew.o: gp-relative relocation against dynamic symbol __glewCopyTexSubImage3D
    ld: src/glew.o: gp-relative relocation against dynamic symbol __glewCopyTexSubImage3D
    ld: src/glew.o: gp-relative relocation against dynamic symbol __glewDrawRangeElements
    ld: src/glew.o: gp-relative relocation against dynamic symbol __glewDrawRangeElements
    [...]
    make[1]: *** [lib/libGLEW.so.1.2.3] Error 1
    make[1]: Leaving directory `/home/mrvn/build/glew/glew-1.2.3'
    make: *** [build-stamp] Error 2

    --
    Falk


    --
    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)