Running phase: unpackPhase unpacking source archive /nix/store/fnspfcd7k52il7x7jmkz5rwaiffcg3hb-quesoglc-0.7.2.tar.bz2 source root is quesoglc-0.7.2 setting SOURCE_DATE_EPOCH to timestamp 1237924186 of file "quesoglc-0.7.2/examples/demo.c" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./build/config.sub Updating Autotools / GNU config script to a newer upstream version: ./build/config.guess Running phase: configurePhase fixing libtool script ./build/ltmain.sh patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/s791zm9vx9pvggrgvqzg1ny21kyv01x3-quesoglc-0.7.2 checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether ln -s works... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /nix/store/fcny04vmfnkqc4ym5m9znckswlq9pglg-gnused-4.9/bin/sed checking for grep that handles long lines and -e... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep checking for egrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -E checking for fgrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking how to recognize dependent libraries... (cached) pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse nm output from gcc object... ok ./configure: line 5748: /usr/bin/file: No such file or directory checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking whether the target supports thread-local storage... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for atexit... yes checking for memmove... yes checking for memset... yes checking for strdup... yes checking for sqrt in -lm... yes checking for pkg-config... no checking for FREETYPE2... checking for freetype-config... /nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking for FTC_Manager_New in -lfreetype... yes checking for FONTCONFIG... checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking for FcInit in -lfontconfig... yes checking for FRIBIDI... checking for fribidi_log2vis in -lfribidi... yes checking for X... libraries , headers checking whether we are using the Microsoft C compiler... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for OpenGL library... -lGL checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for OpenGL Utility library... -lGLU checking GL/glew.h usability... yes checking GL/glew.h presence... yes checking for GL/glew.h... yes checking for glewContextInit in -lGLEW... no configure: GLEW will be built and embedded checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for GLUT library... no configure: WARNING: The GLUT library could not be found : example programs and some tests will not be built configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating include/Makefile config.status: creating tests/Makefile config.status: creating examples/Makefile config.status: creating quesoglc.pc config.status: creating include/qglc_config.h config.status: executing depfiles commands config.status: executing libtool commands Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash Making all in include make[1]: Entering directory '/build/quesoglc-0.7.2/include' make all-am make[2]: Entering directory '/build/quesoglc-0.7.2/include' make[2]: Leaving directory '/build/quesoglc-0.7.2/include' make[1]: Leaving directory '/build/quesoglc-0.7.2/include' Making all in build make[1]: Entering directory '/build/quesoglc-0.7.2/build' /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-context.lo `test -f '../src/context.c' || echo './'`../src/context.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/context.c -fPIC -DPIC -o .libs/libGLC_la-context.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-database.lo `test -f '../src/database.c' || echo './'`../src/database.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/database.c -fPIC -DPIC -o .libs/libGLC_la-database.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-except.lo `test -f '../src/except.c' || echo './'`../src/except.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/except.c -fPIC -DPIC -o .libs/libGLC_la-except.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-font.lo `test -f '../src/font.c' || echo './'`../src/font.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/font.c -fPIC -DPIC -o .libs/libGLC_la-font.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-global.lo `test -f '../src/global.c' || echo './'`../src/global.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/global.c -fPIC -DPIC -o .libs/libGLC_la-global.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-master.lo `test -f '../src/master.c' || echo './'`../src/master.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/master.c -fPIC -DPIC -o .libs/libGLC_la-master.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-measure.lo `test -f '../src/measure.c' || echo './'`../src/measure.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/measure.c -fPIC -DPIC -o .libs/libGLC_la-measure.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-misc.lo `test -f '../src/misc.c' || echo './'`../src/misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/misc.c -fPIC -DPIC -o .libs/libGLC_la-misc.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-oarray.lo `test -f '../src/oarray.c' || echo './'`../src/oarray.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/oarray.c -fPIC -DPIC -o .libs/libGLC_la-oarray.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-ocharmap.lo `test -f '../src/ocharmap.c' || echo './'`../src/ocharmap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/ocharmap.c -fPIC -DPIC -o .libs/libGLC_la-ocharmap.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-ocontext.lo `test -f '../src/ocontext.c' || echo './'`../src/ocontext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/ocontext.c -fPIC -DPIC -o .libs/libGLC_la-ocontext.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-ofacedesc.lo `test -f '../src/ofacedesc.c' || echo './'`../src/ofacedesc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/ofacedesc.c -fPIC -DPIC -o .libs/libGLC_la-ofacedesc.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-ofont.lo `test -f '../src/ofont.c' || echo './'`../src/ofont.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/ofont.c -fPIC -DPIC -o .libs/libGLC_la-ofont.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-omaster.lo `test -f '../src/omaster.c' || echo './'`../src/omaster.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/omaster.c -fPIC -DPIC -o .libs/libGLC_la-omaster.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-render.lo `test -f '../src/render.c' || echo './'`../src/render.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/render.c -fPIC -DPIC -o .libs/libGLC_la-render.o /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c -o libGLC_la-scalable.lo `test -f '../src/scalable.c' || echo './'`../src/scalable.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/nix/store/b09crwvrqdz6qynhjjz78db27vkzap5v-freetype-2.13.3-dev/include/freetype2 -I../src -D_REENTRANT -DGLEW_MX -g -O2 -c ../src/scalable.c -fPIC -DPIC -o .libs/libGLC_la-scalable.o ../src/scalable.c: In function '__glcRenderCharScalable': ../src/scalable.c:600:25: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 600 | (void (CALLBACK *) (GLenum))__glcCallbackError); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from ../include/GL/glew.h:1148, from ../include/internal.h:38, from ../src/scalable.c:25: /nix/store/zvp3il15vpq4qdjhkf9ak22gradp731w-glu-9.0.3-dev/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/scalable.c:602:21: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 602 | (void (CALLBACK *) (void*, void*))__glcVertexCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, void *) /nix/store/zvp3il15vpq4qdjhkf9ak22gradp731w-glu-9.0.3-dev/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *, void *)' 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/scalable.c:604:21: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 604 | (void (CALLBACK *) (GLdouble[3], void*[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(GLdouble *, void **, GLfloat *, void **, void *) {aka void (*)(double *, void **, float *, void **, void *)} 605 | GLfloat[4], void**, void*)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | __glcCombineCallback); | ~~~~~~~~~~~~~~~~~~~~ /nix/store/zvp3il15vpq4qdjhkf9ak22gradp731w-glu-9.0.3-dev/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLdouble *, void **, GLfloat *, void **, void *)' {aka 'void (*)(double *, void **, float *, void **, void *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ../src/scalable.c:608:21: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 608 | (void (CALLBACK *) (GLenum, void*))__glcBeginCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(GLenum, void *) {aka void (*)(unsigned int, void *)} /nix/store/zvp3il15vpq4qdjhkf9ak22gradp731w-glu-9.0.3-dev/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum, void *)' {aka 'void (*)(unsigned int, void *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ make[1]: *** [Makefile:532: libGLC_la-scalable.lo] Error 1 make[1]: Leaving directory '/build/quesoglc-0.7.2/build' make: *** [Makefile:392: all-recursive] Error 1