I'm trying to rebuild dsplinkk.ko for the 2.6.31 kernel. The first problem
I ran into was
In file included from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/byteorder/little_endian.h:12,
from
/opt/mv_pro_5_0_08011921/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/asm/byteorder.h:54,
from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/kernel.h:20,
from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/cache.h:4,
from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/time.h:7,
from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/stat.h:60,
from
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/module.h:10,
from DM6446GEM/shmem/Linux/dm6446gem_phy_shmem.c:34:
/home/jcw/tigerlabs/dm6446_mv5/osgk/lm/include/linux/swab.h:6:22: error:
asm/swab.h: No such file or directory
when compiling /dm6446gem_phy_shmem.c. I symlinked swab.h and bitsperlong.h
to the versions in asm-generic as a test, and got past that error, only for
it to start whining about a refined type conflict in other files between the
includes in the kernel and the ones from
the /opt/mv_pro_5_0_08011921/montavista/pro/devkit/arm/v5t_le/target
directory
I'm pretty sure someone has built dsplink against the later git kernels
(instructions I found applied to much older kernels and versions of
dsplink).
I'm using MontaVista 5, dsplink-1_61_03 and the 2.6.31-rc7 kernel. I do see
there is a 1_63 dsplink kit out there, which I can install if necessary. I
was trying to avoid de-syncing too many versions at once.
Thanks,
--jc
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source