This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with GCJ, need a help!


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]