On 1/10/2001 7:21 PM Robert Stanford ro...@ro... wrote:
>> I'd be curious if you could download Etherboot from
>> etherboot.sourceforge.net and do:
>>
>> $ tar -zxvf etherboot-4.6.12.tar.gz .
>> $ cd etherboot-4.6.12/src
>> $ make bin32/rtl8139.lzfd0
>>
>> (you'll need to have blank formatted floppy in the drive to do the last
>> command)
>>
>Well I downloaded it to my RH7 machine and the same thing happened, but when
>I telneted into the server which is RH6.2, and compiled the realtek rom from
>etherboot and ftp'd it here to my office it worked perfectly, problem solved.
>
>Looks like RH7 has a problem with compiling it.
>
>This isn't the first time I've had trouble compiling things on RH7, I can't
>even compile a custom kernel without getting errors, and have to get all
>software in rpm format. I installed the updates but it's only gotten a bit
>better.
>
>It's gotten so bad that hopefully the debian cd's I ordered will arrive
>tomorrow.
Rob, Thanks a lot for your debugging help with this. It appears the C
compiler in RH7 breaks compilation of Etherboot. I think it is really
that there is a new version of the GNU Assembler (2.10.90).
Here's what I just discovered when compiling a rom by hand:
gcc -DMOTD -DIMAGE_MENU -DBACKOFF_LIMIT=7 -DASK_BOOT=3
-DANS_DEFAULT=ANS_NETWORK -O2 -g -fstrength-reduce -fomit-frame-pointer
-m386 -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W
-Wno-format -Wno-unused -DVERSION_MAJOR=4 -DVERSION_MINOR=7
-DVERSION=\"4.7.16\" -DRELOC=0x98000 -o bin32/pci.o -c pci.c
/tmp/ccPmCLtp.s: Assembler messages:
/tmp/ccPmCLtp.s:105: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:214: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:286: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:359: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:441: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:512: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:583: Warning: indirect lcall without `*'
/tmp/ccPmCLtp.s:654: Warning: indirect lcall without `*'
gcc -E -DMOTD -DIMAGE_MENU -DBACKOFF_LIMIT=7 -DASK_BOOT=3
-DANS_DEFAULT=ANS_NETWORK -O2 -g -fstrength-reduce -fomit-frame-pointer
-m386 -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W
-Wno-format -Wno-unused -DVERSION_MAJOR=4 -DVERSION_MINOR=7
-DVERSION=\"4.7.16\" -DRELOC=0x98000 start32.S | as -o bin32/start32.o
{standard input}: Assembler messages:
{standard input}:278: Warning: indirect ljmp without `*'
Well doesn't this just suck. I begin to see why people were upset with
Red Hat's decision to include a questionnable C compiler in RH7. I hope
this is not too hard to fix. It looks like another assembler syntax
problem. Can anyone suggest how to fix it? I am looking at either
fixing this bug in RH7 or having to reinstall RH6.2 on the rom-o-matic.
The warning in Start32.S is particularly interesting.
Oh yes, before you ask, here's the output of "as --version"
[mdc@rom src]$ as --version
GNU assembler 2.10.90
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-redhat-linux'.
If this can't be resolved quickly the only responsible thing to do is to
disable the rom-o-matic until I can re-install another version of Linux.
I hope this can be made to work in RH7, however since a lot of Etherboot
users will be using that version.
News as it happens.
Marty
---
Try: http://rom-o-matic.net/ to make Etherboot images instantly.
Name: Martin D. Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827; Cambridge, MA 02139; USA
Voice: (617) 491-6935, Fax: (617) 491-7046
Email: md...@th...
Web: http://www.thinguin.org/
|