- 669 名前:662 mailto:sage [2009/07/16(木) 21:08:53 ID:4s7I2xKt]
- >>666
うちはこうだな。HDUS 用パッチが当たってるからだが。 $ head -20 Download/test/recfriior4/recfriior4/usbops.hpp // $Id$ // USB操作 #ifndef _USB_OPS_HPP_ #define _USB_OPS_HPP_ #include <linux/version.h> #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 4, 20) #include <usb.h> #include <linux/usb.h> #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21) #include <linux/usb_ch9.h> #else #include <linux/usb/ch9.h> #endif #include <linux/usbdevice_fs.h> #include "error.hpp" /** * usb_device_descriptorを取得する。 結局そのカーネルだとlinux/usb/ch9.h がinclude されてるのは一緒だな。 up0127 とup0257 のパッチを当ててコンパイルしてみたら? >>667 で解決済みなら、まあそれでいいけど、疑問があるなら#include <linux/usb/ch9.h> を 有効にしたときに出るエラーメッセージをそのまま貼ってくれ。
|

|