Am Donnerstag, 28. Oktober 2004 01:31 schrieb Ian Romanick:
> Dieter NÃtzel wrote:
> > gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main
> > -I../../src/mesa/glapi -I../../src/mesa/math
> > -I../../src/mesa/tnl-I../../src/mesa/shader -I../../src/mesa/swrast
> > -I../../src/mesa/swrast_setup -Wall -O -march=athlon -ansi -pedantic
> > -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE
> > -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
> > -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include glapi/glapi.c -o
> > glapi/glapi.o
> > In file included from glapi/glapi.c:129:
> > glapi/glapitemp.h: In function `NoOpGetInfoLogARB':
> > glapi/glapitemp.h:3783: error: parameter name omitted
> > glapi/glapitemp.h:3783: error: parameter name omitted
> > glapi/glapitemp.h:3783: error: parameter name omitted
> > glapi/glapitemp.h:3785: error: parse error before ',' token
>
> I just saw this as well.  It appears to be related to the recent GLSL
> changes.  I'll try to poke around at it tonight, if nobody beats me to it.

Now, I get this in Mesa CVS:

gcc -I../../include -Wall -O -march=athlon -ansi -pedantic -fPIC 
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE 
-DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM 
-DPTHREADS -I/usr/X11R6/include arbfplight.c -L../../lib -lglut -lGLU -lGL 
-lm -o arbfplight
arbfplight.c: In function `Init':
arbfplight.c:236: Warnung: string length `900' is greater than the length 
`509'ISO C89 compilers are required to support
arbfplight.c:262: Warnung: string length `729' is greater than the length 
`509'ISO C89 compilers are required to support
../../lib/libGL.so: undefined reference to `_mesa_AttachObjectARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform1iARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform1fvARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform3fvARB'
../../lib/libGL.so: undefined reference to `_mesa_GetObjectParameterivARB'
../../lib/libGL.so: undefined reference to `_mesa_GetObjectParameterfvARB'
../../lib/libGL.so: undefined reference to `_mesa_CreateProgramObjectARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform1fARB'
../../lib/libGL.so: undefined reference to `_mesa_GetAttachedObjectsARB'
../../lib/libGL.so: undefined reference to `_mesa_UniformMatrix3fvARB'
../../lib/libGL.so: undefined reference to `_mesa_GetActiveAttribARB'
../../lib/libGL.so: undefined reference to `_mesa_ShaderSourceARB'
../../lib/libGL.so: undefined reference to `_mesa_GetInfoLogARB'
../../lib/libGL.so: undefined reference to `_mesa_ValidateProgramARB'
../../lib/libGL.so: undefined reference to `_mesa_LinkProgramARB'
../../lib/libGL.so: undefined reference to `_mesa_DeleteObjectARB'
../../lib/libGL.so: undefined reference to `_mesa_CompileShaderARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform3iARB'
../../lib/libGL.so: undefined reference to `_mesa_GetShaderSourceARB'
../../lib/libGL.so: undefined reference to `_mesa_GetHandleARB'
../../lib/libGL.so: undefined reference to `_mesa_GetUniformfvARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform3fARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform4iARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform2ivARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform4fARB'
../../lib/libGL.so: undefined reference to `_mesa_GetAttribLocationARB'
../../lib/libGL.so: undefined reference to `_mesa_UniformMatrix2fvARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform3ivARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform2fARB'
../../lib/libGL.so: undefined reference to `_mesa_GetActiveUniformARB'
../../lib/libGL.so: undefined reference to `_mesa_GetUniformLocationARB'
../../lib/libGL.so: undefined reference to `_mesa_GetUniformivARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform4fvARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform4ivARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform2iARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform2fvARB'
../../lib/libGL.so: undefined reference to `_mesa_DetachObjectARB'
../../lib/libGL.so: undefined reference to `_mesa_Uniform1ivARB'
../../lib/libGL.so: undefined reference to `_mesa_CreateShaderObjectARB'
../../lib/libGL.so: undefined reference to `_mesa_BindAttribLocationARB'
../../lib/libGL.so: undefined reference to `_mesa_UniformMatrix4fvARB'
../../lib/libGL.so: undefined reference to `_mesa_UseProgramObjectARB'
collect2: ld returned 1 exit status
make[3]: *** [arbfplight] Fehler 1
make[3]: Leaving directory `/opt/Mesa/progs/demos'
make[2]: *** [subdirs] Fehler 1
make[2]: Leaving directory `/opt/Mesa/progs'
make[1]: *** [default] Fehler 1
make[1]: Leaving directory `/opt/Mesa'
make: *** [linux-x86] Fehler 2
0.444u 0.135s 0:00.61 93.4%     0+0k 0+0io 0pf+0w


