我是菜鸟,大家救救我,我按照楼主所述进行操作,最后在编译bootrom的时候出现错误,如下:
ccpentium -mcpu=pentium -march=pentium -ansi -O2 -fvolatile -nostdlib -fno-builtin -fno-d
efer-pop -Wall -I\h -I. -IF:\tornado\target\config\all -IF:\tornado\target\h -IF:\tornad
o\target\src\config -IF:\tornado\target\src\drv -DCPU=PENTIUM -DTOOL_FAMILY=gnu -DTOOL=gnu
-c sysLib.c
In file included from sysLib.c:948:
sysNet.c:88: `INTEL_PCI_VENDOR_ID' undeclared here (not in a function)
sysNet.c:88: initializer element is not constant
sysNet.c:88: (near initialization for `vendorIdEnet[0].vendorId')
sysNet.c:88: `sys557PciInit' undeclared here (not in a function)
sysNet.c:88: initializer element is not constant
sysNet.c:88: (near initialization for `vendorIdEnet[0].pPciInitRtn')
make.exe: *** [sysLib.o] Error 0x1
咋回事?