--- In "Phil" <> wrote:
>
> Interestingly, I looked through the kernel sources that I build the
> driver against and there are no jiffies.h in there anyway, only the
> only in the includes from the cross toolchain, so I don't think just
> copying over that file is your problem. I noticed from some of
> the 'make' output that you posted that you are using a different
> version of gcc to me. I am using the cross compiler (gcc-3.3.4-glibc-
> 2.3.2) and the toolchain that came from the file called 'crosstool-
> linux-0.28rc39.tar.bz2'.
>
> Are you able to try using that cross toolchain with a clean,
> configured kernel source and see how you go?
>
All this points to a somewhat broken toolchain, but it's weird. This
same toolchain builds just about everything else just fine, and has
for the last year. <sigh>
Anyway, I was able to get the module to compile eventually by patching
the kernel and sticking it in the kernel tree. It just wouldn't build
outside of the tree.
It still spewed a bunch of warnings but /proc/driver/adc is there and
so are /dev/adc?...
Go figure. :-) Thanks for the code.
--Yan
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/
|