Problems compiling ORBit



Hello!

I'm trying to compile a program which requires gnome-libs.  
gnome-libs needs ORBit.  I'm having problems compiling ORBit.

The problem seems to be wchar_t is not defined.  The header
of libIDL/IDL.h mentions wide character support may need to
be included.  I searched /usr/include, and found that 
curses.h and ncurses.h has definitions for wchar_t, so although
I did not think those were desired files I included them.  The
situation did not change.  Then I added my own definition
for wchar_t by adding the typedef from *curses.h in IDL.h, but
I got an error saying the definition conflicts with an earlier
definition provided from within the ORBit source tree.

Maybe I'm misinterpreting the error.  The relevant part of
the compile process is located at the end of this message.


Thanks for the help!


~Patrick
 

Making all in backends
make[4]: Entering directory
`/home/spyjure/tmp/ORBit-0.4.90/src/orbit-idl-compil
er/backends'
Making all in c
make[5]: Entering directory
`/home/spyjure/tmp/ORBit-0.4.90/src/orbit-idl-compil
er/backends/c'
gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/orbit-idl-compiler -
I../../../..    -I../../../../src -I../../../.. -I../../../../src
-I/usr/l
ocal/lib/glib/include -I/usr/local/include    -g -O2 -c
orbit-idl-c-backend.c
In file included from ../../../../src/orbit-idl-compiler/orbit-idl2.h:7,
                 from orbit-idl-c-backend.h:4,
                 from orbit-idl-c-backend.c:3:
../../../../libIDL/IDL.h:164: parse error before `wchar_t'
../../../../libIDL/IDL.h:164: warning: no semicolon at end of struct or
union
../../../../libIDL/IDL.h:167: parse error before `*'
../../../../libIDL/IDL.h:176: parse error before `wchar_t'
../../../../libIDL/IDL.h:176: warning: no semicolon at end of struct or
union
../../../../libIDL/IDL.h:179: parse error before `*'
../../../../libIDL/IDL.h:545: field `idl_wide_string' has incomplete type
../../../../libIDL/IDL.h:547: field `idl_wide_char' has incomplete type
make[5]: *** [orbit-idl-c-backend.o] Error 1
make[5]: Leaving directory
`/home/spyjure/tmp/ORBit-0.4.90/src/orbit-idl-compile
r/backends/c'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/spyjure/tmp/ORBit-0.4.90/src/orbit-idl-compile
r/backends'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/spyjure/tmp/ORBit-0.4.90/src/orbit-idl-compile
r'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/spyjure/tmp/ORBit-0.4.90/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/spyjure/tmp/ORBit-0.4.90'
make: *** [all-recursive-am] Error 2                      



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