This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: GCJ Library
- To: tromey at redhat dot com
- Subject: Re: GCJ Library
- From: "pgianf at libero dot it"<pgianf at libero dot it>
- Date: Tue, 5 Dec 2000 20:17:40 +0100
- Cc: java-discuss at sources dot redhat dot com
Tom,
I'm using the mandrake distribution, I've tried to find
libgcj-devel-2.95 with rmpfind but the only available is the 2.96.
So I've tried to install the gcc-java, libgcj and libgcj release 2.96.
I had some dependecy problem with the gcc-java which need an higher gcc
release but I forced the installation. Then I recompiled and that is the
error I'v got :
gcj Start.o ../StreamServer.o ../socket/ClientConnectionParameters.o
../socket/ServerConnectionParameters.o ../socket/SingleServer.o
../socket/MultiServer.o ../socket/SingleClient.o -o Start
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgcj.so: undefined
reference to `getpwuid_r@GLIBC_2.1.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgcj.so: undefined
reference to `gethostbyname_r@GLIBC_2.1.2'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgcj.so: undefined
reference to `gethostbyaddr_r@GLIBC_2.1.2'
make: *** [Start] Error 1
if I exec this command:
gcj Start.o ../StreamServer.o ../socket/ClientConnectionParameters.o
../socket/ServerConnectionParameters.o ../socket/SingleServer.o
../socket/MultiServer.o ../socket/SingleClient.o -o Start --main=Start
I get:
gcj: installation problem, cannot exec `cc1': File o directory
inesistente
Can you help in understanding such errors?
Thanks
Paolo
>>>>> "Paolo" == pgianf@libero it <pgianf@libero.it> writes:
>
> Paolo> can some one tell me where I can find the libgcj-devel-2.95
> Paolo> because I cannot compile without it .
>
> I assume you're using Red Hat 7? If so it ought to be on one of the
> CDs. Otherwise you could try rpmfind.
>
> Tom
>