got gcc-cvs to compile! [was Re: this pointer off by one?]
Adam Megacz
gcj@lists.megacz.com
Sat Nov 3 06:37:00 GMT 2001
Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> >./.libs/libgcj.so: undefined reference to `GC_lock'
> >./.libs/libgcj.so: undefined reference to `GC_pthread_create'
> >./.libs/libgcj.so: undefined reference to `GC_allocate_lock'
> Havn't seen that one. What was your configure command?
Okay, so I gave gcc-cvs one more crack, and it seems to have
compiled. Only thing I changed was tacking this onto the configure
command:
--enable-threads=posix --enable-shared --enable-languages=c++,java
As per the gcj compiling faq. I had been using "--with-threads=posix"
before -- not sure if that is an invalid configure option, though...
The wierd this-ptr-off-by-one error seems to have receded as well, so
it was either a symptom of a mis-install of gcj (my fault) or else a
bug that's already been fixed.
Sorry for the disturbance =)
- a
--
If the Boston Tea Party happened today, our politicians would denounce
it as an act of Terrorism.
More information about the Java
mailing list