Lilo is failing to compile from lin lilo

Shern, Benjamin J ShernBJ at LOUISVILLE.STORTEK.COM
Mon Feb 3 15:41:05 GMT 2003


Maybe you thought you were done with the kernel code and
deleted it out of /usr/src?

> -----Original Message-----
> From: Shern, Benjamin J 
> Sent: February 03, 2003 3:40 PM
> To: 'This is the primary mailing list for Lunar Linux!'
> Subject: RE: Lilo is failing to compile from lin lilo
> 
> 
> /usr/include/linux must not exist?  I believe it's supposed to be a
> link to ../src/linux/include/linux which in turn is linked to
> /usr/src/linux-2.4.20/include/linux.
> (At least that's how my system is setup)
> 
> 
> > -----Original Message-----
> > From: Wuss912 [mailto:Wuss912 at cox.net] 
> > Sent: February 03, 2003 3:37 PM
> > To: lunar at lunar-linux.org
> > Subject: Lilo is failing to compile from lin lilo
> > 
> > 
> > Any suggestions?
> > Or ideas of what could be wrong?
> > 
> > root at server / # lin lilo
> > Checking dependencies for lilo
> > Building lilo
> > installing in dir:/usr/src/lilo-22.4.1
> > lilo 22.4.1
> > Editing Makefile
> > Editing Makefile
> > Editing Makefile
> > Editing Makefile
> > Editing Makefile
> > cc -E `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` -DBITMAP second.S -o temp2.s
> > cc -E -C -traditional -DLILO_ASM -o common.s common.h
> > echo "#define CFLAGS \"" -O2 -Wall -g `( if [ -r 
> > $ROOT/etc/lilo.defines
> > ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN
> > -DDSECS=3 -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT 
> > -DPASS160
> > -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY
> > -DVIRTUAL; fi ) | sed 's/-D/-DLCF_/g'` `[ -r 
> /usr/include/asm/boot.h ]
> > && echo -DHAS_BOOT_H` `cat mylilo.h` "\"" >flags.i
> > cc -E -traditional `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` -o loader.s  loader.S
> > cp -p dparam.S dparam.s
> > cc -Wall -s -O -o activate activate.c
> > cat bootsect.S pseudo.S >_TmP_.S
> > cc -E -traditional `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` \
> >                 -DSIZEDISKB=512 -o pseudo.s _TmP_.S
> > as86 -0 -a -w -l temp2.lis -o temp2.o temp2.s
> > cat: mylilo.h: No such file or directory
> > as86 -0 -a -w -l dparam.lis -o dparam.o dparam.s
> > ld86 -0 -s -o dparam.img dparam.o
> > dd if=dparam.img of=dparam.com bs=288 skip=1
> > 0+1 records in
> > 0+1 records out
> > rm -f _TmP_.S
> > as86 -0 -a -w -l pseudo.lis -o pseudo.o pseudo.s
> > ld86 -0 -s -o pseudo.img pseudo.o
> > dd if=pseudo.img of=pseudo.b bs=32 skip=1
> > 32+0 records in
> > 32+0 records out
> > ld86 -0 -s -o temp2.img temp2.o
> > dd if=temp2.img of=temp2.b bs=32 skip=1
> > 256+0 records in
> > 256+0 records out
> > echo -DMAX_SECONDARY_FILESIZE=`wc -c <temp2.b | sed "s/ //g"` 
> > >mylilo.h
> > cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` `cat mylilo.h` lilo.c
> > cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` `cat mylilo.h` map.c
> > cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` `cat mylilo.h` geometry.c
> > cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> > $ROOT/etc/lilo.defines; else echo -DBDATA -DBUILTIN -DDSECS=3
> > -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -DONE_SHOT -DPASS160 
> > -DREISERFS
> > -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERSION -DUNIFY 
> > -DVIRTUAL; fi
> > ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo
> > -DHAS_BOOT_H` `cat mylilo.h` boot.c
> > In file included from /usr/include/linux/genhd.h:12,
> >                  from common.h:20,
> >                  from lilo.c:25:
> > /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or
> > directory
> > In file included from /usr/include/linux/fs.h:9,
> >                  from geometry.c:26:
> > /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or
> > directory
> > In file included from /usr/include/linux/genhd.h:12,
> >                  from common.h:20,
> >                  from map.c:22:
> > /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or
> > directory
> > In file included from /usr/include/linux/genhd.h:12,
> >                  from common.h:20,
> >                  from boot.c:24:
> > /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or
> > directory
> > make: *** [boot.o] Error 1
> > make: *** Waiting for unfinished jobs....
> > make: *** [map.o] Error 1
> > make: *** [geometry.o] Error 1
> >  ! Problem Detected !
> > Creating /var/log/lunar/compile/lilo-22.4.1.bz2
> > root at server / #
> > 
> > _______________________________________________
> > Lunar mailing list
> > Lunar at lunar-linux.org
> > http://lunar-linux.org/mailman/listinfo/lunar
> > 
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar
> 


More information about the Lunar mailing list