|
From: Casper H. <ch...@us...> - 2002-05-21 12:05:38
|
tir, 2002-05-21 kl. 13:58 skrev Nick Date: > Casper, Eric, thanks. > > I made the (rather stupid) assumption that DJGPP had an assembler that came > with it. However, having downloaded the latest version of NASM, FREELDR > still chucks a wobbly. > > Now it's saying: (it does the same with NASM and NASMW ...) > > C:\rosdev\build\freeldr>make -k > make -C bootsect > make[1]: Entering directory `C:/rosdev/build/freeldr/bootsect' > nasm -o fat.bin -f bin fat.asm > fat.asm:379: error: TIMES value -9 is negative > make[1]: *** [fat.bin] Error 1 > make[1]: Target `all' not remade because of errors. > make[1]: Leaving directory `C:/rosdev/build/freeldr/bootsect' > make: *** [bootsect] Error 2 > make -C install > make[1]: Entering directory `C:/rosdev/build/freeldr/install' > gcc -Wall -o install.o -c install.c > install.c:26: ../bootsect/fat.h: No such file or directory > make[1]: *** [install.o] Error 1 > make[1]: Target `all' not remade because of errors. > make[1]: Leaving directory `C:/rosdev/build/freeldr/install' > make: *** [install] Error 2 > make: Target `all' not remade because of errors. > > > Looking at the source, I can see why it would have trouble finding it's > header files - they are in various subdirectories and there seems to be > nothing in either the makefile or actual source that mentions the path. Even > copying the header files to a common subdirectory and changing the path in > the source causes GCC to claim the files don't exist. > > I have no idea whatsoever what the "TIMES value is negative" error is all > about. My assembler knowledge is very limited. The line in FAT.ASM reads ... > > times 510-($-$$) db 0 ; Pad to 510 bytes > I have never seen this before. Which nasm version are you using? My best guess is that fat.asm assembles to a binary larger than 510 bytes. |