Update: Problem with Alpha OSF1 and mips-tfile
Antonio Ake
ake@ecn.purdue.edu
Thu Jul 19 23:01:00 GMT 2001
Thanks a lot. I change the jvspec.c to your first patch and
gcj is compiling helloworld in UNIX True64 v5.0 ALPHA,
I will probably be testing gcj on this machine...
These are the first problems found running gcj in this machine:
1. command: gcj --main=HelloWorld -o hello HelloWorld.java
compiled without error messages.
./hello
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv_close
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv
515056:./hello: /sbin/loader: Error: Unresolved symbol in
/usr/users/ake/gcc18/lib//libgcj.so: iconv_open
515056:./hello: /sbin/loader: Fatal Error: this executable has
unresolvable symbols
Workaround: gcj --main=HelloWorld -o hello HelloWorld.java -liconv
Why is not linked by default -liconv? Where it could be the problem?
2. Problem
I need to compile a static binary:
Command: gcj --main=HelloWorld -o hello HelloWorld.java -liconv -static
Error: Undefined:
iconv_open
iconv_close
iconv
collect2: ld returned 1 exit status
I hope this problem is related with the first one, because I really need
to work with static binaries.
Regards
More information about the Java
mailing list