This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: First issue with integration of llvm with gcjx


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Emmel wrote:
> Well I've run into my first issue with integration of llvm and gcjx.
> 
> I'm trying to use the llvm build system instead of gcc  for the gcjx library.
> 
> They way it is built now is each directory of gcjx is built as a
> collected .o file and these are linked with the main driver to form
> the executable. I can give a lot more detail if needed but my basic
> problem is the templates defined in typedefs.hh are not being picked
> up I get errors like the following.
> 
> /media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/Source/core/Debug/lib/source.o(.text+0x11787):/media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/Source/core/lib/compiler/gcjx/source/parse.cc:2257:
> undefined reference to
> `model_generic_invocation<model_super_invocation>::model_generic_invocation(location
> const&, std::list<owner<model_forwarding_type>,
> std::allocator<owner<model_forwarding_type> > > const&)'

This is explicitly instantiated by "model/invoke.cc". Are
you not including the object file for this in your
linking line for some reason?

HTH,
Ranjit.


> I noted that the gcc build had  typedefs.hh as a precompiled header
> typedefs.hh.gch plus some notes about OSX is there something special I
> should know do about this header.
> 
> I'm trying to compile the main.cc sample given in the gcjx library
> 
> Mike
> 


- --
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDiqhlYb1hx2wRS48RAlsMAJ9WMZhtpQ84mfmcrRpYCIqtcfUKlgCff5Kx
tfB30pujbjLj7wdcZBBR5Xk=
=w81F
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]