--- In "j.chitte" <> wrote:
>
> --- In "Yan Seiner" <yan@> wrote:
> >
> > Hi Phil:
> >
> > This discussion has prompted me to try and build your adc driver.
> >
> > I'm getting an error on build which I can't figure out... (Not
> > unusual for me this week; I seem to be in one of those 1970s
> biorythm
> > slumps where even the simplest things go wrong....)
> >
>
> I suggest you compile this native after booting the debian image via
> nfs. All I had to do was edit Makefile to set the CROSS* variables to
> point to gcc. It takes about half a minute and was painless to set up.
>
> ;)
>
OK, after much weeping and gnashing of teeth I sort-of figured it out.
There are apparently 2 versions of jiffies.h - one resides in
/usr/include/linux and the other should live in linux*/include/linux.
For whatever reason, the one in the kernel includes was missing on my
system.
So now I have it copied over from my toolchain and adc.o builds - but
it fails to load with:
adc.o: couldn't find the kernel version the module was compiled for
I get this if I build it with the native gcc or with my toolchain.
:adc-0.0.2# modinfo adc
filename: /lib/modules/2.4.26-ts11/kernel/adc.o
description: <none>
author: <none>
license: <none>
parm: adc_major int
parm: adc_debug int
Can someone shed some light on this?
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/
|