|
From: Nick D. <nic...@ya...> - 2002-05-21 11:58:40
|
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
Kind Regards,
Nick.
--
Nick Date
Bath, England, UK
----- Original Message -----
From: "Nick J. Date" <nic...@ya...>
To: <rea...@li...>
Sent: Monday, May 20, 2002 4:14 PM
Subject: [ros-kernel] Problems building freeldr
> Hi guys,
>
> I'm probably doing my usual being thick thing, but I can't get freeldr to
> build. I have WinXP Pro and DJGPP is installed properly (to the best of my
> knowledge) in C:\DJGPP with a path to C:\DJGPP\BIN and set DJGPP to
> C:\DJGPP\DJGPP.ENV.
>
> I have a primary NTFS partition with XP on it and a primary FAT partition
> that I intend to install ROS on (and maybe use XP's bootloader if it'll
> work - does that mean I don't need FREELDR?)
>
> Anyways, FREELDR won't build. The output is attached so if anyone could
give
> me some pointers it would be much appreciated.
>
> Thanks,
>
> Nick.
>
> --
> Nick Date
> Bath, England, United Kingdom
>
>
>
> ---
> Outgoing mail is certified virus free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.362 / Virus Database: 199 - Release Date: 07/05/2002
>
---
Outgoing mail is certified virus free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 07/05/2002
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|