lilo make problems - 86 package

Simon Perreault nomis80 at videotron.ca
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 gte.net> wrote in message
news:20000621172005.A25774 at cherrycoke.gte.net...
> 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
echo -DIGNORECASE -DVARSETUP -DREWRITE_TABLE -DLARGE_EBDA -DONE_SHOT; fi ) |
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: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org 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