This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa 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: Problems building Kawa with gcj


On Tuesday 12 August 2003 16:07, Per Bothner wrote:

> > Now I get as far as building the kawa1 binary, where I get a load of
> > unresolved symbols [2].
>
> While static linking isn't supported (because Class.forName will
> fail to find classes it needs), I'm suprised it fails this early.

I was not aware that PIC was required for dynamic libs on x86. Is this a 
requirement of gcj?

> > Maybe this is some kind of libtool issue?
>
> Yes, this is a libtool bug.  The libtool files in Kawa were somewhat
> hacked up, I recall, using a newer unreleased version.  Perhaps a
> released version of libtool will work now, but I haven't tried
> recently.  In any case, the files distributed with Kawa should work.

I ran libtoolize -f, copied in the libtool.m4 from libtool 1.5, deleted 
libtool in the kawa root dir and I reran configure.

It now compiles OK. The distributed files just don't work for me from the kawa 
1.7 tarball, I'm not sure why. Maybe the files from libtool 1.5 could be 
used?



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