problem with building of libjava

Andrew Haley
Mon May 15 15:10:00 GMT 2006 writes:
 > the version I'm working right now is gcc 4.1.0! I have added some code to
 > in the directory libjava. For my code I have to include the
 > header file "vector":
 > Furthermore I have added something to the value of the variable
 > DEFAULT_INCLUDES in file in directory libjava:
 > DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
 > -I$(top_builddir)/gcj -I/usr/include
 > -I$(top_builddir)/../libstdc++-v3/include
 > The /usr/include directory is necessary for OpenSSL. Wether I add the last
 > line (.../libstd...) or not the error is the same. He just doesn't find the
 > header file during compilation process.
 > error message for "make":

Mixing gcj and C++ exceptions within a single compilation unit is
tricky.  See 12.14, Exception Handling.

First, you should try compiling your code separately and linking it to

 >    4.
 >       In file included from ./../libstdc++-v3/include/vector:65,
 >    5.
 >       from ../.././libjava/
 >    6.
 >       ./../libstdc++-v3/include/bits/functexcept.h:41:31: error:
 > exception_defines.h: No such file or directory

Here, you need a path to srcdir/libsupc++.


More information about the Gcc-help mailing list