[OpenIndiana-discuss] Problem building xcreensaver 6.15
russell
stream at willows7.myzen.co.uk
Sat Jul 11 09:37:03 UTC 2026
Hi
Attempting to build xscreensaver using using gcc 10.4
$ CFLAGS="-Wimplicit-function-declaration -Wnested-externs" ./configure
--prefix=/opt/xscreensaver
Everything is fine until
gcc -D__EXTENSIONS__ -std=gnu99 -pedantic -Wall -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wno-overlength-strings -c -I.
-I. -I./../../utils -I./../../jwxyz -I./.. -I.. -I../.. -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DFFI_NO_RAW_API -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/amd64/dbus-1.0/include
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/drm
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libxml2
-I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/amd64/libffi-3.2.1/include
-I/usr/include/glib-2.0 -I/usr/lib/amd64/glib-2.0/include
-I/usr/include/pcre -DFFI_NO_RAW_API -I/usr/include/gdk-pixbuf-2.0
-I/usr/lib/amd64/libffi-3.2.1/include -I/usr/include/glib-2.0
-I/usr/lib/amd64/glib-2.0/include -I/usr/include/pcre -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib/amd64/glib-2.0/include -I/usr/include/pcre -DSTANDALONE
-DUSE_GL -DHAVE_CONFIG_H -Wimplicit-function-declaration
-Wnested-externs platonicfolding.c
platonicfolding.c:937:55: error: expected ';', ',' or ')' before numeric
constant
937 | static inline void get_sun_direction(double jd, float sun[4])
| ^~~
platonicfolding.c: In function 'polygon_folding_pf':
platonicfolding.c:2502:5: warning: implicit declaration of function
'get_sun_direction' [-Wimplicit-function-declaration]
2502 | get_sun_direction(get_current_julian_date(),sun_pos);
| ^~~~~~~~~~~~~~~~~
platonicfolding.c:2502:5: warning: nested extern declaration of
'get_sun_direction' [-Wnested-externs]
gmake[1]: *** [Makefile:666: platonicfolding.o] Error 1
Any suggestions how to proceed?
Kind Regards
Russell
More information about the openindiana-discuss
mailing list