[csw-maintainers] Missing definition of G_CONST_RETURN
Dagobert Michelsen
dam at opencsw.org
Fri Apr 12 10:53:18 CEST 2013
Hi,
I am trying to compile a recent wireshark and get errors that G_CONST_RETURN is not defined.
This should be the case during glib.h inclusion, so I figure this is a general problem that
most likely someone has already seen and solved, right? ;-)
> gmake[2]: Entering directory `/home/dam/mgar/pkg/wireshark/trunk/work/solaris10-sparc/build-isa-sparcv8plus/wireshark-1.8.6/ui/gtk'
> source='about_dlg.c' object='libgtkui_a-about_dlg.o' libtool=no \
> DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
> /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../wiretap -I/opt/csw/include -I/opt/csw/include -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -D_U_="" -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include '-DPLUGIN_DIR="/opt/csw/lib/wireshark/plugins/1.8.6"' -xO3 -m32 -xarch=sparc -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include -I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo -I/opt/csw/include/gdk-pixbuf-2.0 -I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include -I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2 -I/opt/csw/include/libpng15 -c -o libgtkui_a-about_dlg.o `test -f 'about_dlg.c' || echo './'`about_dlg.c
> "/opt/csw/include/glib-2.0/gobject/gparam.h", line 158: warning: integer overflow detected: op "<<"
> "/opt/csw/include/pango-1.0/pango/pango-script.h", line 132: syntax error before or at: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-script.h", line 132: warning: undefined or missing type for: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-script.h", line 133: warning: undefined or missing type for: char
> "/opt/csw/include/pango-1.0/pango/pango-script.h", line 134: warning: undefined or missing type for: PangoScript
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 37: warning: old-style declaration or incorrect type for: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 37: syntax error before or at: char
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 41: warning: old-style declaration or incorrect type for: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 41: syntax error before or at: char
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 51: warning: old-style declaration or incorrect type for: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-language.h", line 51: syntax error before or at: PangoScript
> "/opt/csw/include/pango-1.0/pango/pango-font.h", line 120: warning: old-style declaration or incorrect type for: G_CONST_RETURN
> "/opt/csw/include/pango-1.0/pango/pango-font.h", line 120: syntax error before or at: char
> "/opt/csw/include/pango-1.0/pango/pango-font.h", line 215: warning: old-style declaration or incorrect type for: G_CONST_RETURN
Best regards
-- Dago
More information about the maintainers
mailing list