This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: success building jetty 5 w/ gcj 4.0.2?
Nelson Sproul writes:
> Tom>From: Tom Tromey [mailto:tromey@redhat.com]
> Nelson> "Nelson" == Nelson Sproul <nelson.sproul@gmail.com> writes:
> Nelson> org/mortbay/util/LineInput.java:884: error: verification error
> at PC=1242
> Nelson> org/mortbay/util/LineInput.java:884: error: types could not be merged
>
> Tom>...If you
> Tom>can use the binary compatibility ABI ("-findirect-dispatch"), that
> Tom>will use the new verifier, and will avoid this problem.
>
> Neat, thx, that resolved my error. Now I'm getting some -- linktime,
> I think -- errors. I'm guessing that I need to ask a jetty person
> about this:
>
> /cygdrive/c/DOCUME~1/danielf/LOCALS~1/Temp/ccGPWCF4.o: In function
> `_ZN5javax7servlet19ServletOutputStream5printEPN4java4lang6StringE':
> /cygdrive/c/DOCUME~1/danielf/LOCALS~1/Temp/cc4DjM28jx:(.text+0x90b):
> undefined reference to `__Jv_ResolvePoolEntry'
I guess you're using a new compiler with an old library.
Andrew.