This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Installation problem
- From: John Cassidy <jocassid at postmaster dot co dot uk>
- To: java at gcc dot gnu dot org
- Date: Wed, 02 Jul 2003 17:53:40 -0400
- Subject: Installation problem
- Reply-to: jocassid at postmaster dot co dot uk
I have been trying to install gcc3.2.3 on my machine. I've been compiling the source code using gcc2.96, on a Redhat Linux 7.3 (kernel 2.4.18), on a computer with a Duron processor. The compliation seems to work and I'm able to compile a simple "hello world" program written in C, however when I try to compile a similar program written in Java with the command:
gcj Hello.java
I get the following error message:
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
My quess is that the linker is trying to access files that are not compatible. I installed gcc underneath my home directory, might this have something to with this error.
Wondering if anyone knew a fix to this problem so I can get the new version of gcc running.
Sincerely,
John Cassidy
___________________________________________________
Which ex-West Ham football manager is the father in law of pop star Louise?
Find out at postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=235