Spoiler
$ make POLYMER=0 SDL_TARGET=1 Build started using: compiler: "gcc -std=gnu89 -Wimplicit -Wdeclaration-after-statement -O2 -fno-stack-protector -funswitch-loops -fomit-frame-pointer -flto -funsigned-char -fno-strict-aliasing -fjump-tables -fno-pic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wno-attributes -DNDEBUG -DUSING_LTO -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra -Wno-char-subscripts -Wno-unused-result -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -DUSE_LIBPNG -DUSE_LIBVPX -DHAVE_INTTYPES -DSDL_TARGET=1 -DHAVE_GTK2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/powerpc-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include -I/usr/include/SDL -DRENDERTYPESDL=1 -DMIXERTYPESDL=1 -Wno-strict-overflow -DUSE_OPENGL -Ibuild/include -Isource/jmact -Isource/jaudiolib/include -Isource/enet/include" assembler: "nasm -s -f elf32 " linker: "gcc -O2 -fno-stack-protector -funswitch-loops -fomit-frame-pointer -flto -funsigned-char -fno-strict-aliasing -fjump-tables -fno-pic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -lm -lvpx -lrt -L/usr/lib/powerpc-linux-gnu -lSDL -lSDL_mixer -lSDL -ldl -pthread -lpng -lz -lFLAC -lvorbisfile -lvorbis -logg " In file included from build/include/build.h:1447:0, from source/duke3d.h:33, from source/net.c:23: build/include/polymost.h: In function ‘polymost_is_npotmode’: build/include/polymost.h:109:12: error: ‘glinfo’ undeclared (first use in this function) build/include/polymost.h:109:12: note: each undeclared identifier is reported only once for each function it appears in Failed building source/obj/net.o from source/net.c!
Ubuntu 12.04 on a PowerPC.