GCJ Library
pgianf@libero.it
pgianf@libero.it
Tue Dec 5 11:18:00 GMT 2000
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
>
More information about the Java
mailing list