On 10/10/2012 02:18 PM, mike wrote:
> Hi I forgot the make output here it is make is ware it is failing
>
> Making all in smooth_opengl3
> make[4]: Entering directory 
> `/sources/freeglut-2.8.0/progs/demos/smooth_opengl3'
> gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../include  -g -O2 -Wall 
> -pedantic -MT smooth_opengl3-smooth_opengl3.o -MD -MP -MF 
> .deps/smooth_opengl3-smooth_opengl3.Tpo -c -o smooth_opengl3-smooth_opengl3.o 
> `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c
> smooth_opengl3.c:105:25: error: conflicting types for 
> ‘PFNGLSHADERSOURCEPROC’
> In file included from /usr/include/GL/gl.h:2085:0,
>                   from ../../../include/GL/freeglut_std.h:122,
>                   from ../../../include/GL/freeglut.h:17,
>                   from smooth_opengl3.c:45:
> /usr/include/GL/glext.h:6699:25: note: previous declaration of 
> ‘PFNGLSHADERSOURCEPROC’ was here
> make[4]: *** [smooth_opengl3-smooth_opengl3.o] Error 1
> make[4]: Leaving directory 
> `/sources/freeglut-2.8.0/progs/demos/smooth_opengl3'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/sources/freeglut-2.8.0/progs/demos'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/sources/freeglut-2.8.0/progs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/freeglut-2.8.0'
> make: *** [all] Error 2
> root [ /sources/freeglut-2.8.0 ]#
>

Please don't top post.

I remember the issue, I had it too when I've built Freeglut with MesaLib 
9.0 git checkout. This patch should fix it

http://www.linuxfromscratch.org/~krejzi/freeglut-2.8.0-remove_smooth_opengl3_demo-1.patch

I'll commit it to the book later with some more updates.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to