[SM-Grimoire-Bugs] [Bug 15323] New: libgle 3.1.0 fails with -Wl, --as-needed in LDFLAGS

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Jul 28 16:11:57 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15323

           Summary: libgle 3.1.0 fails with -Wl,--as-needed in LDFLAGS
           Product: Codex
           Version: test grimoire
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: graphics-libs
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org
            Blocks: 15215


Source Mage GNU/Linux 0.9.6.3 i486-pc-linux-gnu
Installed from CD using installer v. 0.9.6.3 on Wed Jan  9 04:46:16 PST 2008
--------------------{Section:               UNAME}--------------------
Linux esandall25808 2.6.30.2 #2 SMP Wed Jul 22 20:48:00 PDT 2009 i686 GNU/Linux
--------------------{Section:     COMPILER CONFIG}--------------------
SMGL_COMPAT_ARCHS=32/ia32/intel/em64t/core2_32/
ARCHITECTURE="core2_32"
OPTIMIZATIONS="combreloc prelink strip "
CUSTOM_CFLAGS="-O2"
CUSTOM_CXXFLAGS="-O2"
CUSTOM_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
CFLAGS="-march=core2 -m32 -pipe -DPIC -fPIC -O2"
CXXFLAGS="-march=core2 -m32 -pipe -DPIC -fPIC -O2"
LDFLAGS="-z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
HOST="i686-pc-linux-gnu"
CCACHE="on"
DISTCC_HOSTS=""
JOBS_PER_HOST="1"
MAKE_NJOBS="2"

$ sorcery -v
1.14.4-rc2

# cast libgle
Computing previously installed dependencies...
libgle preparing environment...
libgle checking dependencies...
libgle has a dependency on some GLUT.
        (0)     freeglut         (installed)
        (1)     glut
        (2)     openglut

Which one do you want? [0] 

libgle has a dependency on some OPENGL.
        (0)     ati-fglrx
        (1)     mesalib  (installed)
        (2)     nvidia_driver
        (3)     nvidia_legacy
        (4)     nvidia_legacy_173xx
        (5)     nvidia_legacy_96xx

Which one do you want? [1]
...
Making all in examples
make[2]: Entering directory `/usr/src/gle-3.1.0/examples'
/bin/sh ../libtool --mode=link gcc  -march=core2 -m32 -pipe -DPIC -fPIC -O2
-Wall -z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o alpha 
alpha.o mainjoin.o -lgle -lglut -lXi -lXext -lXmu -lGLU -lGL  -lXt -lX11 
-L../src/ -lm
gcc -march=core2 -m32 -pipe -DPIC -fPIC -O2 -Wall -z combreloc -s -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o .libs/alpha alpha.o mainjoin.o 
/usr/src/gle-3.1.0/src/.libs/libgle.so /usr/lib/libglut.so
/usr/lib/libXxf86vm.so /usr/lib/libXi.so /usr/lib/libXmu.so /usr/lib/libXext.so
-lGLU -lGL /usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libuuid.so
/usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libxcb-xlib.so
/usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
-L/usr/src/gle-3.1.0/src -lm
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to `gluTessVertex'
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to `gluNewTess'
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to `gluEndPolygon'
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to `gluDeleteTess'
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to
`gluTessCallback'
/usr/src/gle-3.1.0/src/.libs/libgle.so: undefined reference to
`gluBeginPolygon'
collect2: ld returned 1 exit status
make[2]: Leaving directory `/usr/src/gle-3.1.0/examples'
make[1]: Leaving directory `/usr/src/gle-3.1.0'
make[2]: *** [alpha] Error 1
make[1]: *** [all-recursive] Error 1

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list