Pure LFS (lilo-22.2 compile failure)

Jules Bjørn Colding JuBColding at yorkref.com
Wed Feb 12 04:15:28 PST 2003


Hi,

I have followed the hint and did indeed end up with a pure toolchain
that I used to compile ch 5. The problem is that I am now getting
compile errors from lilo in ch 6.

I am using:
* GCC 3.2.1 (with ch 5 nofixincludes patch adjusted to gcc-3.2.1)
* Glibc 2.2.5 (with the ch 6 glibc-2.2.5-2.patch)
* Binutils 2.13.2 (with lib-path patch)

This is the error that I am getting (I am getting the same error with
lilo 22.4.1 but no error with non-pure lfs):

root:/usr/src/lilo-22.2$ make
cc -E `( if [ -r $ROOT/etc/lilo.defines ]; then cat
$ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DIGNORECASE -DLBA32
-DLVM -DM386 -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE
-DSOLO_CHAIN -DVARSETUP -DVERSION; fi ) | sed 's/-D/-DLCF_/g'` `[ -r
/usr/include/asm/boot.h ] && echo -DHAS_BOOT_H` -DCODE_START_1=136
-DCODE_START_2=14 -DBITMAP second.S -o temp2.s
cc -E -C -traditional -DLILO_ASM -o common.s common.h
as86 -0 -a -w -l temp2.lis -o temp2.o temp2.s
00029                       00000000            INITSEG = DEF_INITSEG !
we move boot here - out of the way
***** unbound label.......................................^
00030                       00000000            SETUPSEG = DEF_SETUPSEG
! setup starts here
***** unbound label........................................^
00031                       00000000            SYSSEG = DEF_SYSSEG !
system loaded at 0x10000 (65536).
***** unbound label......................................^
00318 00D5           B9                   0000          mov cx,#INITSEG
***** unbound label.............................................^
01303 0707           68                   0000          push #SYSSEG !
load a file at SYSSEG:0000
***** unbound label...........................................^
01510 081A           BB                   0000          mov bx,#SYSSEG !
adjust ES:BX
***** unbound label.............................................^
03453 121D           68                   0000          push #SYSSEG
***** unbound label...........................................^
05113 1CB2                      0000            initseg: .word INITSEG
***** unbound label............................................^
05114 1CB4                      0000            setupseg: .word SETUPSEG
***** unbound label.............................................^

00009 errors
00000 warnings
make: *** [temp2.o] Error 1

-- 
  jules

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



More information about the lfs-dev mailing list