这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界» 论坛首页» 嵌入式开发» MCU» uclinux加载usb编译错误求解

共1条 1/1 1 跳转至

uclinux加载usb编译错误求解

菜鸟
2004-10-26 19:07:26 打赏

在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]



关键词: uclinux 加载 编译 错误 求解

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]