And in DRI XFree86:

making all in programs/Xserver/GL/mesa/main...
make[7]: Entering directory 
`/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs/Xserver/GL/mesa/main'
rm -f dispatch.o
gcc -m32 -O -march=athlon -fomit-frame-pointer -fno-unit-at-a-time 
-mpreferred-stack-boundary=2 -falign-functions=4 -fschedule-insns2 
-fexpensive-optimizations
 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes
     -Wmissing-prototypes -Wmissing-declarations                           
-Wredundant-decls -Wnested-externs -Wundef                      -pipe    
-fno-merge-constants -I/opt/Mesa/src/mesa           -I/opt/Mesa/src/mesa/main
-I/opt/Mesa/src/mesa/shader             -I/opt/Mesa/src/mesa/glapi
-I/opt/Mesa/include                 -I../../../../../programs/Xserver/include 
-I../../../../../exports/include/X11                 
-I../../../../../programs/Xserver/GL/include 
-I../../../../../programs/Xserver/GL/glx                 
-I../../../../../lib/GL/include                 
-I../../../../../programs/Xserver/hw/xfree86 -I../../../../../exports/include  
-I../../../../.. -I../../../../../exports/include -I/usr/X11R6/include  
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
                        -D_POSIX_SOURCE -D_XOPEN_SOURCE
        -D_BSD_SOURCE -D_SVID_SOURCE                             -D_GNU_SOURCE
                         -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP       
-DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension     -DPANORAMIX    
-DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
        -DXFreeXDGA -DXvExtension                               
-DXFree86LOADER  -DXFree86Server                                -DXF86VIDMODE
        -DXvMCExtension                                 -DSMART_SCHEDULE
                        -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  
-DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING 
-DGLX_USE_DLOPEN -DGLX_USE_MESA   -c dispatch.c
In file included from dispatch.c:86:
/opt/Mesa/src/mesa/glapi/glapitemp.h:3829: error: conflicting types for 
`glGetActiveAttribARB'
/opt/Mesa/include/GL/glext.h:3715: error: previous declaration of 
`glGetActiveAttribARB'
make[7]: *** [dispatch.o] Fehler 1
make[7]: Leaving directory 
`/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs/Xserver/GL/mesa/main'
make[6]: *** [all] Fehler 2
make[6]: Leaving directory 
`/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs/Xserver/GL/mesa'
make[5]: *** [mesa] Fehler 2
make[5]: Leaving directory 
`/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs/Xserver/GL'
make[4]: *** [GL] Fehler 2
make[4]: Leaving directory 
`/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs/Xserver'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/tmp/INSTALL/SOURCE/dri-trunk/xc/xc/programs'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/tmp/INSTALL/SOURCE/dri-trunk/xc/xc'
make[1]: *** [World] Fehler 2
make[1]: Leaving directory `/tmp/INSTALL/SOURCE/dri-trunk/xc/xc'
make: *** [World] Fehler 2


-- 
Dieter NÃtzel
@home: <Dieter.Nuetzel () hamburg ! de>


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to