Messages in this thread | | | Date | Sat, 05 Apr 2003 13:52:40 +1000 | From | Eyal Lebedinsky <> | Subject | Re: Linux 2.4.21-pre7 - hpt366.c does not build |
| |
Marcelo Tosatti wrote: > > So here goes -pre7. Hopefully the last -pre. > > Please try it.
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall -Wstrict-pro totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -I../ -nost dinc -iwithprefix include -DKBUILD_BASENAME=hpt366 -c -o hpt366.o hpt366.c In file included from hpt366.c:70: hpt366.h:517: `PCI_DEVICE_ID_TTI_HPT372N' undeclared here (not in a function) hpt366.h:517: initializer element is not constant hpt366.h:517: (near initialization for `hpt366_chipsets[5].device') hpt366.c: In function `hpt_revision': hpt366.c:183: `PCI_DEVICE_ID_TTI_HPT372N' undeclared (first use in this function ) hpt366.c:183: (Each undeclared identifier is reported only once hpt366.c:183: for each function it appears in.) hpt366.c:184: warning: unreachable code at beginning of switch statement hpt366.c: In function `init_setup_hpt366': hpt366.c:1227: `PCI_DEVICE_ID_TTI_HPT372N' undeclared (first use in this functio n) hpt366.c: At top level: hpt366.c:1289: `PCI_DEVICE_ID_TTI_HPT372N' undeclared here (not in a function) hpt366.c:1289: initializer element is not constant hpt366.c:1289: (near initialization for `hpt366_pci_tbl[5].device') make[4]: *** [hpt366.o] Error 1 make[4]: Leaving directory `/data2/usr/local/src/linux-2.4-pre/drivers/ide/pci'
-- Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |