On Mon, 17 Aug 2009, bburtan65 wrote:
> --- In Jim Jackson <> wrote:
>> It is likely that the driver references usb-serial.h from the kernel source
>> tree. You'll need the kernel source tree for the version of the kernel that
>> the driver module will be run with.
>>
> Okay, but I know that the USBSerial.o driver exists for the 2.4 kernel
> and lives in the /lib tree and it works fine. So if I copy the
> usb-serial.h will dependencies be resolved when the driver is loaded?
[don't top post please]
I do not think you understand.
A .h file is traditionally just C code (usually not code that generates
real data or executable code) that is included by other C code usiing the C
preprocessor "#include ..." directive.
The source code of the driver you are trying to compile will be including
this file. This file is in the kernel source tree.
All this is general coding stuff. I'm sure there are tutorials and web
sites out there can can help - google is your friend.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|