在redhat linux 9.0下 uclinux版本为20030909 当编译内核加载USB的时候出现一下错误: hcd.c: In function `hcd_submit_urb': hcd.c:1206: structure has no member named `pdev' hcd.c:1212: structure has no member named `pdev' hcd.c: In function `usb_hcd_giveback_urb': hcd.c:1484: structure has no member named `pdev' hcd.c:1488: structure has no member named `pdev' hcd.c: At top level: hcd.c:1425: warning: `hcd_operations' defined but not used hcd.c:1436: warning: `hcd_irq' defined but not used 在hcd.h头文件中有这样的宏定义 #ifdef CONFIG_PCI /* a few non-PCI controllers exist, mostly for OHCI */ struct pci_dev *pdev; /* pci is typical */ int region; /* pci region for regs */ u32 pci_state [16]; /* for PM state save */ atomic_t resume_count; /* multiple resumes issue */ #endif 回去找CONFIG_PCI编译选项却没有
如果去掉usb支持,能通过 请问高手,我在编译过程中出了什么错? 编译内核加载USB时候编译选项应该怎么选择? 谢了先!!
[align=right][color=#000066][此贴子已经被作者于2004-10-26 11:07:56编辑过][/color][/align]