Mailing List archive

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

[linux-dvb] can't compile DVB 0.9



                                         Aachen, Mo 02.04.01 20:48
Hi,
have one of the new Haupauge DVBs cards. So I tried to compile the DVB/
Driver from the 0.9 cvs version but I always get errors (see below). I
use Kernel 2.2.18.SuSE (SuSE 7.1) with no I2C or V4L in the kernel.
The older version 0.8 compiled without errors (but is useless for me
because of the new Haupauge card).

Can anyone give me some hints please.

TIA,
Andreas


===================
errors:

[..]
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -
m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -
DMODULE -I ../ost/include -I . -D__DVB_PACK__ -g  -DEXPORT_SYMTAB -c
dvb_net.c
dvb_net.c: In function `my_eth_type_trans':
dvb_net.c:65: dereferencing pointer to incomplete type
dvb_net.c:70: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_sec':
dvb_net.c:107: dereferencing pointer to incomplete type
dvb_net.c:108: dereferencing pointer to incomplete type
dvb_net.c:124: warning: assignment from incompatible pointer type
dvb_net.c:126: dereferencing pointer to incomplete type
dvb_net.c:127: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_set_multi':
dvb_net.c:155: dereferencing pointer to incomplete type
dvb_net.c:159: dereferencing pointer to incomplete type
dvb_net.c:165: dereferencing pointer to incomplete type
dvb_net.c:170: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_set_config':
dvb_net.c:183: warning: implicit declaration of function `netif_running'
dvb_net.c:185: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_set_mac':
dvb_net.c:195: dereferencing pointer to incomplete type
dvb_net.c:195: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_open':
dvb_net.c:204: dereferencing pointer to incomplete type
dvb_net.c:213: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_stop':
dvb_net.c:231: dereferencing pointer to incomplete type
dvb_net.c: In function `dvb_net_get_stats':
dvb_net.c:249: dereferencing pointer to incomplete type
dvb_net.c:250: warning: control reaches end of non-void function
dvb_net.c: In function `dvb_net_init':
dvb_net.c:256: dereferencing pointer to incomplete type
dvb_net.c:257: dereferencing pointer to incomplete type
dvb_net.c:258: dereferencing pointer to incomplete type
dvb_net.c:259: dereferencing pointer to incomplete type
dvb_net.c:260: dereferencing pointer to incomplete type
dvb_net.c:261: dereferencing pointer to incomplete type
dvb_net.c:262: dereferencing pointer to incomplete type
dvb_net.c:263: dereferencing pointer to incomplete type
dvb_net.c:264: dereferencing pointer to incomplete type
dvb_net.c:265: warning: passing arg 1 of `ether_setup' from incompatible
pointer type
dvb_net.c: In function `init_net':
dvb_net.c:273: invalid use of undefined type `struct net_device'
dvb_net.c:276: dereferencing pointer to incomplete type
dvb_net.c:277: dereferencing pointer to incomplete type
dvb_net.c:278: dereferencing pointer to incomplete type
dvb_net.c:279: dereferencing pointer to incomplete type
dvb_net.c:280: dereferencing pointer to incomplete type
dvb_net.c:280: dereferencing pointer to incomplete type
dvb_net.c:281: dereferencing pointer to incomplete type
dvb_net.c:282: dereferencing pointer to incomplete type
dvb_net.c:283: dereferencing pointer to incomplete type
dvb_net.c:284: dereferencing pointer to incomplete type
dvb_net.c:285: dereferencing pointer to incomplete type
dvb_net.c:288: dereferencing pointer to incomplete type
dvb_net.c:288: dereferencing pointer to incomplete type
dvb_net.c:288: dereferencing pointer to incomplete type
dvb_net.c:288: dereferencing pointer to incomplete type
dvb_net.c:290: dereferencing pointer to incomplete type
dvb_net.c:292: warning: passing arg 1 of `register_netdev' from
incompatible pointer type
dvb_net.c: In function `release_net':
dvb_net.c:300: invalid use of undefined type `struct net_device'
dvb_net.c:301: invalid use of undefined type `struct net_device'
dvb_net.c: At top level:
dvb_net.c:38: storage size of `dvb_net_devices' isn't known
make[2]: *** [dvb_net.o] Error 1
make[2]: Leaving directory `/opt/vdr/DVB/driver'
make[1]: *** [_mod_/opt/vdr/DVB/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.18.SuSE'
make: *** [here] Error 2

===============================================
or, whithout dvb_net in the Makefile:

[..]
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -
m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -
DMODULE -I ../ost/include -I . -D__DVB_PACK__ -g  -c -o VES1893.o
VES1893.c
In file included from VES1893.c:30:
dvb.h:26: warning: `DECLARE_MUTEX' redefined
/usr/src/linux/include/asm/semaphore.h:46: warning: this is the location
of the
previous definition
dvb.h:27: warning: `DECLARE_MUTEX_LOCKED' redefined
/usr/src/linux/include/asm/semaphore.h:47: warning: this is the location
of the
previous definition
dvb.h:29: warning: `init_waitqueue_head' redefined
/usr/src/linux/include/linux/wait.h:26: warning: this is the location of
the previous definition
dvb.h:32: warning: `set_current_state' redefined
/usr/src/linux/include/linux/sched.h:525: warning: this is the location
of the previous definition
VES1893.c:379: `I2C_DRIVERID_VES1893' undeclared here (not in a
function)
VES1893.c:379: initializer element is not constant
VES1893.c:379: (near initialization for `dvbt_driver.id')
VES1893.c:390: `I2C_DRIVERID_VES1893' undeclared here (not in a
function)
VES1893.c:390: initializer element is not constant
VES1893.c:390: (near initialization for `client_template.id')
make[2]: *** [VES1893.o] Error 1
make[2]: Leaving directory `/opt/vdr/DVB/driver'
make[1]: *** [_mod_/opt/vdr/DVB/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.18.SuSE'
make: *** [here] Error 2



-- 
Andreas Hoelscher, Buchenhain 8a, D-52159 Roetgen, Germany
(PGP ID: 1024/0x6AC897BB)


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



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



Home | Main Index | Thread Index