Re: problem with building of libjava

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

 



kobefan@xxxxxxx writes:
 > 
 > the version I'm working right now is gcc 4.1.0! I have added some code to
 > defineclass.cc 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 Makefile.in 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
defineclass.cc.

 >    4.
 >       In file included from ./../libstdc++-v3/include/vector:65,
 >    5.
 >       from ../.././libjava/defineclass.cc:44:
 >    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++.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux