[oi-dev] unexpected syntax errors :|
Igor Kozhukhov
ikozhukhov at gmail.com
Tue May 16 13:29:10 UTC 2017
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
you have mistake - you try to use SunStudio with 'cc' link instead of gcc
-Igor
> On May 16, 2017, at 4:22 PM, Dariusz Sendkowski <dsendkowski at gmail.com> 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', ....
>
>
>
> 2017-05-16 15:09 GMT+02:00 Alexander Pyhalov <alp at rsu.ru <mailto:alp at rsu.ru>>:
> On 05/16/17 03:45 PM, Dariusz Sendkowski wrote:
> Hi,
>
> Has anyone ever encountered such weird errors during build?:
>
> /usr/include/iso/stddef_iso.h:61: syntax error, unexpected INTEGER in '#
> 71' at '71'
> /usr/include/iso/stddef_iso.h:65: syntax error, unexpected INTEGER in '#
> 80' at '80'
> /usr/include/iso/stddef_iso.h:71: syntax error, unexpected INTEGER in '#
> 91' at '91'
> /usr/include/stddef.h:61: syntax error, unexpected INTEGER in '# 74' at '74'
> /usr/include/limits.h:176: syntax error, unexpected INTEGER in '# 289' at
> '289'
> /usr/include/limits.h:179: syntax error, unexpected INTEGER in '# 292' at
> '292'
> /usr/include/float.h:45: syntax error, unexpected INTEGER in '# 54' at '54'
> /usr/include/float.h:47: syntax error, unexpected INTEGER in '# 58' at '58'
>
>
> Hi.
> The most common source of such errors is cc usage instead of $(CC),
> mostly often seen during gobject-introspection rules processing.
>
>
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
> https://openindiana.org/mailman/listinfo/oi-dev <https://openindiana.org/mailman/listinfo/oi-dev>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20170516/46bb3de1/attachment-0005.html>
More information about the oi-dev
mailing list