I'm confused ...

I solved my other kernel include file problems and now I get exactly the
same error as you. I don't understand how I was ever able to compile
this. :-/ Probably an older libc version that I used two months ago had
different kernel include files. Now I can't find e.g. VIDIOC_PREVIEW in
any of my kernel header files (2.6.0-test9 or 2.4.21-rc1). I googled
around for it but I couldn't find any hint about their being deprecated
or anything. Does anyone know what's going on?

Felix

On Fri, 19 Dec 2003 12:50:34 +0530
Sarath Menon <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have downloaded the latest CVS yesterday (with the savage 2-0-0 branch).
> I get the following error during compiling (in the savage 2d drivers )
> Can someone please tell me where is the problem ?
> 
> gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall 
> - -Wpointer-arith -Wstrict-prototypes                           
> - -Wmissing-prototypes -Wmissing-declarations                           
> - -Wredundant-decls -Wnested-externs -Wundef                          -pipe -g 
> - -march=pentium4 -mcpu=pentium4    -fno-merge-constants -I. 
> - -I../../../../../../programs/Xserver/hw/xfree86/common 
> - -I../../../../../../programs/Xserver/hw/xfree86/os-support            
> - -I../../../../../../programs/Xserver/fb 
> - -I../../../../../../programs/Xserver/mi            
> - -I../../../../../../programs/Xserver/hw/xfree86/xaa            
> - -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp 
> - -I../../../../../../programs/Xserver/hw/xfree86/xf4bpp            
> - -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp 
> - -I../../../../../../programs/Xserver/Xext            
> - -I../../../../../../programs/Xserver/hw/xfree86/vgahw 
> - -I../../../../../../programs/Xserver/hw/xfree86/ramdac            
> - -I../../../../../../programs/Xserver/hw/xfree86/ddc 
> - -I../../../../../../programs/Xserver/hw/xfree86/i2c            
> - -I../../../../../../programs/Xserver/hw/xfree86/rac 
> - -I../../../../../../programs/Xserver/hw/xfree86/int10 
> - -I../../../../../../programs/Xserver/render            
> - -I../../../../../../programs/Xserver/include 
> - -I../../../../../../exports/include/X11 -I../../../../../../include/fonts          
>   
> - -I../../../../../../include/extensions 
> - -I../../../../../../programs/Xserver/hw/xfree86/vbe 
> - -I../../../../../../programs/Xserver/hw/xfree86/shadowfb 
> - -I../../../../../../programs/Xserver/GL/dri -I../../../../../../lib/GL/dri         
> - -I../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel 
> - -I../../../../../../include  -I../../../../../.. 
> - -I../../../../../../exports/include -I/usr/X11R6/include  -Dlinux -D__i386__ 
> - -D_POSIX_C_SOURCE=199309L                  -D_POSIX_SOURCE -D_XOPEN_SOURCE         
>                  
> - -D_BSD_SOURCE -D_SVID_SOURCE         -D_GNU_SOURCE                            
> - -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP       -DXCSECURITY -DTOGCUP        
> - -DXF86BIGFONT -DDPMSExtension     -DPANORAMIX    -DRENDER -DRANDR 
> - -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                              
> - -DXFreeXDGA -DXvExtension                            -DXFree86LOADER  
> - -DXFree86Server                    -DXF86VIDMODE                            
> - -DXvMCExtension                                 -DSMART_SCHEDULE                   
>           
> - -DBUILDDEBUG -DXResExtension                        
> - -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  
> - -DIN_MODULE -DXFree86Module -DPSZ=8 -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING 
> - -DGLX_USE_DLOPEN -DGLX_USE_MESA   -c savage_video.c
> savage_video.c:39: warning: ISO C90 does not support `long long'
> savage_video.c:39: warning: redefinition of `__s64'
> /usr/include/asm/types.h:22: warning: `__s64' previously declared here
> savage_video.c:39: warning: redundant redeclaration of `__s64' in same scope
> /usr/include/asm/types.h:22: warning: previous declaration of `__s64'
> savage_video.c:40: warning: ISO C90 does not support `long long'
> savage_video.c:40: warning: redefinition of `__u64'
> /usr/include/asm/types.h:23: warning: `__u64' previously declared here
> savage_video.c:40: warning: redundant redeclaration of `__u64' in same scope
> /usr/include/asm/types.h:23: warning: previous declaration of `__u64'
> In file included from savage_video.c:56:
> savage_driver.h:68: warning: redefinition of `uint'
> /usr/include/sys/types.h:153: warning: `uint' previously declared here
> savage_driver.h:68: warning: redundant redeclaration of `uint' in same scope
> /usr/include/sys/types.h:153: warning: previous declaration of `uint'
> savage_driver.h:74: warning: redefinition of `ushort'
> /usr/include/sys/types.h:152: warning: `ushort' previously declared here
> savage_driver.h:74: warning: redundant redeclaration of `ushort' in same scope
> /usr/include/sys/types.h:152: warning: previous declaration of `ushort'
> In file included from savage_video.c:57:
> savage_bci.h:38:5: warning: "SAVAGE4" is not defined
> savage_bci.h:55:5: warning: "SAVAGE4" is not defined
> savage_video.c:334: warning: redundant redeclaration of `SavageInitVideo' in 
> same scope
> savage_driver.h:502: warning: previous declaration of `SavageInitVideo'
> savage_video.c: In function `SavageStopVideo':
> savage_video.c:743: error: `VIDIOC_PREVIEW' undeclared (first use in this 
> function)
> savage_video.c:743: error: (Each undeclared identifier is reported only once
> savage_video.c:743: error: for each function it appears in.)
> savage_video.c: In function `SavageSetupImageVideo':
> savage_video.c:1079: error: `O_NOIO' undeclared (first use in this function)
> savage_video.c:1086: error: `V4L2_TYPE_CAPTURE' undeclared (first use in this 
> function)
> savage_video.c:1086: error: structure has no member named `type'
> savage_video.c:1087: error: structure has no member named `flags'
> savage_video.c:1087: error: `V4L2_FLAG_PREVIEW' undeclared (first use in this 
> function)
> savage_video.c: In function `SavagePutVideo':
> savage_video.c:2129: error: `V4L2_BUF_TYPE_CAPTURE' undeclared (first use in 
> this function)
> savage_video.c:2304: warning: pointer of type `void *' used in arithmetic
> savage_video.c:2304: warning: dereferencing `void *' pointer
> savage_video.c:2304: error: invalid use of void expression
> savage_video.c:2307: warning: pointer of type `void *' used in arithmetic
> savage_video.c:2307: warning: dereferencing `void *' pointer
> savage_video.c:2307: error: invalid use of void expression
> savage_video.c:2311: error: structure has no member named `depth'
> savage_video.c:2321: error: `VIDIOC_PREVIEW' undeclared (first use in this 
> function)
> savage_video.c: In function `SavageToV4lStandard':
> savage_video.c:2483: error: storage size of `enumstd' isn't known
> savage_video.c:2483: warning: unused variable `enumstd'
> savage_video.c: In function `SavageOpenV4l':
> savage_video.c:2518: error: `O_NOIO' undeclared (first use in this function)
> savage_video.c:2526: error: `V4L2_TYPE_CAPTURE' undeclared (first use in this 
> function)
> savage_video.c:2526: error: structure has no member named `type'
> savage_video.c:2527: error: structure has no member named `flags'
> savage_video.c:2527: error: `V4L2_FLAG_PREVIEW' undeclared (first use in this 
> function)
> make[7]: *** [savage_video.o] Error 1
> 
> Sarath Menon
> - --
> Graduate life: It's not just a job.  It's an indenture.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/4qbFaLuakbHlrcwRAqFtAKDaYxoAQI6kkSih06B8G71xmUu4YwCfXGg/
> 8dx+wqy7ahM6ODvXiq7HulI=
> =hTLA
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
> --
> _______________________________________________
> Dri-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dri-users
> 


------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to