Error during Build

The following error report is generated while building jnode in windows.What might be the cause?How to correct it?

asm native:
BUILD FAILED: E:\eclipse\Jnode\all\build.xml:167: The following error occurred while executing this line:
E:\eclipse\Jnode\all\build-x86.xml:161: java.io.IOException: CreateProcess: nasmw.exe -o
E:\eclipse\Jnode\all\build\x86\native\output\jnode.o -f elf -l E:\eclipse\Jnode\all\build\x86\native\jnodenative.lst -IE:\eclipse\Jnode\all\build\x86\native\src\ -IE:\eclipse\Jnode\core\src\native\x86\ E:\eclipse\Jnode\core\src\native\x86\jnode.asm error=2

Boot Image created with warnings

Boot image created with warnings!.Booting failed with the created boot image.
This report is generated while running build.bat from windows.

[bootimage] Compiling using X86-Stub and X86-L1A compilers
[bootimage] Use of in-exact matching class (java.lang.reflect.Constructor) in bootimage at gnu.java.io.EncodingManager
[bootimage] Use of in-exact matching class (java.util.Hashtable) in bootimage at gnu.java.io.EncodingManager
[bootimage] Use of in-exact matching class (java.util.HashMap) in bootimage at gnu.java.lang.ClassHelper
[bootimage] Use of in-exact matching class (java.security.AllPermission) in bootimage at gnu.java.security.provider.DefaultPolicy
[bootimage] Use of in-exact matching class (javax.swing.event.DocumentEvent$EventType) in bootimage at javax.swing.event.DocumentEvent$EventType
[bootimage] Use of in-exact matching class (javax.swing.event.HyperlinkEvent$EventType) in bootimage at javax.swing.event.HyperlinkEvent$EventType
[bootimage] Use of in-exact matching class (javax.swing.border.EmptyBorder) in bootimage at javax.swing.plaf.basic.BasicComboBoxRenderer

[bootimage] Missing static initializer in class java.lang.Long
[bootimage] Missing static initializer in class java.lang.String
[bootimage] Missing static initializer in class java.lang.ThreadLocal
[bootimage] Missing static initializer in class javax.swing.event.DocumentEvent$
EventType
[bootimage] Missing static initializer in class javax.swing.event.HyperlinkEvent
$EventType
[bootimage] Missing static initializer in class org.apache.log4j.Level
[bootimage] Missing static initializer in class org.jnode.assembler.x86.Register

[bootimage] Missing static initializer in class org.jnode.system.SimpleResourceOwner
[bootimage] Missing static initializer in class org.jnode.vm.bytecode.BasicBlockFinder$BasicBlockComparator
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.DefaultHeapManager
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Thread
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.X86IMTCompiler
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.l1a.X86Level1ACompiler
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.stub.X86StubCompiler
[bootimage] Creating image
[bootimage] java.lang.String is large (1233744 , #77109)
[bootimage] org.jnode.vm.classmgr.VmAddressMap is large (254268 , #21189)
[bootimage] org.jnode.vm.classmgr.VmByteCode is large (601312 , #18791)
[bootimage] org.jnode.vm.classmgr.VmCompiledCode is large (762804 , #21189)
[bootimage] org.jnode.vm.classmgr.VmConstMethodRef is large (569760 , #23740)
[bootimage] org.jnode.vm.classmgr.VmInstanceMethod is large (1649700 , #16497)
[bootimage] org.jnode.vm.classmgr.VmSpecialMethod is large (252192 , #2627)
[bootimage] org.jnode.vm.classmgr.VmStaticMethod is large (201504 , #2099)
[bootimage] org.jnode.vm.classmgr.VmStaticMethod is large (201504 , #2099)
[bootimage] Boot heap size 34916K bitmap size 545K
[bootimage] #static int fields 2067
[bootimage] #static long fields 620
[bootimage] #methods 21189
[bootimage] #types 2143
[bootimage] table.length 35196
[bootimage] org.jnode.vm.x86.compiler.l1a.IntItem=4284
[bootimage] org.jnode.vm.x86.compiler.l1a.DoubleItem=1221
[bootimage] org.jnode.vm.x86.compiler.l1a.LongItem=295
[bootimage] org.jnode.vm.x86.compiler.l1a.FloatItem=160
[bootimage] org.jnode.vm.x86.compiler.l1a.RefItem=17643
[bootimage] org.jnode.vm.x86.compiler.l1a.ItemFactory=169645
[bootimage] Optimized methods : 11141, avg size 242, tot size 2705968
[bootimage] Ondemand comp. methods: 10048, avg size 24, tot size 248128
[bootimage] Done.

What is the right way to boot ?
Booting failed from cd boot image.
In grub.conf ,i gave kernel path to the jnodesys.gz in the bootdisk.Booting failed with the following message.

loadFrombootClassArrayinitialise.00000000 0DBB0000
Starting Jnode
VmSystem.initialise
No MP table found
Detected 1 processor
Process 0 GenuineIntel,24.13 Jnode MIPS
No initial jarfile found
Loading initjar Plugins
Starting PluginManager
Error in bootStrap
java.lang.NullPointerExceptiom:NPe at address 002D91E6
org.jnode.plugin.model.PluginRegistrymodel!resolveDescriptors(120)
org.jnode.plugin.manager.DefaultPluginManager Start System Plugins(90)
org.jnode.boot.Main!vmMain(51)

Don't worry

These are the "normal" warnings.
The boot failed, because you should load an initial jar as module.

E.g. in grub add the following command (after kernel /jnodesys.gz)

module /full.jgz

(or default.jgz)

Ewout

Again the same error!

Still it failed to boot with module specified.Images in bootdisk folder alone sufficient?Anything else wrong?

what system is in use?

Hi,
what kind of system do you use?
Do you boot from harddisk (if so try to use the grub command-line to find the module on your disk)?

Trickkiste

Resolved!

Sorry,i dint give module in a new line.Now it is booting.

Error while creating boot image

Thef following error is generated while creating boot image.How to correct it?

java-image:
[bootimage] Building for CPU: name:GenuineIntel family:0 model:0 step:0 features:FPU,PSE raw:00000001 756E6547 6C65746E 49656E69 00000000 00000000 00000000 00000009
[bootimage] java.lang.OutOfMemoryError
BUILD FAILED: E:\eclipse\Jnode\all\build.xml:167: The following error occurred while executing this line:
E:\eclipse\Jnode\all\build-x86.xml:202: java.lang.OutOfMemoryError

Give more details

Building JNode with build.bat (since your're working on Windows) is normally OK since this batch file allocates enough memory to the build process :

"%JAVA_HOME%\bin\java" -Xmx512M -Xms128M -jar core\lib\ant-launcher.jar -lib "%JAVA_HOME%\lib" -lib core\lib -f all\build.xml %*

nasm not installed?

It looks like nasm(w) is not installed, or in your PATH.

See nasm.sourceforge.net

Ewout

Error after installing nasm

Yes.Got the previous error before installing nasm.But,after installing nasm getting the following error.

Compiling 1 source files to E:\eclipse\Jnode\all\build\x86\native\output
[asm] nasm: error: no input file specified

Gayathri.