Problems with GCJ, need a help!

Andrey Kondakov andrew5498@hotmail.com
Sun Sep 14 11:06:00 GMT 2003


Hello, list:
I have OpenBSD 3.2 box and I try to compile there and run RMI server. I use 
gcj-3.2 to compile my .java files. I got next problems:
1) Trying to egcj -c Class.java I get Error: Alignment not a power of 2
It happens with each .java file I send to compilation.
Trying to egcj --main=RMIserver <rmi options> -o RMIserver 
Class1.java....ClassN.java
I get the same Error: Alignment not a power of 2
The same error occures when I perform egcj -C Class.java ( without problems 
)
and
egcj --main=RMIserver <rmi options> Class1.class....ClassN.class ( 
Allignment error )
I installed gcj-3.2 from package OpenBSD directory.
2) To tell the true I haven't seen the previous problem yesterday:) when I 
installed gcj. Then I compiled RMI server and client, e.g. everything 
written in Java, without problems using object files and bytecode files 
(.class). But,.. when I enter to RMI server constructor
public RMIserver() throws RemoteException
{
 super();
 ^^^^
 I see SIGSEGV there and it fails to continue
I guess the error took place in UnicastRemoteObject constructor, isn't it?
Does somebody have suggestions how I can correct forementioned probems?
Thank you,
Andrew
_________________________________________________________________
Get a FREE computer virus scan online from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /