=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for MesaDemos-8.4.0 --- all-recursive --- Making all in src --- all-recursive --- Making all in util --- readtex.lo --- --- showbuffer.lo --- --- trackball.lo --- --- shaderutil.lo --- --- readtex.lo --- CC readtex.lo --- showbuffer.lo --- CC showbuffer.lo --- trackball.lo --- CC trackball.lo --- shaderutil.lo --- CC shaderutil.lo In file included from glut_wrap.h:9:0, from shaderutil.c:14: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ shaderutil.c: In function 'ShadersSupported': shaderutil.c:84:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ShaderSource = glShaderSourceARB; ^ --- libutil.la --- CCLD libutil.la Making all in data Making all in demos --- arbfplight.o --- --- arbfslight.o --- --- arbocclude.o --- --- arbocclude2.o --- --- arbfplight.o --- CC arbfplight.o --- arbfslight.o --- CC arbfslight.o --- arbocclude2.o --- CC arbocclude2.o --- arbocclude.o --- CC arbocclude.o --- arbfslight.o --- In file included from ../../src/util/glut_wrap.h:9:0, from arbfslight.c:17: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- arbocclude2.o --- In file included from ../../src/util/glut_wrap.h:9:0, from arbocclude2.c:35: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- arbfplight.o --- In file included from ../../src/util/glut_wrap.h:9:0, from arbfplight.c:15: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- arbocclude.o --- In file included from ../../src/util/glut_wrap.h:9:0, from arbocclude.c:33: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- bounce.o --- CC bounce.o --- clearspd.o --- CC clearspd.o --- copypix.o --- CC copypix.o --- cubemap.o --- CC cubemap.o --- bounce.o --- In file included from ../../src/util/glut_wrap.h:9:0, from bounce.c:16: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- clearspd.o --- In file included from ../../src/util/glut_wrap.h:9:0, from clearspd.c:12: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- copypix.o --- In file included from ../../src/util/glut_wrap.h:9:0, from copypix.c:13: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- cubemap.o --- In file included from ../../src/util/glut_wrap.h:9:0, from cubemap.c:43: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- cuberender.o --- CC cuberender.o --- dinoshade.o --- CC dinoshade.o --- dissolve.o --- CC dissolve.o --- drawpix.o --- CC drawpix.o --- cuberender.o --- In file included from ../../src/util/glut_wrap.h:9:0, from cuberender.c:14: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- dinoshade.o --- In file included from ../../src/util/glut_wrap.h:9:0, from dinoshade.c:47: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- dissolve.o --- In file included from ../../src/util/glut_wrap.h:9:0, from dissolve.c:14: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- dinoshade.o --- dinoshade.c: In function 'extrudeSolidFromPolygon': dinoshade.c:239:38: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tobj, GLU_BEGIN, glBegin); ^~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glew.h:1202:0, from dinoshade.c:46: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ dinoshade.c:240:39: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tobj, GLU_VERTEX, glVertex2fv); /* semi-tricky */ ^~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glew.h:1202:0, from dinoshade.c:46: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(const GLfloat *) {aka void (*)(const float *)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ --- drawpix.o --- In file included from ../../src/util/glut_wrap.h:9:0, from drawpix.c:12: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- engine.o --- CC engine.o --- fbo_firecube.o --- CC fbo_firecube.o --- fbotexture.o --- CC fbotexture.o --- fire.o --- CC fire.o --- engine.o --- In file included from ../../src/util/glut_wrap.h:9:0, from engine.c:13: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- fbo_firecube.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fbo_firecube.c:37: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ fbo_firecube.c: In function 'vrnd': fbo_firecube.c:258:13: warning: cast from function call of type 'int' to non-matching type 'float' [-Wbad-function-cast] return (((float) rand()) / RAND_MAX); ^ --- fire.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fire.c:21: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ fire.c: In function 'vrnd': fire.c:147:13: warning: cast from function call of type 'int' to non-matching type 'float' [-Wbad-function-cast] return (((float) rand()) / RAND_MAX); ^ --- fbotexture.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fbotexture.c:17: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- fogcoord.o --- CC fogcoord.o --- fplight.o --- CC fplight.o --- fslight.o --- CC fslight.o --- gamma.o --- CC gamma.o --- fogcoord.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fogcoord.c:14: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- gamma.o --- In file included from ../../src/util/glut_wrap.h:9:0, from gamma.c:28: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- fplight.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fplight.c:14: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- fslight.o --- In file included from ../../src/util/glut_wrap.h:9:0, from fslight.c:21: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- gearbox.o --- CC gearbox.o --- gears.o --- CC gears.o --- geartrain.o --- CC geartrain.o --- glinfo.o --- CC glinfo.o --- gearbox.o --- In file included from ../../src/util/glut_wrap.h:9:0, from gearbox.c:12: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- gears.o --- In file included from ../../src/util/glut_wrap.h:9:0, from gears.c:21: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- geartrain.o --- In file included from ../../src/util/glut_wrap.h:9:0, from geartrain.c:31: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- glinfo.o --- In file included from ../../src/util/glut_wrap.h:9:0, from glinfo.c:11: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- gloss.o --- CC gloss.o --- gltestperf.o --- CC gltestperf.o --- ipers.o --- CC ipers.o --- gloss.o --- In file included from ../../src/util/glut_wrap.h:9:0, from gloss.c:26: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- gltestperf.o --- In file included from ../../src/util/glut_wrap.h:9:0, from gltestperf.c:13: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- ipers.o --- In file included from ../../src/util/glut_wrap.h:9:0, from ipers.c:20: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- isosurf.o --- CC isosurf.o --- lodbias.o --- CC lodbias.o --- morph3d.o --- CC morph3d.o --- isosurf.o --- In file included from ../../src/util/glut_wrap.h:9:0, from isosurf.c:36: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- morph3d.o --- In file included from ../../src/util/glut_wrap.h:9:0, from morph3d.c:138: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- lodbias.o --- In file included from ../../src/util/glut_wrap.h:9:0, from lodbias.c:35: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- multiarb.o --- CC multiarb.o --- paltex.o --- CC paltex.o --- multiarb.o --- In file included from ../../src/util/glut_wrap.h:9:0, from multiarb.c:18: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- paltex.o --- In file included from ../../src/util/glut_wrap.h:9:0, from paltex.c:15: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- pixeltest.o --- CC pixeltest.o --- pointblast.o --- CC pointblast.o --- projtex.o --- CC projtex.o --- ray.o --- CC ray.o --- pixeltest.o --- In file included from ../../src/util/glut_wrap.h:9:0, from pixeltest.c:15: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- pointblast.o --- In file included from ../../src/util/glut_wrap.h:9:0, from pointblast.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- projtex.o --- In file included from ../../src/util/glut_wrap.h:9:0, from projtex.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- ray.o --- In file included from ../../src/util/glut_wrap.h:9:0, from ray.c:18: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- readpix.o --- --- reflect.o --- --- readpix.o --- CC readpix.o --- reflect.o --- CC reflect.o In file included from ../../src/util/glut_wrap.h:9:0, from reflect.c:34: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- readpix.o --- In file included from ../../src/util/glut_wrap.h:9:0, from readpix.c:13: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- renormal.o --- CC renormal.o --- shadowtex.o --- CC shadowtex.o --- singlebuffer.o --- CC singlebuffer.o --- spectex.o --- CC spectex.o --- renormal.o --- In file included from ../../src/util/glut_wrap.h:9:0, from renormal.c:11: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- shadowtex.o --- In file included from ../../src/util/glut_wrap.h:9:0, from shadowtex.c:40: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- spriteblast.o --- CC spriteblast.o --- singlebuffer.o --- In file included from ../../src/util/glut_wrap.h:9:0, from singlebuffer.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- spectex.o --- In file included from ../../src/util/glut_wrap.h:9:0, from spectex.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- stex3d.o --- --- teapot.o --- --- stex3d.o --- CC stex3d.o --- teapot.o --- CC teapot.o --- spriteblast.o --- In file included from ../../src/util/glut_wrap.h:9:0, from spriteblast.c:26: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- terrain.o --- CC terrain.o --- teapot.o --- In file included from ../../src/util/glut_wrap.h:9:0, from teapot.c:19: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- terrain.o --- In file included from ../../src/util/glut_wrap.h:9:0, from terrain.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- stex3d.o --- In file included from ../../src/util/glut_wrap.h:9:0, from stex3d.c:22: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- tessdemo.o --- CC tessdemo.o --- texcyl.o --- CC texcyl.o --- tessdemo.o --- In file included from ../../src/util/glut_wrap.h:9:0, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ tessdemo.c: In function 'tesse': tessdemo.c:171:46: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_BEGIN, glBegin ); ^~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:172:47: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_VERTEX, glVertex2fv ); ^~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(const GLfloat *) {aka void (*)(const float *)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:174:46: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_ERROR, error_callback ); ^~~~~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:175:48: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_COMBINE, combine_callback ); ^~~~~~~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLdouble *, GLdouble **, GLfloat *, void **) {aka void (*)(double *, double **, float *, void **)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:195:46: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_BEGIN, begin_callback ); ^~~~~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:196:47: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_VERTEX, vertex_callback ); ^~~~~~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(void *)' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ tessdemo.c:198:50: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback( tobj, GLU_TESS_EDGE_FLAG, edge_callback ); ^~~~~~~~~~~~~ In file included from /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:18:0, from ../../src/util/glut_wrap.h:9, from tessdemo.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glu.h:346:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ --- texenv.o --- CC texenv.o --- texcyl.o --- In file included from ../../src/util/glut_wrap.h:9:0, from texcyl.c:16: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- textures.o --- CC textures.o --- trispd.o --- CC trispd.o --- tunnel2.o --- CC tunnel2.o --- texenv.o --- In file included from ../../src/util/glut_wrap.h:9:0, from texenv.c:53: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- trispd.o --- In file included from ../../src/util/glut_wrap.h:9:0, from trispd.c:11: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- textures.o --- In file included from ../../src/util/glut_wrap.h:9:0, from textures.c:10: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- tunnel2.o --- In file included from ../../src/util/glut_wrap.h:9:0, from tunnel2.c:21: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- tunnel.o --- --- vao_demo.o --- --- tunnel.o --- CC tunnel.o --- vao_demo.o --- CC vao_demo.o --- winpos.o --- CC winpos.o --- arbfslight --- CCLD arbfslight --- tunnel.o --- In file included from ../../src/util/glut_wrap.h:9:0, from tunnel.c:18: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- vao_demo.o --- In file included from ../../src/util/glut_wrap.h:9:0, from vao_demo.c:30: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- winpos.o --- In file included from ../../src/util/glut_wrap.h:9:0, from winpos.c:15: /tmp/graphics/MesaDemos/work/.buildlink/include/GL/glut.h:582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GLUTproc)(); ^~~~~~~ --- arbfslight --- ld: cannot find -l@GL_PKGCONF_LIB@ *** [arbfslight] Error code 1 make[2]: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0/src/demos 1 error make[2]: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0/src/demos *** [all-recursive] Error code 1 make[1]: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0/src 1 error make[1]: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0/src *** [all-recursive] Error code 1 make: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0 1 error make: stopped in /tmp/graphics/MesaDemos/work/mesa-demos-8.4.0 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/MesaDemos *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/MesaDemos