JNode Build Error,Help!
Submitted by birkey on Wed, 02/02/2005 - 07:16.
I built JNold in Eclipse with Ant 1.6.2 and nasmw.exe 0.98 on Windows, everything goes well until target :
asm-native:
[asm] Compiling 1 source files to E:\jnode-x86-0.1.9\src\all\build\x86\native\output
[asm] nasm: unrecognised option `-I'
[asm] nasm: unrecognised option `-I'
[asm] type `nasm -h' for help
BUILD FAILED: E:\jnode-x86-0.1.9\src\all\build.xml:167: The following error occurred while executing this line:
E:\jnode-x86-0.1.9\src\all\build-x86.xml:161: Asm failed on E:\jnode-x86-0.1.9\src\core\src\native\x86\jnode.asm
How could '-I' be unrecognised? Who could give me a hand? Thx
- Login to post comments
nasm version
Which version (after the 0.98) are you using?
0.98.38 should work.
Ewout
Another Build Error
I updated to nasm 0.98.39, and get another error when built:
asm-native:
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: Java heap space
BUILD FAILED
E:\jnode-x86-0.1.9\src\all\build.xml:167: The following error occurred while executing this line:
E:\jnode-x86-0.1.9\src\all\build-x86.xml:202: java.lang.OutOfMemoryError: Java heap space
Any help?
Heap size
The build processes takes lots of memory, so are you using the build.bat/sh scripts? If not, please do or adjust the maximum heap size of the java process.
Ewout