Mailing List archive

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

compile errors in dvb.c




    [ Part 1, Text/PLAIN  94 lines. ]
    [ Unable to print this part. ]

doing a make on the dvbd2.tar.gz over siemens yields this during make:
 
 /usr/src/linux/include/linux/modversions.h   -c -o dvb.o dvb.c
dvb.c: In function `dvb_ioctl':
dvb.c:5254: `VIDIOCSCIMSG' undeclared (first use in this function)
dvb.c:5254: (Each undeclared identifier is reported only once
dvb.c:5254: for each function it appears in.)
dvb.c:5256: storage size of `cm' isn't known
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5256: warning: unused variable `cm'
dvb.c:5304: `VIDIOCSASPECTRATIO' undeclared (first use in this function)
dvb.c:5311: `VIDIOCSPANSCAN' undeclared (first use in this function)
dvb.c:5318: `VIDIOCSFREEZEMODE' undeclared (first use in this function)
dvb.c:5384: `VID_PLAY_CLEAR_BUFFER' undeclared (first use in this
function)
dvb.c: At top level:
dvb.c:5557: `VID_TYPE_DVB' undeclared here (not in a function)
dvb.c:5557: initializer element is not constant
dvb.c:5557: (near initialization for `dvb_template.type')
dvb.c:447: warning: `CI_out' defined but not used
make[2]: *** [dvb.o] Error 1
make[2]: Leaving directory `/usr/local/src/DVB/driver'
make[1]: *** [_mod_/usr/local/src/DVB/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16'
make: *** [here] Error 2
doing make install then gives this error (at the end):
 
saa7146_core.o -> /lib/modules/2.2.16/misc/saa7146_core.o
make: *** [install] Error 1
doing make insmod afterwards gives this at the end:
 
gcc -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 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o dvb.o dvb.c
dvb.c: In function `dvb_ioctl':
dvb.c:5254: `VIDIOCSCIMSG' undeclared (first use in this function)
dvb.c:5254: (Each undeclared identifier is reported only once
dvb.c:5254: for each function it appears in.)
dvb.c:5256: storage size of `cm' isn't known
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5258: sizeof applied to an incomplete type
dvb.c:5256: warning: unused variable `cm'
dvb.c:5304: `VIDIOCSASPECTRATIO' undeclared (first use in this function)
dvb.c:5311: `VIDIOCSPANSCAN' undeclared (first use in this function)
dvb.c:5318: `VIDIOCSFREEZEMODE' undeclared (first use in this function)
dvb.c:5384: `VID_PLAY_CLEAR_BUFFER' undeclared (first use in this
function)
dvb.c: At top level:
dvb.c:5557: `VID_TYPE_DVB' undeclared here (not in a function)
dvb.c:5557: initializer element is not constant
dvb.c:5557: (near initialization for `dvb_template.type')
dvb.c:447: warning: `CI_out' defined but not used
make[3]: *** [dvb.o] Error 1
make[3]: Leaving directory `/usr/local/src/DVB/driver'
make[2]: *** [_mod_/usr/local/src/DVB/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.16'
make[1]: *** [here] Error 2
make[1]: Leaving directory `/usr/local/src/DVB/driver'
make: *** [insmod] Error 2
running dvbd does nothing:
 
router:/usr/local/src/DVB/dvbd# dvbd
router:/usr/local/src/DVB/dvbd#
 
which isn't surprising, as using an lsmod none of the modules are
registered
 
router:/usr/local/src/DVB/dvbd# lsmod
Module                  Size  Used by
ip_masq_vdolive         1432   0  (unused)
ip_masq_user            2664   0
ip_masq_raudio          3064   0  (unused)
ip_masq_quake           1448   0  (unused)
ip_masq_irc             1624   0  (unused)
ip_masq_ftp             2552   0
ip_masq_cuseeme         1176   0  (unused)
rtl8139                11904   1
Now, just compiling the siemens drivers works fine, everything seems to
be working, i get a nice sync=127 etc etc etc, but i can't ping the
transponder proxy :(
 
ideas plz?!
robin




Home | Main Index | Thread Index