After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 558796 - ORbit2 make error
ORbit2 make error
Status: RESOLVED DUPLICATE of bug 563046
Product: ORBit2
Classification: Deprecated
Component: IDL compiler
2.14.x
Other Solaris
: Normal normal
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-01 13:19 UTC by Mizuho Matsunaga
Modified: 2010-03-27 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mizuho Matsunaga 2008-11-01 13:19:02 UTC
I builded Orbit2-2.14.16 on Solaris10. But Syntax error occured.

Please ask me to avoid situations like this error.

[make log]
gmake[5]: directory `/opt/src/ORBit2-2.14.16/test/inhibit'  in
source='baa-stubs.c' object='baa-stubs.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include  -I../../linc2/include -I../../linc2/include -D_REENTRANT -D_PTHREADS -I/opt/mfw/include/glib-2.0 -I/opt/mfw/lib/glib-2.0/include    -I/opt/mfw/include -I/usr/sfw/include -I/opt/SUNWmlib/include  -m64  -c baa-stubs.c
In file included from baa-stubs.c:7:
baa.h:35: error: syntax error before "POA_Foo_Parent__epv"
baa.h:35: warning: no semicolon at end of struct or union
baa.h:37: error: syntax error before '}' token
baa.h:37: warning: data definition has no type or storage class
baa.h:40: error: syntax error before "POA_Foo_Child__vepv"
baa.h:40: warning: no semicolon at end of struct or union
baa.h:41: warning: data definition has no type or storage class
baa.h:47: error: syntax error before '*' token
baa.h:47: error: syntax error before ')' token
baa-stubs.c: In function `Foo_Child_bar':
baa-stubs.c:11: error: `_ORBIT_skel_small_Foo_Child_bar' undeclared (first use in this function)
baa-stubs.c:11: error: (Each undeclared identifier is reported only once
baa-stubs.c:11: error: for each function it appears in.)
gmake[5]: *** [baa-stubs.o] error 1
gmake[5]: directory `/opt/src/ORBit2-2.14.16/test/inhibit'  out
gmake[4]: *** [all] error 2
gmake[4]: directory `/opt/src/ORBit2-2.14.16/test/inhibit'  out
gmake[3]: *** [all-recursive] error 1
gmake[3]: directory `/opt/src/ORBit2-2.14.16/test'  out
gmake[2]: *** [all] error 2
gmake[2]: directory `/opt/src/ORBit2-2.14.16/test'  out
gmake[1]: *** [all-recursive] エラー 1
gmake[1]: directory `/opt/src/ORBit2-2.14.16'  out
gmake: *** [all] error 2
Comment 1 Dagobert Michelsen 2009-09-09 12:57:15 UTC
Same here on 2.14.17 with the Sun Studio 11 compiler:

gmake[7]: Entering directory `/home/dam/mgar/pkg/orbit2/trunk/work/build-isa-sparcv8/ORBit2-2.14.17/test/inhibit'
source='baa-stubs.c' object='baa-stubs.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
        /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include  -I../../linc2/include -I../../linc2/include -D_REENTRANT -D_PTHREADS -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include    -I/opt/csw/include  -xO3 -xarch=v8 -I/opt/csw/include  -c baa-stubs.c
"baa.h", line 34: syntax error before or at: POA_Foo_Parent__epv
cc: acomp failed for baa-stubs.c
gmake[7]: *** [baa-stubs.o] Error 2
Comment 2 Dagobert Michelsen 2009-09-09 13:15:49 UTC
This is fixed by applying the patch https://bugzilla.gnome.org/attachment.cgi?id=130226
from https://bugzilla.gnome.org/show_bug.cgi?id=563046
Comment 3 André Klapper 2010-03-27 19:24:37 UTC
Closing as duplicate as per last comment.

*** This bug has been marked as a duplicate of bug 563046 ***