Re: error compiling ob-4.1.1 on Solaris 5.8

[email protected] Tue, 13 Aug 2002 13:45:54 +0200 (CEST)
Newsgroups gmane.comp.lib.jtc
Message-ID <[email protected]>
Hi Chris,

> I get the following error when I try to compile ob 4.1.1 on Solaris 5.8.
> The compiler is gcc-2.95.3.
>
> # make
> making all in jtc
> mkdir lib
> making all in src
> g++ -c -I. -I../include  -fPIC -Wall Cond.cpp
> In file included from ../include/JTC/Cond.h:14,
>                from Cond.cpp:11:
> ../include/JTC/Types.h:78: parse error
> *** Error code 1

Could you please check, whether your jtc/include/JTC/Config.h
contains lines like:

...
/* The size of a `bool', as computed by sizeof. */
#define SIZEOF_BOOL

/* The size of a `char', as computed by sizeof. */
#define SIZEOF_CHAR
...

In this case you have to add the shared gcc libraries
(particularly libstdc++.so) to your library search path
(via LD_LIBRARY_PATH or ld.so).

Cheers,
Markus.

_______________________________________________
JTC-Users Mailing List - [email protected]
http://www.orbacus.com/mailman/listinfo/jtc-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html