fedora8

Project:JNode Core
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

tar -xzvf jnodesources-0.2.6.tar.gz
>chmod 755 build.sh
>./build.sh x86

grub:
[untar] Expanding: /home/vnocciolini/jnode/all/lib/x86/grub-0.97-i386-pc.tar.gz into /home/vnocciolini/jnode/all/build/x86

prepare:
[copy] Copying 34 files to /home/vnocciolini/jnode/all/build/x86/grub-0.97-i386-pc/boot/grub

asm-native:
[asm] Compiling 1 source files to /home/vnocciolini/jnode/all/build/x86/32bits/native/output

BUILD FAILED
/home/vnocciolini/jnode/all/build.xml:351: The following error occurred while executing this line:
/home/vnocciolini/jnode/all/build.xml:343: The following error occurred while executing this line:
/home/vnocciolini/jnode/all/build-x86.xml:153: java.io.IOException: Cannot run program "nasm": java.io.IOException: error=2, No such file or directory

Total time: 73 minutes 20 seconds

org.jnode.fs.FileSystemFullException: FAT Full (64768, 64768)

OK thanks, I have installed :
nasm-0.98.39-5.fc7

now I've found other problem
.....
.....
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.ClassDecoder$MethodPragmaException;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.ClassDecoder$PragmaAnnotation;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.ClassDecoder$PragmaInterface;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmAnnotation$ElementValue;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmAnnotation;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmCompiledCode;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmCompiledExceptionHandler;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmConstClass;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmField;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmImplementedInterface;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmInstanceMethod;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmInterfaceClass;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmInterpretedExceptionHandler;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmLocalVariable;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmMethod;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.classmgr.VmType;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.compiler.BaseMagicHelper$MagicClass;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.compiler.BaseMagicHelper$MagicMethod;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.compiler.GCMapIterator;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.compiler.NativeCodeCompiler;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.isolate.VmIsolate$State;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.x86.X86Cpu;
[bootimage] Missing static initializer in class [Lorg.jnode.vm.x86.X86Vendor;
[bootimage] Missing static initializer in class [Lsun.misc.FormattedFloatingDecimal$Form;
[bootimage] Missing static initializer in class [Lsun.util.calendar.Era;
[bootimage] Missing static initializer in class [Z
[bootimage] Missing static initializer in class com.sun.naming.internal.VersionHelper12
[bootimage] Missing static initializer in class gnu.java.security.OID
[bootimage] Missing static initializer in class gnu.java.security.action.GetPolicyAction
[bootimage] Missing static initializer in class gnu.java.util.EmptyEnumeration
[bootimage] Missing static initializer in class java.awt.AWTPermission
[bootimage] Missing static initializer in class java.beans.PropertyChangeSupport
[bootimage] Missing static initializer in class java.io.File
[bootimage] Missing static initializer in class java.lang.Class
[bootimage] Missing static initializer in class java.lang.Integer
[bootimage] Missing static initializer in class java.lang.Object
[bootimage] Missing static initializer in class java.lang.RuntimePermission
[bootimage] Missing static initializer in class java.lang.String
[bootimage] Missing static initializer in class java.lang.ThreadLocal
[bootimage] Missing static initializer in class java.lang.ref.ReferenceQueue
[bootimage] Missing static initializer in class java.lang.ref.WeakReference
[bootimage] Missing static initializer in class java.lang.reflect.Method
[bootimage] Missing static initializer in class java.lang.reflect.ReflectAccess
[bootimage] Missing static initializer in class java.net.NetPermission
[bootimage] Missing static initializer in class java.net.SocketPermission
[bootimage] Missing static initializer in class java.net.URLClassLoader
[bootimage] Missing static initializer in class java.security.AllPermission
[bootimage] Missing static initializer in class java.security.SecurityPermission
[bootimage] Missing static initializer in class java.util.ArrayList
[bootimage] Missing static initializer in class java.util.BitSet
[bootimage] Missing static initializer in class java.util.Collections$SynchronizedMap
[bootimage] Missing static initializer in class java.util.HashMap
[bootimage] Missing static initializer in class java.util.HashSet
[bootimage] Missing static initializer in class java.util.Hashtable
[bootimage] Missing static initializer in class java.util.Properties
[bootimage] Missing static initializer in class java.util.WeakHashMap
[bootimage] Missing static initializer in class java.util.concurrent.ConcurrentHashMap
[bootimage] Missing static initializer in class java.util.concurrent.ConcurrentHashMap$Segment
[bootimage] Missing static initializer in class java.util.concurrent.locks.ReentrantLock$NonfairSync
[bootimage] Missing static initializer in class java.util.jar.Attributes$Name
[bootimage] Missing static initializer in class java.util.jar.JavaUtilJarAccessImpl
[bootimage] Missing static initializer in class java.util.logging.Level
[bootimage] Missing static initializer in class java.util.logging.LogManager
[bootimage] Missing static initializer in class java.util.logging.LogManager$LogNode
[bootimage] Missing static initializer in class java.util.logging.LogManager$RootLogger
[bootimage] Missing static initializer in class java.util.logging.Logger
[bootimage] Missing static initializer in class java.util.logging.LoggingPermission
[bootimage] Missing static initializer in class java.util.regex.Pattern
[bootimage] Missing static initializer in class javax.isolate.IsolateStatus$ExitReason
[bootimage] Missing static initializer in class javax.isolate.IsolateStatus$State
[bootimage] Missing static initializer in class javax.security.auth.AuthPermission
[bootimage] Missing static initializer in class org.apache.log4j.Level
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Constants$Mode
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$CRX
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$FPU
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$GPR16
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$GPR32
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$GPR64
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$GPR8
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$MMX
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$SR
[bootimage] Missing static initializer in class org.jnode.assembler.x86.X86Register$XMM
[bootimage] Missing static initializer in class org.jnode.plugin.model.AttributeModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.ConfigurationElementModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.ExtensionModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.ExtensionPointModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.LibraryModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.PluginDescriptorModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.PluginJar
[bootimage] Missing static initializer in class org.jnode.plugin.model.PluginPrerequisiteModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.PluginRegistryModel
[bootimage] Missing static initializer in class org.jnode.plugin.model.RuntimeModel
[bootimage] Missing static initializer in class org.jnode.security.JNodePermission
[bootimage] Missing static initializer in class org.jnode.system.SimpleResourceOwner
[bootimage] Missing static initializer in class org.jnode.util.BinaryPrefix
[bootimage] Missing static initializer in class org.jnode.util.BootableArrayList
[bootimage] Missing static initializer in class org.jnode.util.BootableHashMap
[bootimage] Missing static initializer in class org.jnode.util.BootableHashMap$Entry
[bootimage] Missing static initializer in class org.jnode.util.Counter
[bootimage] Missing static initializer in class org.jnode.util.DecimalPrefix
[bootimage] Missing static initializer in class org.jnode.util.EmptyInputStream
[bootimage] Missing static initializer in class org.jnode.util.SizeUnit
[bootimage] Missing static initializer in class org.jnode.vm.HeapHelperImpl
[bootimage] Missing static initializer in class org.jnode.vm.HeapHelperImpl$ThreadRootVisitor
[bootimage] Missing static initializer in class org.jnode.vm.MathSupport
[bootimage] Missing static initializer in class org.jnode.vm.Vm
[bootimage] Missing static initializer in class org.jnode.vm.VmSystemClassLoader
[bootimage] Missing static initializer in class org.jnode.vm.bytecode.BasicBlockFinder$BasicBlockComparator
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.ClassDecoder$MethodPragmaException
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.ClassDecoder$PragmaAnnotation
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.ClassDecoder$PragmaInterface
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.CompiledCodeList
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.SelectorMap
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.TypeSizeInfo
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmAddressMap
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmAnnotation
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmAnnotation$ElementValue
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmAnnotation$EnumValue
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmArrayClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmByteCode
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmCP
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmCompiledCode
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmCompiledExceptionHandler
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstDouble
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstFieldRef
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstFloat
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstIMethodRef
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstInt
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstLong
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstMethodRef
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmConstString
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmExceptions
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmImplementedInterface
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInstanceField
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInstanceMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInterfaceClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInterpretedExceptionHandler
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmIsolatedStatics
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLineNumberMap
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLocalVariable
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLocalVariableTable
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmNormalClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmPrimitiveClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmSharedStatics
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmSpecialMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticField
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticsAllocator
[bootimage] Missing static initializer in class org.jnode.vm.compiler.BaseMagicHelper$MagicClass
[bootimage] Missing static initializer in class org.jnode.vm.compiler.BaseMagicHelper$MagicMethod
[bootimage] Missing static initializer in class org.jnode.vm.compiler.EntryPoints
[bootimage] Missing static initializer in class org.jnode.vm.isolate.VmIsolate$State
[bootimage] Missing static initializer in class org.jnode.vm.isolate.VmIsolateLocal
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.DefaultHeapManager
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.VmBootHeap
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.VmDefaultHeap
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.ProcessorLock
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmScheduler
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$AllThreadsQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$ScheduleQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$SleepQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueueEntry
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Architecture32
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Processor32
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86StackReader
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Thread32
[bootimage] Missing static initializer in class org.jnode.vm.x86.X86Cpu
[bootimage] Missing static initializer in class org.jnode.vm.x86.X86Vendor
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.X86IMTCompiler32
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.l1a.MagicHelper
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.l1a.X86GCMapIterator
[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.EmptyGCMapIterator
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.stub.X86StubCompiler
[bootimage] Missing static initializer in class sun.misc.FloatingDecimal$1
[bootimage] Missing static initializer in class sun.misc.FormattedFloatingDecimal$1
[bootimage] Missing static initializer in class sun.misc.FormattedFloatingDecimal$Form
[bootimage] Missing static initializer in class sun.misc.Launcher$AppClassLoader
[bootimage] Missing static initializer in class sun.misc.Launcher$ExtClassLoader
[bootimage] Missing static initializer in class sun.misc.Unsafe
[bootimage] Missing static initializer in class sun.reflect.ReflectionFactory
[bootimage] Missing static initializer in class sun.util.calendar.Era
[bootimage] Missing static initializer in class sun.util.calendar.Gregorian
[bootimage] Missing static initializer in class sun.util.calendar.Gregorian$Date
[bootimage] Missing static initializer in class sun.util.calendar.ImmutableGregorianDate
[bootimage] Missing static initializer in class sun.util.calendar.ZoneInfo
[bootimage] Creating image
[bootimage] Large classes:
[bootimage] [B 23M
[bootimage] [C 6M
[bootimage] [I 2M
[bootimage] [Ljava.lang.Object; 1M
[bootimage] org.jnode.vm.classmgr.VmInstanceMethod 1M
[bootimage] java.lang.String 968K
[bootimage] org.jnode.vm.classmgr.VmCompiledCode 763K
[bootimage] org.jnode.vm.classmgr.VmConstMethodRef 564K
[bootimage] org.jnode.vm.classmgr.VmLocalVariable 541K
[bootimage] org.jnode.vm.classmgr.VmByteCode 538K
[bootimage] Boot heap size 55872K bitmap size 873K
[bootimage] Shared statics
[bootimage] #static int fields 52
[bootimage] #static long fields 5
[bootimage] #methods 19549
[bootimage] #types 2033
[bootimage] table.length 28140
[bootimage] Isolated statics
[bootimage] #static int fields 3594
[bootimage] #static long fields 507
[bootimage] #methods 0
[bootimage] #types 0
[bootimage] table.length 5838
[bootimage] ### load eax=1038
[bootimage] ### load ebx=3226
[bootimage] ### load ecx=3087
[bootimage] ### load edx=28
[bootimage] ### load esi=1856
[bootimage] inlined-invokespecial=62
[bootimage] inlined-invokestatic=908
[bootimage] inlined-invokevirtual=3460
[bootimage] org.jnode.vm.x86.compiler.l1a.X86BytecodeVisitor {
[bootimage] anewarray=730
[bootimage] checkbounds=7000
[bootimage] const-local=688
[bootimage] idiv-const-shift=66
[bootimage] idiv-nonconst=63
[bootimage] ioperation-nonconst=6242
[bootimage] ldc-class=184
[bootimage] ldiv=21
[bootimage] lmul=45
[bootimage] multianewarray=1
[bootimage] new=8108
[bootimage] newarray=642
[bootimage] tableswitch-nonopt=45
[bootimage] tableswitch-opt=94
[bootimage] virtual-final=22003
[bootimage] virtual-vmt=9011}
[bootimage] store-load=7888
[bootimage] Increase BootImageBuilder.INITIAL_OBJREFS_CAPACITY to 802462 for faster build.
[bootimage] Optimized methods : 15925, avg size 237, tot size 3786912
[bootimage] Ondemand comp. methods: 3624, avg size 38, tot size 137808
[bootimage] Done.
[gzip] Building: /home/vnocciolini/jnode/all/build/x86/jnode32.gz

boot-disk:
[mkdir] Created dir: /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk
[mkdir] Created dir: /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk/boot/grub
[copy] Copying 1 file to /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk
[copy] Copying 1 file to /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk/boot/grub
[copy] Copying 2 files to /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk
[bootdisk] Added /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk/boot/grub/menu.lst as menu.lst size 1Kb
[bootdisk] Added /home/vnocciolini/jnode/all/build/x86/32bits/bootdisk/default.jgz as default.jgz size 13649Kb
[bootdisk] org.jnode.fs.FileSystemFullException: FAT Full (64768, 64768)
[bootdisk] at org.jnode.fs.fat.Fat.allocNew(Fat.java:279)
[bootdisk] at org.jnode.fs.fat.Fat.allocAppend(Fat.java:319)
[bootdisk] at org.jnode.fs.fat.Fat.allocNew(Fat.java:300)
[bootdisk] at org.jnode.fs.fat.FatFile.setLength(FatFile.java:150)
[bootdisk] at org.jnode.build.BootFloppyBuilder.addFile(BootFloppyBuilder.java:262)
[bootdisk] at org.jnode.build.BootFloppyBuilder.processFileSet(BootFloppyBuilder.java:178)
[bootdisk] at org.jnode.build.BootFloppyBuilder.copySystemFiles(BootFloppyBuilder.java:152)
[bootdisk] at org.jnode.build.BootFloppyBuilder.createImage(BootFloppyBuilder.java:101)
[bootdisk] at org.jnode.build.BootDiskBuilder.createImage(BootDiskBuilder.java:71)
[bootdisk] at org.jnode.build.BootFloppyBuilder.execute(BootFloppyBuilder.java:71)
[bootdisk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bootdisk] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootdisk] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootdisk] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootdisk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[bootdisk] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[bootdisk] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[bootdisk] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[bootdisk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bootdisk] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootdisk] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
[bootdisk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bootdisk] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootdisk] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
[bootdisk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bootdisk] at org.apache.tools.ant.Task.perform(Task.java:364)
[bootdisk] at org.apache.tools.ant.Target.execute(Target.java:341)
[bootdisk] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bootdisk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[bootdisk] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bootdisk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[bootdisk] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[bootdisk] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bootdisk] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bootdisk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bootdisk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

BUILD FAILED
/home/vnocciolini/jnode/all/build.xml:351: The following error occurred while executing this line:
/home/vnocciolini/jnode/all/build.xml:343: The following error occurred while executing this line:
/home/vnocciolini/jnode/all/build-x86.xml:207: org.jnode.fs.FileSystemFullException: FAT Full (64768, 64768)

Total time: 48 minutes 57 seconds

It looks like you've got a full filesystem

The first set of warnings about missing static initializer are normal.

The error that killed the build could be caused by a full file system on you build machine. Alternatively, the build might be trying to put too much into the boot disk.

If it is the latter problem, try running "./build.sh cd-x86-lite".

BTW, a JNode build time of ~49 minutes is extraordinary. My builds take 5 minutes for a full build (after clean) and 1 minute normally. This is on a 2Ghz laptop with 3Gb RAM running Linux (Fedora Core Cool. If you are going to do any serious JNode development, you'll need to upgrade your machine.

cd-x86-lite BUILD SUCCESSFUL

I have tried jnode]$ ./build.sh cd-x86-lite

Memory 494.9 MiB
Processor Genuine Intel(R) CPU T1300 @ 1.66GHz
Avaible sisk space 5.GiB

[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmImplementedInterface
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInstanceField
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInstanceMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInterfaceClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmInterpretedExceptionHandler
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmIsolatedStatics
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLineNumberMap
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLocalVariable
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmLocalVariableTable
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmNormalClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmPrimitiveClass
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmSharedStatics
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmSpecialMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticField
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticMethod
[bootimage] Missing static initializer in class org.jnode.vm.classmgr.VmStaticsAllocator
[bootimage] Missing static initializer in class org.jnode.vm.compiler.BaseMagicHelper$MagicClass
[bootimage] Missing static initializer in class org.jnode.vm.compiler.BaseMagicHelper$MagicMethod
[bootimage] Missing static initializer in class org.jnode.vm.compiler.EntryPoints
[bootimage] Missing static initializer in class org.jnode.vm.isolate.VmIsolate$State
[bootimage] Missing static initializer in class org.jnode.vm.isolate.VmIsolateLocal
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.DefaultHeapManager
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.VmBootHeap
[bootimage] Missing static initializer in class org.jnode.vm.memmgr.def.VmDefaultHeap
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.ProcessorLock
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmScheduler
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$AllThreadsQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$ScheduleQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueue$SleepQueue
[bootimage] Missing static initializer in class org.jnode.vm.scheduler.VmThreadQueueEntry
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Architecture32
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Processor32
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86StackReader
[bootimage] Missing static initializer in class org.jnode.vm.x86.VmX86Thread32
[bootimage] Missing static initializer in class org.jnode.vm.x86.X86Cpu
[bootimage] Missing static initializer in class org.jnode.vm.x86.X86Vendor
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.X86IMTCompiler32
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.l1a.MagicHelper
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.l1a.X86GCMapIterator
[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.EmptyGCMapIterator
[bootimage] Missing static initializer in class org.jnode.vm.x86.compiler.stub.X86StubCompiler
[bootimage] Missing static initializer in class sun.misc.FloatingDecimal$1
[bootimage] Missing static initializer in class sun.misc.FormattedFloatingDecimal$1
[bootimage] Missing static initializer in class sun.misc.FormattedFloatingDecimal$Form
[bootimage] Missing static initializer in class sun.misc.Launcher$AppClassLoader
[bootimage] Missing static initializer in class sun.misc.Launcher$ExtClassLoader
[bootimage] Missing static initializer in class sun.misc.Unsafe
[bootimage] Missing static initializer in class sun.reflect.ReflectionFactory
[bootimage] Missing static initializer in class sun.util.calendar.Era
[bootimage] Missing static initializer in class sun.util.calendar.Gregorian
[bootimage] Missing static initializer in class sun.util.calendar.Gregorian$Date
[bootimage] Missing static initializer in class sun.util.calendar.ImmutableGregorianDate
[bootimage] Missing static initializer in class sun.util.calendar.ZoneInfo
[bootimage] Creating image
[bootimage] Large classes:
[bootimage] [B 23M
[bootimage] [C 6M
[bootimage] [I 2M
[bootimage] [Ljava.lang.Object; 1M
[bootimage] org.jnode.vm.classmgr.VmInstanceMethod 1M
[bootimage] java.lang.String 968K
[bootimage] org.jnode.vm.classmgr.VmCompiledCode 763K
[bootimage] org.jnode.vm.classmgr.VmConstMethodRef 564K
[bootimage] org.jnode.vm.classmgr.VmLocalVariable 541K
[bootimage] org.jnode.vm.classmgr.VmByteCode 538K
[bootimage] Boot heap size 55884K bitmap size 873K
[bootimage] Shared statics
[bootimage] #static int fields 52
[bootimage] #static long fields 5
[bootimage] #methods 19549
[bootimage] #types 2033
[bootimage] table.length 28140
[bootimage] Isolated statics
[bootimage] #static int fields 3594
[bootimage] #static long fields 507
[bootimage] #methods 0
[bootimage] #types 0
[bootimage] table.length 5838
[bootimage] ### load eax=1038
[bootimage] ### load ebx=3227
[bootimage] ### load ecx=3088
[bootimage] ### load edx=28
[bootimage] ### load esi=1856
[bootimage] inlined-invokespecial=62
[bootimage] inlined-invokestatic=914
[bootimage] inlined-invokevirtual=3487
[bootimage] org.jnode.vm.x86.compiler.l1a.X86BytecodeVisitor {
[bootimage] anewarray=730
[bootimage] checkbounds=7000
[bootimage] const-local=697
[bootimage] idiv-const-shift=66
[bootimage] idiv-nonconst=63
[bootimage] ioperation-nonconst=6255
[bootimage] ldc-class=184
[bootimage] ldiv=21
[bootimage] lmul=45
[bootimage] multianewarray=1
[bootimage] new=8118
[bootimage] newarray=642
[bootimage] tableswitch-nonopt=45
[bootimage] tableswitch-opt=94
[bootimage] virtual-final=22066
[bootimage] virtual-vmt=8995}
[bootimage] store-load=7917
[bootimage] Increase BootImageBuilder.INITIAL_OBJREFS_CAPACITY to 802674 for faster build.
[bootimage] Optimized methods : 15925, avg size 238, tot size 3790768
[bootimage] Ondemand comp. methods: 3624, avg size 38, tot size 137808
[bootimage] Done.
[gzip] Building: /home/vinicio/Desktop/jnode/all/build/x86/jnode32.gz

test-properties:

load-properties:

default-properties:

prepare-props:

prepare-dirs:
[mkdir] Created dir: /home/vinicio/Desktop/jnode/all/build/x86/${jnode.bits}bits/native
[mkdir] Created dir: /home/vinicio/Desktop/jnode/all/build/x86/${jnode.bits}bits/native/output
[mkdir] Created dir: /home/vinicio/Desktop/jnode/all/build/x86/${jnode.bits}bits/native/src
[mkdir] Created dir: /home/vinicio/Desktop/jnode/all/build/x86/${jnode.bits}bits/bootimage

test-grub:

grub:

prepare:

cdrom-lite:
[mkdir] Created dir: /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite
[copy] Copying 4 files to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[copy] Copying 1 file to /home/vinicio/Desktop/jnode/all/build/x86/cdrom-lite/boot/grub
[exec] I: -input-charset not specified, using utf-8 (detected in locale settings)
[exec] Size of boot image is 4 sectors -> No emulation
[exec] 12.65% done, estimate finish Tue Apr 1 18:12:38 2008
[exec] 25.30% done, estimate finish Tue Apr 1 18:12:38 2008
[exec] 37.91% done, estimate finish Tue Apr 1 18:12:38 2008
[exec] 50.57% done, estimate finish Tue Apr 1 18:12:40 2008
[exec] 63.18% done, estimate finish Tue Apr 1 18:12:45 2008
[exec] 75.81% done, estimate finish Tue Apr 1 18:12:44 2008
[exec] 88.47% done, estimate finish Tue Apr 1 18:12:43 2008
[exec] Total translation table size: 2048
[exec] Total rockridge attributes bytes: 1480
[exec] Total directory bytes: 5210
[exec] Path table size(bytes): 34
[exec] Max brk space used 0
[exec] 39577 extents written (77 MB)

BUILD SUCCESSFUL
Total time: 478 minutes 24 seconds

startawt doesn't work

Finally i have got my DVD with the builded iso

At the boot in my laptop I can to see:
GNU GRUB version 0.97 (693 lower / 514880K upper memory)
I have chose JNode (default)
JNode shell seem work
For example:
JNode /> dir
1970.01.01 00:00 [devices]
2008.04.02 10:48 [jifs]
2008.04.02 10:47 [jnode]
JNode /> memory
Total memory 447MB
Used memory 304MB
Free memory 142MB

But I have found new problems with startawt
JNode /> startawt
The monitor became all black, doesn't work anymore
My laptop seem completely died
ALT+F12 doesn't back me to the text console to
I can do nothing anymore.
What's wrong? Have you any ideas?

Thanks Vinicio

Try to run a gc before

Try to run a gc before calling startawt. You are a little short of memory.

gc

I tried it, before I 've just forget to write it

Your builds take an extraordinarily long time!

As I said before, my machine takes ~5 minutes for a full build (from clean) and ~1 minute for a minimal build (no files changed).

I strongly suspect that your machine is severely memory starved and is thrashing. I would recommend a minimum of 1 Gb of RAM for your development box, preferably 2Gb or more.

If you cannot upgrade your hardware, you could try the following experiment. Shut down your X server login and drop back to a console login prompt; you know, that ugly 24x80 thing. Log in as yourself, change to your JNode tree and rerun the build. If my theory is correct, the build ought to run quite a lot faster because there should be significantly more memory available for the build to use.

HTH

shut down X server

Yes u right, my builds take an extraordinarily long time
But at the moment I can't upgrade my hardware

I am going to try the experiment, I am shuting down my X server
[root@localhost ~]# /sbin/init 3
[vinicio@localhost jnode]$ ./build.sh clean
[vinicio@localhost jnode]$ ./build.sh cd-x86-lite

So the result of experiment is:
...
...
[exec] Total translation table size: 2048
[exec] Total rockridge attributes bytes: 1480
[exec] Total directory bytes: 5210
[exec] Path table size(bytes): 34
[exec] Max brk space used 0
[exec] 39569 extents written (77 MB)

BUILD SUCCESSFUL
Total time: 46 minutes 5 seconds

Now the time is better!!

#1

That is an easy one. Assuming that you have 'root' access, you can use "Applications > Add / Remove Software" to load nasm. Go to the "Search" tab and search for "nasm". Then install it.

I use nasm 0.98.39-5.fc7.i386 on Fedora 8, and JNode builds work just fine for me.

#2

There doesn't seem to be anything left to do for this request. Closing it.