Re: orbitcpp on cygwin



Hi Sagar,

The error seems to be complaining about the following line in IDL.h:
IDL_IMPORT const char *                 IDL_tree_type_names[];

Which looks like a valid declaration to me. If the compiler thinks it is a definition, that would be a problem. You might want to try compiling with the -E option and search for the declaration of IDL_tree_type_names to check that there aren't any problems with macro expansion. In the orbitcpp/idl-compiler/types directory:

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../../.. -I../../.. -DVERSION=\"\
" -DORBIT2_INTERNAL_API -DORBIT2=1 -pthreads -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libIDL-2.0 -E IDLAny.cc | less


Also, you might want to try the latest version of orbitcpp in CVS. It no longer defines ORBIT2_INTERNAL_API, which may or may not have anything to do with this.

Lastly, can you tell me which versions of the gnome libraries you are using? Did you compile them yourself, use GARNOME, download binaries??? I have been trying to get orbitcpp to build under cygwin myself, but have been stuck with problems building the lower tools such as libIDL and ORBit2. So if you could detail how you got this far, I would appreciate it.

Sagar Shah wrote:

Hi all,
i am trying to build orbitcpp on cygwin using gcc 3.2.3 and development
versions of autotools.
during make it gives error and halts.
following is the output of make

$ make
make  all-recursive
make[1]: Entering directory `/d/Manjit/orbitcpp-1.3.6'
Making all in orbitcpp
make[2]: Entering directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp'
Making all in idl-compiler
make[3]: Entering directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler'
Making all in types
make[4]: Entering directory
`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler/type
s'
/bin/bash ../../../libtool --mode=compile
g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I..                                   -I../../..                       -I.
./..
/..                             -DVERSION=\"\"          -DORBIT2_INTERNAL_AP
I
                                               -DORBIT2=1 -pthreads -I/usr/
incl
ude/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.
0/include -I/usr/include/libIDL-2.0      -g -O2 -c IDLAny.cc
mkdir .libs

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../../.. -I../../.. -DVERSION=
\"\
" -DORBIT2_INTERNAL_API -DORBIT2=1 -pthreads -I/usr/include/orbit-2.0 -I/usr
/inc
lude/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/inc
lude
/libIDL-2.0 -g -O2 -c IDLAny.cc  -DPIC -o .libs/IDLAny.o
g++: unrecognized option `-pthreads'
In file included from ../../../orbitcpp/idl-compiler/base.h:35,
                from ../../../orbitcpp/idl-compiler/error.h:33,
                from IDLType.h:32,
                from IDLAny.h:32,
                from IDLAny.cc:28:
/usr/include/libIDL-2.0/libIDL/IDL.h:542: array size missing in `
  IDL_tree_type_names'
IDLAny.cc:57:2: warning: #warning "WRITE ME"
IDLAny.cc:133:2: warning: #warning "WRITE ME"
IDLAny.cc:168:2: warning: #warning "WRITE ME"
IDLAny.cc:322:2: warning: #warning "WRITE ME"
IDLAny.cc:345:2: warning: #warning "WRITE ME"
IDLAny.cc:358:2: warning: #warning "WRITE ME"
IDLAny.cc:368:2: warning: #warning "WRITE ME"
IDLAny.cc:377:2: warning: #warning "WRITE ME"
make[4]: *** [IDLAny.lo] Error 1
make[4]: Leaving directory
`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler/types
'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/Manjit/orbitcpp-1.3.6'
make: *** [all-recursive-am] Error 2
_______________________________________________
orbitcpp-list mailing list
orbitcpp-list gnome org
http://mail.gnome.org/mailman/listinfo/orbitcpp-list


--
Bowie Owens

CSIRO Mathematical & Information Sciences
phone  : +61 3 9545 8055
fax    : +61 3 9545 8080
mobile : 0425 729 875
email  : Bowie Owens csiro au






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]