Solved deskutils/gucharmap compile fail ,undeclared identifier.

Alain De Vos

Son of Beastie

Reaction score: 869
Messages: 2,826

Code:
[00:02:23] 7 warnings generated.
[00:02:31] [ 59% 22/37] cc -Igucharmap/libgucharmap_2_90.so.7.0.0.p -Igucharmap -I../gucharmap -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -std=gnu11 -O3 -Waggregate-return -Wall -Wcast-align -Werror=implicit-function-declaration -Wextra -Wimplicit -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-switch-enum -Wno-unused-parameter -Wold-style-definition -Wpacked -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wstrict-prototypes -Wuninitialized -Wwrite-strings -fno-common -fno-strict-aliasing -fvisibility=hidden -O2 -pipe -march=ivybridge -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -D_THREAD_SAFE -pthread -DATK_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGDK_PIXBUF_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS -DPANGO_DISABLE_DEPRECATION_WARNINGS -DGUCHARMAP_COMPILATION '-DG_LOG_DOMAIN="Gucharmap"' '-DLOCALEDIR="/usr/local/share/locale"' -MD -MQ gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o -MF gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o.d -o gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o -c ../gucharmap/gucharmap-unicode-info.c
[00:02:31] FAILED: gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o 
[00:02:31] cc -Igucharmap/libgucharmap_2_90.so.7.0.0.p -Igucharmap -I../gucharmap -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -std=gnu11 -O3 -Waggregate-return -Wall -Wcast-align -Werror=implicit-function-declaration -Wextra -Wimplicit -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-switch-enum -Wno-unused-parameter -Wold-style-definition -Wpacked -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wstrict-prototypes -Wuninitialized -Wwrite-strings -fno-common -fno-strict-aliasing -fvisibility=hidden -O2 -pipe -march=ivybridge -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -D_THREAD_SAFE -pthread -DATK_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DGDK_PIXBUF_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS -DPANGO_DISABLE_DEPRECATION_WARNINGS -DGUCHARMAP_COMPILATION '-DG_LOG_DOMAIN="Gucharmap"' '-DLOCALEDIR="/usr/local/share/locale"' -MD -MQ gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o -MF gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o.d -o gucharmap/libgucharmap_2_90.so.7.0.0.p/gucharmap-unicode-info.c.o -c ../gucharmap/gucharmap-unicode-info.c
[00:02:31] In file included from ../gucharmap/gucharmap-unicode-info.c:33:
[00:02:31] gucharmap/unicode-versions.h:139:21: error: use of undeclared identifier 'GUCHARMAP_UNICODE_VERSION_14_0'
[00:02:31]   { 0x061D, 0x061D, GUCHARMAP_UNICODE_VERSION_14_0 },
 
OP
Alain De Vos

Alain De Vos

Son of Beastie

Reaction score: 869
Messages: 2,826

Yes, there was a glitch in the matrix. Problem went away using main branch & enabling options HAN & NLS.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 13,113
Messages: 39,711

If/When you run into build issues check the FreeBSD build clusters. That's what I always do, that at least narrows things down. If the build clusters have the exact same error as you then you know it's probably a problem with the port itself. If it builds fine there but not on your system then you know you have to look locally for the problem.
 
Top