Error compiling lilo

Adam Mercer ram at star.sr.bham.ac.uk
Thu Oct 11 15:05:06 PDT 2001


Gerard Beekmans wrote:

<snip>


> partition.c inludes the common.h file
> common.h includes the /usr/include/linux/genhd.h file
> 
> genhd defined LINUX_EXTENDED_PARTITION and DOS_EXTENDED_PARTITION
> 
> "EXTENDED_PARTITION" is only defined is DOS_EXTENDED_PARTITION and
> LINUX_EXTENDED_PARTITION aren't defined, which they should.
> 
> so let's start by you checking your /usr/include/linux/genhd.h file:
> 
> Do you have these lines in it:
> /* These three have identical behaviour; use the second one if DOS fdisk
>  * gets
>    confused about extended/logical partitions starting past cylinder 1023.
> */
> #define DOS_EXTENDED_PARTITION 5
> #define LINUX_EXTENDED_PARTITION 0x85
> #define WIN98_EXTENDED_PARTITION 0x0f


I've unpacked the sources again to make sure I've get a clean version 
and in genhd.h I've got

/* These three have identical behaviour; use the second one if DOS fdisk 
gets
    confused about extended/logical partitions starting past cylinder 
1023. */
         DOS_EXTENDED_PARTITION = 5,
         LINUX_EXTENDED_PARTITION = 0x85,
         WIN98_EXTENDED_PARTITION = 0x0f,

Cheers

Adam

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list