[oi-dev] unexpected syntax errors :|

Alexander Pyhalov alp at rsu.ru
Tue May 16 13:39:17 UTC 2017


On 05/16/17 04:22 PM, Dariusz Sendkowski wrote:
> I don't use cc explicitly anywhere.
>
> It clearly prints:
>
> Configuration:
>
>         Source code location:
> /projects/oi-userland/components/developer/glade/glade-3.19.0
>         Compiler:                /usr/gcc/4.9/bin/gcc
>
> but when the build finally crashes it prints:
>
>
> .....
> gladeui/gladeui-enum-types.h:48: syntax error, unexpected INTEGER in '# 49'
> at '49'
> gladeui/gladeui-enum-types.h:50: syntax error, unexpected INTEGER in '# 51'
> at '51'
> gladeui/gladeui-enum-types.h:54: syntax error, unexpected INTEGER in '# 55'
> at '55'
> gladeui/glade-id-allocator.h:45: syntax error, unexpected INTEGER in '# 46'
> at '46'
> gladeui/glade-editor-table.h:21: syntax error, unexpected INTEGER in '# 23'
> at '23'
> gladeui/glade-property-label.h:21: syntax error, unexpected INTEGER in '#
> 23' at '23'
> gladeui/glade-property-label.h:73: syntax error, unexpected identifier in
> '#ident "acomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15"' at
> 'ident'
> cc: -W option with unknown program no-deprecated-declarations
> compilation of temporary binary failed:Command '['cc',
> '-Wno-deprecated-declarations', '-D_REENTRANT', '-D_PTHREADS',
> '-D_REENTRANT', '-D_POSIX_PTHREAD_SEMANTICS', '-D_REENTRANT',
> '-D_PTHREADS', '-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', ....

Is gobject-introspection enabled?
If yes, component needs CC and CFLAGS environment variables exported in 
build/install time.

-- 
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department




More information about the oi-dev mailing list