lilo make problems - 86 package

Simon Perreault nomis80 at
Wed Jun 21 19:44:38 PDT 2000

I too got a lot of errors while compiling the lilo code in assembly. I just
played with the as86 switches (removing/adding -0 -s -a -w, compiling it
without -l first.lis, etc) and suddenly it worked.

""Kurt V. Hindenburg"" <kurt.hindenburg at> wrote in message
news:20000621172005.A25774 at
> After install the bin86 package, I get errors when compiling
> lilo-21.4.3 (next package after bin86).
> cc -o lilo  lilo.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o
temp.o partition.o identify.o
> cc -E `( if [ -r $ROOT/etc/lilo.defines ]; then cat
$ROOT/etc/lilo.defines; else
sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo -DHAS_BOOT_H`
`./lilo -X` first.S -o first.s
> as86 -0 -a -w -o first.o -l first.lis first.s
> ld86 -0 -s -o first.img first.o
> ld86: first.o has bad magic number
> make: *** [first.img] Error 2
> sh-utils seems to compile OK though...
> Kurt

Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list