--- In "Yan Seiner" <> wrote:
> 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?
>
Hi Yan,
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?
Cheers
Phil
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/
|