This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Linking errors
- To: Torsten Rüger <torsten dot rueger at firsthop dot com>
- Subject: Re: Linking errors
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Fri, 29 Sep 2000 11:29:39 -0700 (PDT)
- Cc: Java <java-discuss at sources dot redhat dot com>
- References: <39D47DC1.BE94A1E1@firsthop.com>
- Reply-To: apbianco at redhat dot com
Torsten Rüger writes:
> Any help ?
Well, first a sanity check: do you effectively compile
LogWriter$Agent.class and LogWriter$1.class? with `$' in file names,
it's easy if you're using a script or a makefile to compile
LogWriter.class twice where you thought you would compile
LogWriter.class and LogWriter$Agent.class:
apbianco@kazmo[~/tmp]: ls -l LogWriter$Agent.class
-rw-rw-r-- 1 apbianco apbianco 0 Sep 29 11:27 LogWriter.class
apbianco@kazmo[~/tmp]: ls -l LogWriter\$Agent.class
-rw-rw-r-- 1 apbianco apbianco 0 Sep 29 11:27 LogWriter$Agent.class
It's a classic but it will bite everyone at some point.
Then, do you effectively include LogWriter$Agent.o and LogWriter$1.o
in your link command line?
What kind of platform are you using?
./A