Mailing List archive

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

[linux-dvb] i cant compile the driver (LONG!)



hi,

please help. i can't compile the driver.
my sys:
PII CPU, debian 2.2.19 (kernel was compiled with loadable modules, and
without i2c)

sorry about this BIG mail.

thx.

Attila Soki

here is my err. messages:
alpha:~/DVB-0.9/driver# make
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/kernel-source-2.2.19'
make -C  /root/DVB-0.9/driver
CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-alias
ing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps
=2 -malign-functions=2 -DCPU=686 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/root/DVB-0.9/driver'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomi
t-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m
486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -
I ../ost/include -I . -D__DVB_PACK__ -g  -DEXPORT_SYMTAB -c saa7146_core.c
In file included from saa7146_core.c:35:
saa7146_core.h:8: warning: `DECLARE_MUTEX' redefined
/usr/src/linux/include/asm/semaphore.h:46: warning: this is the location of
the previous definition
saa7146_core.h:9: warning: `DECLARE_MUTEX_LOCKED' redefined
/usr/src/linux/include/asm/semaphore.h:47: warning: this is the location of
the previous definition
saa7146_core.h:11: warning: `init_waitqueue_head' redefined
/usr/src/linux/include/linux/wait.h:25: warning: this is the location of the
previous definition
In file included from saa7146_core.c:35:
saa7146_core.h:83: warning: `struct i2c_client' declared inside parameter
list
saa7146_core.h:83: warning: its scope is only this definition or
declaration, which is probably not what you want.
saa7146_core.h:84: warning: `struct i2c_client' declared inside parameter
list
In file included from saa7146_core.c:149:
saa7146.c:1459: warning: `struct i2c_msg' declared inside parameter list
saa7146.c: In function `clean_up':
saa7146.c:1468: arithmetic on pointer to an incomplete type
saa7146.c:1468: dereferencing pointer to incomplete type
saa7146.c:1470: arithmetic on pointer to an incomplete type
saa7146.c:1470: dereferencing pointer to incomplete type
saa7146.c: At top level:
saa7146.c:1478: warning: `struct i2c_msg' declared inside parameter list
saa7146.c: In function `prepare':
saa7146.c:1486: arithmetic on pointer to an incomplete type
saa7146.c:1486: dereferencing pointer to incomplete type
saa7146.c:1506: arithmetic on pointer to an incomplete type
saa7146.c:1506: dereferencing pointer to incomplete type
saa7146.c:1506: arithmetic on pointer to an incomplete type
saa7146.c:1506: dereferencing pointer to incomplete type
saa7146.c:1506: `I2C_M_RD' undeclared (first use in this function)
saa7146.c:1506: (Each undeclared identifier is reported only once
saa7146.c:1506: for each function it appears in.)
saa7146.c:1513: arithmetic on pointer to an incomplete type
saa7146.c:1513: dereferencing pointer to incomplete type
saa7146.c:1516: arithmetic on pointer to an incomplete type
saa7146.c:1516: dereferencing pointer to incomplete type
saa7146.c:1481: warning: `addr' might be used uninitialized in this function
saa7146_core.c: At top level:
saa7146_core.c:258: warning: `struct i2c_msg' declared inside parameter list
saa7146_core.c: In function `master_xfer':
saa7146_core.c:260: dereferencing pointer to incomplete type
saa7146_core.c:263: dereferencing pointer to incomplete type
saa7146_core.c:269: warning: passing arg 1 of `prepare' from incompatible
pointer type
saa7146_core.c:291: dereferencing pointer to incomplete type
saa7146_core.c:314: warning: passing arg 1 of `clean_up' from incompatible
pointer type
saa7146_core.c: At top level:
saa7146_core.c:337: variable `saa7146_algo' has initializer but incomplete
type
saa7146_core.c:338: warning: excess elements in struct initializer
saa7146_core.c:338: warning: (near initialization for `saa7146_algo')
saa7146_core.c:339: `I2C_ALGO_SAA7146' undeclared here (not in a function)
saa7146_core.c:339: warning: excess elements in struct initializer
saa7146_core.c:339: warning: (near initialization for `saa7146_algo')
saa7146_core.c:340: warning: excess elements in struct initializer
saa7146_core.c:340: warning: (near initialization for `saa7146_algo')
saa7146_core.c:341: warning: excess elements in struct initializer
saa7146_core.c:341: warning: (near initialization for `saa7146_algo')
saa7146_core.c:342: warning: excess elements in struct initializer
saa7146_core.c:342: warning: (near initialization for `saa7146_algo')
saa7146_core.c:343: warning: excess elements in struct initializer
saa7146_core.c:343: warning: (near initialization for `saa7146_algo')
saa7146_core.c:344: warning: excess elements in struct initializer
saa7146_core.c:344: warning: (near initialization for `saa7146_algo')
saa7146_core.c:345: warning: excess elements in struct initializer
saa7146_core.c:345: warning: (near initialization for `saa7146_algo')
saa7146_core.c: In function `i2c_saa7146_add_bus':
saa7146_core.c:353: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:361: sizeof applied to an incomplete type
saa7146_core.c:362: dereferencing pointer to incomplete type
saa7146_core.c:363: dereferencing pointer to incomplete type
saa7146_core.c:363: invalid use of undefined type `struct i2c_algorithm'
saa7146_core.c:364: dereferencing pointer to incomplete type
saa7146_core.c:365: dereferencing pointer to incomplete type
saa7146_core.c:366: dereferencing pointer to incomplete type
saa7146_core.c:367: dereferencing pointer to incomplete type
saa7146_core.c:369: warning: implicit declaration of function
`i2c_add_adapter'
saa7146_core.c: In function `i2c_saa7146_del_bus':
saa7146_core.c:381: warning: implicit declaration of function
`i2c_del_adapter'
saa7146_core.c: In function `saa7146_core_command':
saa7146_core.c:410: dereferencing pointer to incomplete type
make[2]: *** [saa7146_core.o] Error 1
make[2]: Leaving directory `/root/DVB-0.9/driver'
make[1]: *** [_mod_/root/DVB-0.9/driver] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.2.19'
make: *** [here] Error 2
alpha:~/DVB-0.9/driver#



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index