link problems under darwin5.2

Andreas Tobler toa@pop.agri.ch
Wed Jan 2 10:27:00 GMT 2002



Tom Tromey wrote:
> 
> >>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
> 
> Andreas> /usr/bin/ld: Undefined symbols:
> Andreas> java::lang::ref::Reference::class$
> Andreas> java::util::jar::Attributes::class$
> 
> Were these two classes even compiled?
> It looks like they might not have been.

I'd say they're around, the Reference as well.

Could it be that the --disable-shared has something to do with?

Andreas

objdir/powerpc-apple-darwin5.2/libjava/java/util/jar
-rw-r--r--  1 andreast  staff   3403 Jan  2 19:18 Attributes.class
-rw-r--r--  1 andreast  staff   3114 Jan  2 19:18 Attributes$Name.class
-rw-r--r--  1 andreast  staff   1558 Jan  2 19:18 Attributes.h
-rw-r--r--  1 andreast  staff    346 Jan  2 19:18 Attributes.lo
-rw-r--r--  1 andreast  staff  38760 Jan  2 19:18 Attributes.o
-rw-r--r--  1 andreast  staff   2609 Jan  2 19:18 Attributes.d

objdir/powerpc-apple-darwin5.2/libjava/java/lang/ref
-rw-r--r--  1 andreast  staff   1321 Dec 31 15:50 Reference.class
-rw-r--r--  1 andreast  staff    909 Jan  2 13:15 Reference.d
-rw-r--r--  1 andreast  staff   1000 Dec 31 15:56 Reference.h
-rw-r--r--  1 andreast  staff    344 Jan  2 13:15 Reference.lo
-rw-r--r--  1 andreast  staff  11536 Jan  2 13:15 Reference.o



More information about the Java mailing list