Linuxでfriioat LINUX
Linuxでfriio - 暇つぶし2ch669:662
09/07/16 21:08:53 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> を
有効にしたときに出るエラーメッセージをそのまま貼ってくれ。


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch