Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6936          
     
           Summary: Undefined symbols in 6.4.2 if using -DUSE_MGL_NAMESPACE
                    in sunos5-gcc on Solaris
           Product: Mesa
           Version: 6.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P1
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


I compiled the last stable release 6.4.2 on Solaris 9 (sparc/ultrasparc)
for 32 bit. If I just run 
make sunos5-gcc
without changing sunos5-gcc everything builds fine but if I want to
build mangled mesa and add -DUSE_MGL_NAMESPACE to the defines in
sunos5-gcc
=>
DEFINES = -D_REENTRANT -DUSE_XSHM -DUSE_MGL_NAMESPACE
It compiles and link the libraries libGL.so ... but with undefined symbols.
Afterwards I can't build the examples or any test program due to
the undefined symbols
make sunos5-gcc
stops with the followinf errors:
gcc -I../../include -Wall -O3 -g -fomit-frame-pointer -pipe -fPIC  -D_REENTRANT
-DUSE_XSHM -DUSE_MGL_NAMESPACE -DUSE_SPARC_ASM -std=c99 -ffast-math -I/usr/openw
in/include arbfplight.c readtex.o -L../../lib -lX11 -lglut -lGLU -lGL -lm -o arb
fplight
Undefined                       first referenced
 symbol                             in file
mglGetMinmax                        ../../lib/libGL.so
mglNormal3fv                        ../../lib/libglut.so
mglNormal3dv                        ../../lib/libGL.so
mglNormal3bv                        ../../lib/libGL.so
mglNormal3iv                        ../../lib/libGL.so
mglNormal3sv                        ../../lib/libGL.so
mglSecondaryColor3s                 ../../lib/libGL.so
....
mglCopyColorTableSGI                ../../lib/libGL.so
ld: fatal: Symbol referencing errors. No output written to arbfplight
collect2: ld returned 1 exit status
make[3]: *** [arbfplight] Error 1
make[3]: Leaving directory `/export/home/egger/src/mesa/Mesa-6.4.2/progs/demos'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/export/home/egger/src/mesa/Mesa-6.4.2/progs'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/export/home/egger/src/mesa/Mesa-6.4.2'
make: *** [sunos5-gcc] Error 2

I'll try the version 6.5 (Last development release) but I expect the same or
even worse errors. What is wrong here?          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to