login
Header Space

 
 

Include problems, compiling LILO (was Re: new ps for 0.97 on banjo)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

In article <Aug.1.22.10.04.1992.22121@dumas.rutgers.edu> hedrick@dumas.rutgers.edu (Charles Hedrick) writes:

Yes, the include problems don't seem to stop :-(  linux/types.h should
at least check, whether sys/types.h has already been included and vice
versa.

To compile LILO under 0.97, the following things have to be changed:

  In geometry.c:

    add

        #ifdef _SYS_TYPES_H
        #define _LINUX_TYPES_H
        #endif

    before #include <linux/fs.h>

  In common.h:

    replace
        #include <linux/hdreg.h>
    by
        #include <linux/genhd.h>

smount.c for the MS-DOS FS needs some changes too. I'll release an
update RSN anyway, so I won't list them here.

- Werner
-- 
   _________________________________________________________________________
  / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
 / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
/_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Include problems, compiling LILO (was Re: new ps for 0.97 on..., Werner Almesberger, (Sun Aug 2, 5:12 pm)
speck-geostationary