uclinux加载usb编译错误求解
在redhat linux 9.0下编译环境skyeye
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 ;
/* for PM state save */
atomic_t resume_count;
/* multiple resumes issue */
#endif
回去找CONFIG_PCI编译选项却没有
请问高手,我在编译过程中出了什么错?
编译内核加载USB时候编译选项应该怎么选择?
谢了先!! skyeye没有模拟usb硬件,所以uclinux配置时,可把usb相关的支持选项去掉。 谢谢版主
页:
[1]