fs...@16... writes:
> > "fsswyjz" <fs...@16...> writes:
> >
> > > In "http://rom-o-matic.net/5.0.6/",I use "LinuxBIOS ROM Image" type,Whene I
>
> > > press "Get Rom" button,it post error such like this:
> > >
> > > -----------------------------------------------------
> > > Build failed. Status = 2.
> > >
> > > Following is the output from make:
> > >
> > >
> > > make: Entering directory `/tmp/ROMo6UhPR'
> > > make: *** No rule to make target `bin32/3c509.ebi'. Stop.
> > > make: Leaving directory `/tmp/ROMo6UhPR'
> > > Please let us know that this happened.
> > > ------------------------------------------------------
> >
> > Currently the ISA NICS are not supportted. And the 3c509 is an ISA
> > NIC. Please feel free to fix that. It was an oversight when
> > etherboot was initially modified to build LinuxBIOS images.
> >
> > Other 3COM nics should work like the 3c590
> >
> > Eric
> >
> But I use 3c590,It still post error such like below:why?
Because you are trying to build code that uses 16bit BIOS calls.
LinuxBIOS doesn't do 16bit BIOS calls, so that code is incompatible,
you need a different set of options to make it work.
Failure at build time is preferable to failure at runtime.
Eric
> --------------------------------------------------------
> Build failed. Status = 2.
>
> Following is the output from make:
>
>
> make: Entering directory `/tmp/ROMfZokeN'
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -DINCLUDE_3C595 -o bin32/3c595.o -c 3c595.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -DINCLUDE_3C595 -o bin32/config-3c595.o -c config.c
>
> config.c: In function `eth_probe':
> config.c:495: warning: passing arg 2 from incompatible pointer type
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/pci.o -c pci.c
>
> /tmp/ccQSUu0z.s: Assembler messages:
> /tmp/ccQSUu0z.s:43: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:105: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:144: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:183: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:223: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:262: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:301: Warning: indirect lcall without `*'
> /tmp/ccQSUu0z.s:347: Warning: indirect lcall without `*'
> gcc -E -Wp,-Wall -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU
> -DCONGESTED -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 start32.S | as -o bin32/start32.o
>
> {standard input}: Assembler messages:
> {standard input}:141: Warning: indirect ljmp without `*'
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/linuxbios.o -c linuxbios.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/main.o -c main.c
>
> main.c: In function `tftp':
> main.c:624: warning: `oport' might be used uninitialized in this function
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/osloader.o -c osloader.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/nfs.o -c nfs.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/misc.o -c misc.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/ansiesc.o -c ansiesc.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/bootmenu.o -c bootmenu.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/md5.o -c md5.c
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/floppy.o -c floppy.c
>
> gcc -E -Wp,-Wall -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU
> -DCONGESTED -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 serial.S | as -o bin32/serial.o
>
> kgcc -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK -DMOTD -DIMAGE_MENU -DCONGESTED
> -DBACKOFF_LIMIT=7 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE
> -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPCBIOS
> -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
> -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wall -W -Wno-format
> -Wno-unused -DVERSION_MAJOR=5 -DVERSION_MINOR=0 -DVERSION=\"5.0.6\"
> -DRELOC=0x94000 -o bin32/timer.o -c timer.c
>
> ar rv bin32/bootlib.a bin32/main.o bin32/osloader.o bin32/nfs.o bin32/misc.o
> bin32/ansiesc.o bin32/bootmenu.o bin32/md5.o bin32/floppy.o bin32/serial.o
> bin32/timer.o
>
> a - bin32/main.o
> a - bin32/osloader.o
> a - bin32/nfs.o
> a - bin32/misc.o
> a - bin32/ansiesc.o
> a - bin32/bootmenu.o
> a - bin32/md5.o
> a - bin32/floppy.o
> a - bin32/serial.o
> a - bin32/timer.o
> ranlib bin32/bootlib.a
> ld -N -Ttext 0x94000 -e _start -o bin32/3c595.elf bin32/start32.o
> bin32/linuxbios.o bin32/config-3c595.o bin32/3c595.o bin32/pci.o bin32/bootlib.a
>
> bin32/bootlib.a(main.o): In function `main':
> main.o(.text+0x7b): undefined reference to `currticks'
> main.o(.text+0x89): undefined reference to `currticks'
> bin32/bootlib.a(main.o): In function `bootp':
> main.o(.text+0x8b6): undefined reference to `currticks'
> main.o(.text+0xa2a): undefined reference to `currticks'
> bin32/bootlib.a(main.o): In function `await_reply':
> main.o(.text+0xab8): undefined reference to `currticks'
> bin32/bootlib.a(main.o)(.text+0xe1c): more undefined references to `currticks'
> follow
>
> bin32/bootlib.a(misc.o): In function `gateA20_set':
> misc.o(.text+0x46e): undefined reference to `int15'
> bin32/bootlib.a(misc.o): In function `gateA20_unset':
> misc.o(.text+0x4a6): undefined reference to `int15'
> bin32/bootlib.a(misc.o): In function `putchar':
> misc.o(.text+0x4ee): undefined reference to `console_putc'
> bin32/bootlib.a(misc.o): In function `getchar':
> misc.o(.text+0x4ff): undefined reference to `console_ischar'
> misc.o(.text+0x508): undefined reference to `console_getc'
> bin32/bootlib.a(misc.o): In function `iskey':
> misc.o(.text+0x525): undefined reference to `console_ischar'
> bin32/bootlib.a(bootmenu.o): In function `selectImage':
> bootmenu.o(.text+0x264): undefined reference to `currticks'
> bootmenu.o(.text+0x2bf): undefined reference to `currticks'
> make: *** [bin32/3c595.elf] Error 1
> make: Leaving directory `/tmp/ROMfZokeN'
> Please let us know that this happened.
> --------------------------------------------------
|