|
lug-bg: Problemche pri kompilaciata na dvb driver
- Subject: lug-bg: Problemche pri kompilaciata na dvb driver
- From: moni@xxxxxxxx (Simeon Vlahov)
- Date: Sun, 10 Jun 2001 15:21:55 -0700
Hello lug-bg,
Zdravejte.
Imam goliam problem pri kompilaciata na dvb driver za saa_7146
boards pod Linux (Slackware 7.1, egcc 1.12)
Eto kakvo mi dava:
----------------------------------------------------------------------------
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.2.18'
make -C /root/sat/DVB-0.9/driver CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/root/sat/DVB-0.9/driver'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -I ../ost/include -I . -D__DVB_PACK__ -g -DEXPORT_SYMTAB -c saa7146_core.c
{standard input}: Assembler messages:
{standard input}:60: Warning: Ignoring changed section attributes for .modinfo
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,
saa7146_core.h:83: warning: 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 after `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 after `saa7146_algo'
saa7146_core.c:340: warning: excess elements in struct initializer after `saa7146_algo'
saa7146_core.c:341: warning: excess elements in struct initializer after `saa7146_algo'
saa7146_core.c:342: warning: excess elements in struct initializer after `saa7146_algo'
saa7146_core.c:343: warning: excess elements in struct initializer after `saa7146_algo'
saa7146_core.c:344: warning: excess elements in struct initializer after `saa7146_algo'
saa7146_core.c:345: warning: excess elements in struct initializer after `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/sat/DVB-0.9/driver'
make[1]: *** [_mod_/root/sat/DVB-0.9/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.18'
make: *** [here] Error 2
--------------------------------------------------------------------------------------
Njakakvi idei?
--
Best regards,
Simeon mailto:moni@xxxxxxxx
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|