Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] kfir does not finish to initialize



Hi there !

I already made my kfir board run but I had to install it in an other PC.
And since I installed it back to the first PC, I can not load the kfir
module.
So I make all from the beginning and here is what I get after compiling
the module again :

make: /scripts/pathdown.sh : Commande introuvable
make
make[1]: /scripts/pathdown.sh : Commande introuvable
make[1]: Entering directory `/home/michel/kfir/driver'
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[2]: Entering directory `/usr/src/linux-2.4.20'
make -C  /home/michel/kfir/driver CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/michel/kfir/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h -D__KFIR_PACK__
-nostdinc -iwithprefix include -DKBUILD_BASENAME=i2c_core  -c -o
i2c-core.o i2c-core.c
In file included from i2c-core.c:28:
/usr/src/linux-2.4.20/include/linux/malloc.h:4: warning: #warning
linux/malloc.h is deprecated, use linux/slab.h instead.
i2c-core.c:1170: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1170: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1170: warning: data definition has no type or storage class
i2c-core.c:1171: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1171: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1171: warning: data definition has no type or storage class
i2c-core.c:1172: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1172: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1172: warning: data definition has no type or storage class
i2c-core.c:1173: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1173: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1173: warning: data definition has no type or storage class
i2c-core.c:1174: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1174: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1174: warning: data definition has no type or storage class
i2c-core.c:1175: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1175: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1175: warning: data definition has no type or storage class
i2c-core.c:1176: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1176: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1176: warning: data definition has no type or storage class
i2c-core.c:1177: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1177: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1177: warning: data definition has no type or storage class
i2c-core.c:1178: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1178: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1178: warning: data definition has no type or storage class
i2c-core.c:1181: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1181: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1181: warning: data definition has no type or storage class
i2c-core.c:1182: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1182: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1182: warning: data definition has no type or storage class
i2c-core.c:1183: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1183: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1183: warning: data definition has no type or storage class
i2c-core.c:1184: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1184: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1184: warning: data definition has no type or storage class
i2c-core.c:1185: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1185: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1185: warning: data definition has no type or storage class
i2c-core.c:1186: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1186: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1186: warning: data definition has no type or storage class
i2c-core.c:1188: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1188: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1188: warning: data definition has no type or storage class
i2c-core.c:1189: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1189: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1189: warning: data definition has no type or storage class
i2c-core.c:1190: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1190: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1190: warning: data definition has no type or storage class
i2c-core.c:1191: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1191: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1191: warning: data definition has no type or storage class
i2c-core.c:1192: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1192: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1192: warning: data definition has no type or storage class
i2c-core.c:1193: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1193: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1193: warning: data definition has no type or storage class
i2c-core.c:1194: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1194: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1194: warning: data definition has no type or storage class
i2c-core.c:1195: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1195: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1195: warning: data definition has no type or storage class
i2c-core.c:1196: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1196: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1196: warning: data definition has no type or storage class
i2c-core.c:1197: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1197: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1197: warning: data definition has no type or storage class
i2c-core.c:1198: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1198: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1198: warning: data definition has no type or storage class
i2c-core.c:1200: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1200: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1200: warning: data definition has no type or storage class
i2c-core.c:1201: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1201: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
i2c-core.c:1201: warning: data definition has no type or storage class
make[3]: *** [i2c-core.o] Erreur 1
make[3]: Leaving directory `/home/michel/kfir/driver'
make[2]: *** [_mod_/home/michel/kfir/driver] Erreur 2
make[2]: Leaving directory `/usr/src/linux-2.4.20'
make[1]: *** [here] Erreur 2
make[1]: Leaving directory `/home/michel/kfir/driver'
make: *** [insmod] Erreur 2
ulpmmlnx0:/home/michel/kfir/driver# vi Makefile
ulpmmlnx0:/home/michel/kfir/driver# make
make: /scripts/pathdown.sh : Commande introuvable
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.20'
make -C  /home/michel/kfir/driver CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/michel/kfir/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h -D__KFIR_PACK__
-nostdinc -iwithprefix include -DKBUILD_BASENAME=kfir  -c -o kfir.o kfir.c
kfir.c: In function `AlteraLoadMicro':
kfir.c:1646: warning: unused variable `Data'
kfir.c: At top level:
kfir.c:2749: warning: initialization from incompatible pointer type
kfir.c:2750: warning: initialization from incompatible pointer type
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h -D__KFIR_PACK__
-nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7113  -c -o
saa7113.o saa7113.c
In file included from saa7113.c:33:
/usr/src/linux-2.4.20/include/linux/malloc.h:4: warning: #warning
linux/malloc.h is deprecated, use linux/slab.h instead.
make[2]: Leaving directory `/home/michel/kfir/driver'
make[1]: Leaving directory `/usr/src/linux-2.4.20'


When I run the command 'make insmod', there is a segmentation fault :

insmod kfir.o debug=1;
Warning: loading kfir.o will taint the kernel: no license
make: *** [insmod] Erreur de segmentation




And when I load the module I get, here is what I can see with the
command 'lsmod' :

Module                  Size  Used by    Tainted: P
kfir                  200352   1  (initializing)
saa7113                 2496   0  (unused)
i2c-algo-bit            7084   0  [kfir]
i2c-core               12992   0  [kfir saa7113 i2c-algo-bit]
videodev                5696   0  [kfir]


Thank you for all !





Home | Main Index | Thread Index