Anybody want to take a crack at this? It seems that the FreeBSD PXE=20
emulation support doesn't compile properly in 5.1.3. He seems to be=20
doing a standard build except for the option "-DFREEBSD_PXEEMU". Are=20
there any FreeBSD hackers around?
Thanks,
Marty
Begin forwarded message:
> From: Martin Jackson <Mar...@sm...>
> Date: Mon Dec 30, 2002 3:26:49 AM US/Eastern
> To: "'web...@en...'" <web...@en...>
> Subject: Emailing:=20
> build.phpversion=3D5.1.3&F=3Dignore&nic=3Drtl8029+-+ns8390+%5=20
> B0x10ec%2C0x8029%5D&ofmt=3DFloppy+Bootable+ROM+Image+%28.htm
>
> Hi there, I was trying to get a rtl8029 with PXE Emulation enabled.
> Cheers
> =A0
> Martub
> rtl8029.lzdsk Build Failed
> Build failed. Status =3D 2.
>
> Following is the output from make:
>
> make: Entering directory `/tmp/ROMa14tx8'
> Makefile:252: Roms: No such file or directory
> ./genrules.pl NIC > Roms
> make: Leaving directory `/tmp/ROMa14tx8'
> make: Entering directory `/tmp/ROMa14tx8'
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 =20
> -DINCLUDE_NS8390 -o bin32/ns8390.o -c ns8390.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> ns8390.c: In function `nepci_probe':
> ns8390.c:573: warning: unused variable `brd'
> ns8390.c:574: warning: unused variable `chksum'
> pci.h: At top level:
> ns8390.c:38: warning: `eth_laar' defined but not used
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o=20
> bin32/config.o -c config.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> config.c: In function `probe':
> config.c:170: warning: comparison between signed and unsigned
> config.c:171: warning: assignment discards qualifiers from pointer=20
> target type
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o =
bin32/pci.o=20
> -c pci.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o =
bin32/main.o=20
> -c main.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> main.c: In function `main':
> main.c:143: warning: `type' might be used uninitialized in this=20
> function
> main.c:143: warning: variable `type' might be clobbered by `longjmp'=20=
> or `vfork'
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o=20
> bin32/osloader.o -c osloader.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> osloader.c: In function `tagged_download':
> osloader.c:564: warning: passing arg 3 of `xstart16' makes pointer=20
> from integer without a cast
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o =
bin32/nfs.o=20
> -c nfs.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> gcc -DASK_BOOT=3D3 -DCONGESTED -DBACKOFF_LIMIT=3D7 =
-DTRY_FLOPPY_FIRST=3D0=20
> -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=3D0x3F8=20=
> -DCONSPEED=3D9600 -DCOMPARM=3D0x03 -DPCBIOS -DBOOT_FIRST=3DBOOT_NIC=20
> -DBOOT_SECOND=3DBOOT_NOTHING -DBOOT_THIRD=3DBOOT_NOTHING =
-DFREEBSD_PXEEMU=20
> -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -fstrength-reduce=20
> -fomit-frame-pointer -mcpu=3Di386 -malign-jumps=3D1 -malign-loops=3D1=20=
> -malign-functions=3D1 -Wall -W -Wno-format -DVERSION_MAJOR=3D5=20
> -DVERSION_MINOR=3D1 -DVERSION=3D\"5.1.3\" -DRELOC=3D0x20000 -o =
bin32/pxe.o=20
> -c pxe.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> pxe.c:15: parse error before "vm_offset_t"
> pxe.c:15: warning: `struct v86' declared inside parameter list
> pxe.c:15: warning: its scope is only this definition or declaration,=20=
> which is probably not what you want
> pxe.c:17: parse error before "pxenv"
> pxe.c:17: warning: type defaults to `int' in declaration of `pxenv'
> pxe.c:18: warning: braces around scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:18: warning: excess elements in scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:18: warning: excess elements in scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:18: warning: excess elements in scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:18: warning: excess elements in scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:18: warning: excess elements in scalar initializer
> pxe.c:18: warning: (near initialization for `pxenv')
> pxe.c:19: warning: excess elements in scalar initializer
> pxe.c:19: warning: (near initialization for `pxenv')
> pxe.c:20: `pxenv_t' undeclared here (not in a function)
> pxe.c:20: warning: excess elements in scalar initializer
> pxe.c:20: warning: (near initialization for `pxenv')
> pxe.c:21: warning: excess elements in scalar initializer
> pxe.c:21: warning: (near initialization for `pxenv')
> pxe.c:22: warning: braces around scalar initializer
> pxe.c:22: warning: (near initialization for `pxenv')
> pxe.c:22: warning: excess elements in scalar initializer
> pxe.c:22: warning: (near initialization for `pxenv')
> pxe.c:22: warning: excess elements in scalar initializer
> pxe.c:22: warning: (near initialization for `pxenv')
> pxe.c:23: warning: excess elements in scalar initializer
> pxe.c:23: warning: (near initialization for `pxenv')
> pxe.c:24: warning: excess elements in scalar initializer
> pxe.c:24: warning: (near initialization for `pxenv')
> pxe.c:25: warning: excess elements in scalar initializer
> pxe.c:25: warning: (near initialization for `pxenv')
> pxe.c:26: warning: excess elements in scalar initializer
> pxe.c:26: warning: (near initialization for `pxenv')
> pxe.c:27: warning: excess elements in scalar initializer
> pxe.c:27: warning: (near initialization for `pxenv')
> pxe.c:28: warning: excess elements in scalar initializer
> pxe.c:28: warning: (near initialization for `pxenv')
> pxe.c:29: warning: excess elements in scalar initializer
> pxe.c:29: warning: (near initialization for `pxenv')
> pxe.c:30: warning: excess elements in scalar initializer
> pxe.c:30: warning: (near initialization for `pxenv')
> pxe.c:31: warning: excess elements in scalar initializer
> pxe.c:31: warning: (near initialization for `pxenv')
> pxe.c:32: warning: excess elements in scalar initializer
> pxe.c:32: warning: (near initialization for `pxenv')
> pxe.c:33: warning: excess elements in scalar initializer
> pxe.c:33: warning: (near initialization for `pxenv')
> pxe.c:34: warning: excess elements in scalar initializer
> pxe.c:34: warning: (near initialization for `pxenv')
> pxe.c:35: warning: braces around scalar initializer
> pxe.c:35: warning: (near initialization for `pxenv')
> pxe.c:35: warning: excess elements in scalar initializer
> pxe.c:35: warning: (near initialization for `pxenv')
> pxe.c:35: warning: excess elements in scalar initializer
> pxe.c:35: warning: (near initialization for `pxenv')
> pxe.c:36: warning: data definition has no type or storage class
> pxe.c:60: parse error before "pxeemu_func_arg"
> pxe.c:60: warning: type defaults to `int' in declaration of=20
> `pxeemu_func_arg'
> pxe.c:60: warning: data definition has no type or storage class
> pxe.c: In function `pxe_probe':
> pxe.c:72: warning: return from incompatible pointer type
> pxe.c:68: warning: unused parameter `len'
> pxe.c: In function `pxe_download':
> pxe.c:86: request for member `Length' in something not a structure or=20=
> union
> pxe.c:89: request for member `Checksum' in something not a structure=20=
> or union
> pxe.c:103: `vm_offset_t' undeclared (first use in this function)
> pxe.c:103: (Each undeclared identifier is reported only once
> pxe.c:103: for each function it appears in.)
> pxe.c: In function `await_udp_pxe':
> pxe.c:111: `t_PXEENV_UDP_READ' undeclared (first use in this function)
> pxe.c:111: `s' undeclared (first use in this function)
> pxe.c:108: warning: unused parameter `ival'
> pxe.c:109: warning: unused parameter `ptype'
> pxe.c: At top level:
> pxe.c:122: parse error before "vm_offset_t"
> pxe.c: In function `pxeemu_entry':
> pxe.c:124: `x_v86_p' undeclared (first use in this function)
> pxe.c:125: `x_pxeemu_v86_flag' undeclared (first use in this function)
> pxe.c:126: `x_pxeemu_func_nr' undeclared (first use in this function)
> pxe.c:127: `x_pxeemu_func_arg' undeclared (first use in this function)
> pxe.c:145: `PXENV_GET_CACHED_INFO' undeclared (first use in this=20
> function)
> pxe.c:147: `t_PXENV_GET_CACHED_INFO' undeclared (first use in this=20
> function)
> pxe.c:147: `s' undeclared (first use in this function)
> pxe.c:148: parse error before ')' token
> pxe.c:152: `PXENV_PACKET_TYPE_BINL_REPLY' undeclared (first use in=20
> this function)
> pxe.c:159: `vm_offset_t' undeclared (first use in this function)
> pxe.c:149: warning: unused variable `buf'
> pxe.c:166: `PXENV_UDP_OPEN' undeclared (first use in this function)
> pxe.c:168: `t_PXENV_UDP_OPEN' undeclared (first use in this function)
> pxe.c:168: parse error before ')' token
> pxe.c:174: `PXENV_UDP_WRITE' undeclared (first use in this function)
> pxe.c:176: `t_PXENV_UDP_WRITE' undeclared (first use in this function)
> pxe.c:176: parse error before ')' token
> pxe.c:200: `PXENV_UDP_READ' undeclared (first use in this function)
> pxe.c:202: `t_PXENV_UDP_READ' undeclared (first use in this function)
> pxe.c:202: parse error before ')' token
> pxe.c:226: `PXENV_UDP_CLOSE' undeclared (first use in this function)
> pxe.c:228: `t_PXENV_UDP_CLOSE' undeclared (first use in this function)
> pxe.c:228: parse error before ')' token
> pxe.c:233: `PXENV_UNLOAD_STACK' undeclared (first use in this =
function)
> pxe.c:235: `t_PXENV_UNLOAD_STACK' undeclared (first use in this=20
> function)
> pxe.c:235: parse error before ')' token
> pxe.c:240: `PXENV_UNDI_SHUTDOWN' undeclared (first use in this=20
> function)
> pxe.c:242: `t_PXENV_UNDI_SHUTDOWN' undeclared (first use in this=20
> function)
> pxe.c:242: parse error before ')' token
> pxe.c:243: warning: implicit declaration of function `eth_reset'
> pxe.c: In function `pxeemu_console_putc':
> pxe.c:262: dereferencing pointer to incomplete type
> pxe.c:263: dereferencing pointer to incomplete type
> pxe.c:264: dereferencing pointer to incomplete type
> pxe.c:265: dereferencing pointer to incomplete type
> make: *** [bin32/pxe.o] Error 1
> make: Leaving directory `/tmp/ROMa14tx8'
>
> Please let us know that this happened.
|