Messages in this thread | | | Date | Mon, 21 May 2001 17:18:55 +0200 | From | Jan-Benedict Glaw <> | Subject | Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c |
| |
Hi!
Kernel 2.4.5-pre[34] don't compile on Alpha:
In incluse/asm-alpha/pci.h (include during compile of arch/alpha/kernel/setup.c), there is
150 static __inline__ int pci_controller_num(struct pci_dev *pdev) 151 { 152 struct pci_controller *hose = pdev->sysdata; 153 154 if (hose != NULL) 155 return hose->index; 156 157 return -ENXIO; 158 }
which breaks on line 152: In file included from arch/alpha/kernel/setup.c:52: /usr/src/packages/linux-2.4.5-pre4/include/asm/pci.h: In function `pci_controller_num': /usr/src/packages/linux-2.4.5-pre4/include/asm/pci.h:152: dereferencing pointer to incomplete type make: *** [arch/alpha/kernel/setup.o] Error 1
MfG, JBG
-- Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!! /* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-172-7608481 */ keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB "insmod vi.o and there we go..." (Alexander Viro on linux-kernel) - 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/
| |