lilo + kernels > 2.4.10 -- solution?

Kevin Krumwiede krum at smyrnacable.net
Fri Nov 9 17:42:11 PST 2001


I ran into a problem that was reported earlier in the list when building
lilo 21.7.5 against the 2.4.14 kernel headers.

http://archive.linuxfromscratch.org/mail-archives/lfs-support/2001/10/0186.h
tml

The thread mentions genhd.h without mentioning the solution.  In genhd.h,
DOS_EXTENDED_PARTITION and LINUX_EXTENDED_PARTITION are part of an enum.  I
am guessing that in older kernels they were preprocessor macros; that would
explain the lines in lilo's partition.c which check if they're #defined.
Well, they're not now that they're an enum instead of a #define, so they get
replaced with EXTENDED_PARTITION, which is NOT a defined symbol.

Simple enuf to fix -- remove those #ifndef/#define macros from partition.c.

-- 
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