|
From: Brian P. <br...@sg...> - 2002-05-21 19:20:56
|
I believe that the latest version of NASM is v0.98.32. I have only used v0.98 however. It may be that the new version of NASM is trying to optimize my boot sector code for me and generating extra instructions in doing so. I'll download the new version of NASM and see what it is doing. In the mean time you should be able to assemble it just fine with v0.98. As for the install/header file problems you are having that's because you are trying to compile it with DJGPP. You see, there are 3 parts to freeldr. The boot sectors (assemble with NASM), freeldr (compile with DJGPP), and the installer (compile with Mingw32). I really should remove the top-level makefile because it just seems to cause confusion, but it will be useful once freeldr can be compiled with Mingw32. So to solve your install/header file problems you will need to switch over to Mingw32 to compile the installer since it is Win32 code. Brian > -----Original Message----- > From: rea...@li... [mailto:reactos-kernel- > ad...@li...] On Behalf Of Nick Date > Sent: Tuesday, May 21, 2002 7:11 AM > To: rea...@li... > Subject: Re: [ros-kernel] Problems building freeldr > > Hi Casper, > > ----- Original Message ----- > From: "Casper Hornstrup" <ch...@us...> > To: <rea...@li...> > Sent: Tuesday, May 21, 2002 1:01 PM > Subject: Re: [ros-kernel] Problems building freeldr > > [snip] > > > > 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. > > I'm using the latest version of NASM (3.0.5?). I've managed to compile the > freeldr part of the program and have found that the problem with the TIMES > value is related to the bootsect directory and the missing/bad path for > header problems is related to the install part of freeldr. > > Where's Brian Palmer when you need him? :-) If and when I get freeldr > working I'll submit any tweaks here so that someone can update the CVS. > It's > just a pity that loadros doesn't seem to be in the tree anymore cos I > can't > load ros! ;-) > > Thanks again for your help, Casper. > > Nick. > > -- > Nick Date > Bath, England, UK > > > > > --- > Outgoing mail is certified virus free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/2002 > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > reactos-kernel mailing list > rea...@li... > https://lists.sourceforge.net/lists/listinfo/reactos-kernel |