[linux-dvb] Problem with compiling

Marcin szczupienczyk at wp.pl
Fri Jan 13 22:26:18 CET 2006


Hello !
I have a problem with compiling the newest (13 Jan 2006 :D) CVS. I get 
the following error:

marcin at zdebel:~/dvb/v4l-dvb$ make
make -C /home/marcin/dvb/v4l-dvb/v4l
make[1]: Entering directory `/home/marcin/dvb/v4l-dvb/v4l'
echo "No version yet."
No version yet.
uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$/) { printf 
("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$1,$2,$3,$1,$2,$3,$4); 
};' > ./.version
make[1]: Leaving directory `/home/marcin/dvb/v4l-dvb/v4l'
make[1]: Entering directory `/home/marcin/dvb/v4l-dvb/v4l'
creating symbolic links...
make -C /lib/modules/2.4.31/build SUBDIRS=/home/marcin/dvb/v4l-dvb/v4l 
CFLAGS="-I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB" modules
make[2]: Entering directory `/usr/src/linux-2.4.31'
make -C  /home/marcin/dvb/v4l-dvb/v4l CFLAGS="-I../linux/include 
-D__KERNEL__ -I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB 
-DMODULE" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/marcin/dvb/v4l-dvb/v4l'
gcc -I. -I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB -DMODULE 
-DUSING_CX88_ALSA=1 -DCONFIG_VIDEO_ADV_DEBUG=1 -DDVB_CVS=1 
-I/drivers/media/dvb/dvb-core/ -I/drivers/media/dvb/frontends/ -g  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=video_buf  
-DEXPORT_SYMTAB -c video-buf.c
gcc -I. -I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB -DMODULE 
-DUSING_CX88_ALSA=1 -DCONFIG_VIDEO_ADV_DEBUG=1 -DDVB_CVS=1 
-I/drivers/media/dvb/dvb-core/ -I/drivers/media/dvb/frontends/ -g  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=v4l1_compat  
-DEXPORT_SYMTAB -c v4l1-compat.c
gcc -I. -I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB -DMODULE 
-DUSING_CX88_ALSA=1 -DCONFIG_VIDEO_ADV_DEBUG=1 -DDVB_CVS=1 
-I/drivers/media/dvb/dvb-core/ -I/drivers/media/dvb/frontends/ -g  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=v4l2_common  
-DEXPORT_SYMTAB -c v4l2-common.c
gcc -I. -I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB -DMODULE 
-DUSING_CX88_ALSA=1 -DCONFIG_VIDEO_ADV_DEBUG=1 -DDVB_CVS=1 
-I/drivers/media/dvb/dvb-core/ -I/drivers/media/dvb/frontends/ -g  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=compat_ioctl32  -c -o 
compat_ioctl32.o compat_ioctl32.c
gcc -I. -I../linux/include -D__KERNEL__ 
-I/lib/modules/2.4.31/build/include -DEXPORT_SYMTAB -DMODULE 
-DUSING_CX88_ALSA=1 -DCONFIG_VIDEO_ADV_DEBUG=1 -DDVB_CVS=1 
-I/drivers/media/dvb/dvb-core/ -I/drivers/media/dvb/frontends/ -g  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=videodev  
-DEXPORT_SYMTAB -c videodev.c
videodev.c:44: warning: `struct class_device' declared inside parameter list
videodev.c:44: warning: its scope is only this definition or 
declaration, which is probably not what you want
videodev.c: In function `show_name':
videodev.c:46: error: structure has no member named `class_dev'
videodev.c:46: warning: initialization from incompatible pointer type
videodev.c:46: error: structure has no member named `class_dev'
videodev.c: At top level:
videodev.c:50: error: syntax error before '(' token
videodev.c:50: error: `show_name' redeclared as different kind of symbol
videodev.c:45: error: previous declaration of `show_name'
videodev.c:50: error: syntax error before "void"
videodev.c:52: warning: `struct class_device' declared inside parameter list
videodev.c: In function `show_dev':
videodev.c:54: error: structure has no member named `class_dev'
videodev.c:54: warning: initialization from incompatible pointer type
videodev.c:54: error: structure has no member named `class_dev'
videodev.c: At top level:
videodev.c:59: error: syntax error before '(' token
videodev.c:59: error: `show_dev' redeclared as different kind of symbol
videodev.c:53: error: previous declaration of `show_dev'
videodev.c:59: error: syntax error before "void"
videodev.c:75: warning: `struct class_device' declared inside parameter list
videodev.c: In function `video_release':
videodev.c:77: error: structure has no member named `class_dev'
videodev.c:77: warning: initialization from incompatible pointer type
videodev.c:77: error: structure has no member named `class_dev'
videodev.c: At top level:
videodev.c:87: error: variable `video_class' has initializer but 
incomplete type
videodev.c:88: error: unknown field `name' specified in initializer
videodev.c:88: warning: excess elements in struct initializer
videodev.c:88: warning: (near initialization for `video_class')
videodev.c:89: error: unknown field `release' specified in initializer
videodev.c:89: warning: excess elements in struct initializer
videodev.c:89: warning: (near initialization for `video_class')
videodev.c: In function `video_open':
videodev.c:120: error: too many arguments to function `request_module'
videodev.c: In function `video_register_device':
videodev.c:340: error: structure has no member named `devfs_name'
videodev.c:342: error: structure has no member named `devfs_name'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:346: error: structure has no member named `class_dev'
videodev.c:347: error: structure has no member named `dev'
videodev.c:348: error: structure has no member named `class_dev'
videodev.c:348: error: structure has no member named `dev'
videodev.c:349: error: structure has no member named `class_dev'
videodev.c:353: error: structure has no member named `class_dev'
videodev.c:353: error: structure has no member named `devfs_name'
videodev.c:353: error: `BUS_ID_SIZE' undeclared (first use in this function)
videodev.c:353: error: (Each undeclared identifier is reported only once
videodev.c:353: error: for each function it appears in.)
videodev.c:354: error: structure has no member named `class_dev'
videodev.c:355: error: structure has no member named `class_dev'
videodev.c:356: error: `class_device_attr_name' undeclared (first use in 
this function)
videodev.c:358: error: structure has no member named `class_dev'
videodev.c:359: error: `class_device_attr_dev' undeclared (first use in 
this function)
videodev.c: In function `video_unregister_device':
videodev.c:386: error: structure has no member named `devfs_name'
videodev.c:388: error: structure has no member named `class_dev'
videodev.c: At top level:
videodev.c:87: error: storage size of `video_class' isn't known
make[3]: *** [videodev.o] Error 1
make[3]: Leaving directory `/home/marcin/dvb/v4l-dvb/v4l'
make[2]: *** [_mod_/home/marcin/dvb/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.31'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/marcin/dvb/v4l-dvb/v4l'
make: *** [all] Error 2

I'm using Slackware 10.2. Could someone help me ?



More information about the linux-dvb mailing list