Hallo,

at first much thanks for your tip so far.

If i do like you told me, all the errors in in the i2c-core file are gone! ;-)

But know, i have a problem with compiling the kfir.c . :-( Below is the output of my error when i do the "make" with your changes.

Did you have had the same problem or somebody else or does somebody know that "the field "busy" in initializer" mean??

Much thanks

Andreas


make: /scripts/pathdown.sh: Command not found
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.19'
make -C /home/kfirnew/kfir/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19/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.19/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/kfirnew/kfir/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/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.19/include/linux/modversions.h -D__KFIR_PACK__ -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=kfir -c -o kfir.o kfir.c
kfir.c:2550: unknown field `busy' specified in initializer
make[2]: *** [kfir.o] Error 1
make[2]: Leaving directory `/home/kfirnew/kfir/driver'
make[1]: *** [_mod_/home/kfirnew/kfir/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19'
make: *** [here] Error 2








M.Holzbrecher wrote:

Hi,

I compiled the kfir module two weeks ago using SUSE 7.3 Kernel 2.4.10 and had problems with i2c-core i2c-algo-bit and videodev to compile.
All you need to compile is saa7113.c and kfir.c. All the others you can use from the Kernel modules.

I have changed the Makefile:

CURRENT=$(shell uname -r)
KERNEL_LOCATION=/usr/src/linux

M_OBJS = kfir.o saa7113.o
*MX_OBJS =
# i2c-core.o i2c-algo-bit.o videodev.o*
obj-m = $(MX_OBJS) $(M_OBJS)
EXTRA_CFLAGS = -D__KFIR_PACK__

Maybe this helps in your case also. :-)

Michael Holzbrecher

-Germany-

Andreas Krings wrote:

Hi people,

i bought the MPEG2 Board from BMK last week and have the problem compiling the driver from cvs! in the mailinglist-archive are many postings about Problems with Kernel < 2.4.7 but i could not find a solution there that worked for me! ;-(
I am using kernel 2.4.19 with Debian Woody (i compiled a new kernel
for the kfir driver!).
So my question is how has anybody got compiled the kfir driver with 2.4.19??
The output of my "make" in the driver directory is printed below. For
compiling i use the newest kfir from cvs. I tried it with the i2c-core
from my kernel and from the kfir-driver.


Much thanks for your time and help. ;-)

Andreas Krings

-Germany-

PS: Sorry for my english! ;-)





make: /scripts/pathdown.sh: Command not found
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.19'
make -C /home/kfir/driver CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.19/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.19/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/kfir/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/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.19/include/linux/modversions.h -D__KFIR_PACK__
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=i2c_core -c -o /usr/src/linux/drivers/i2c/i2c-core.o
/usr/src/linux/drivers/i2c/i2c-core.c
/usr/src/linux/drivers/i2c/i2c-core.c:1372: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1372: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1372: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1373: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1373: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1373: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1374: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1374: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1374: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1375: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1375: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1375: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1376: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1376: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1376: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1377: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1377: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1377: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1378: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1378: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1378: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1379: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1379: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1379: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1380: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1380: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1380: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1381: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1381: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1381: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1382: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1382: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1382: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1383: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1383: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1383: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1386: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1386: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1386: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1387: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1387: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1387: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1388: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1388: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1388: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1389: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1389: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1389: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1390: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1390: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1390: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1391: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1391: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1391: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1393: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1393: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1393: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1394: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1394: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1394: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1395: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1395: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1395: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1396: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1396: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1396: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1397: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1397: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1397: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1398: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1398: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1398: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1399: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1399: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1399: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1400: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1400: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1400: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1401: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1401: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1401: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1402: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1402: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1402: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1403: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1403: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1403: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1405: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1405: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1405: warning: data definition has
no type or storage class
/usr/src/linux/drivers/i2c/i2c-core.c:1406: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1406: warning: type defaults to
`int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
/usr/src/linux/drivers/i2c/i2c-core.c:1406: warning: data definition has
no type or storage class
make[2]: *** [/usr/src/linux/drivers/i2c/i2c-core.o] Error 1
make[2]: Leaving directory `/home/kfir/driver'
make[1]: *** [_mod_/home/kfir/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19'
make: *** [here] Error 2













Reply via email to