Installation problem
John Cassidy
jocassid@postmaster.co.uk
Wed Jul 2 21:53:00 GMT 2003
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
More information about the Java
mailing list