Hey guys,
I've been working on packaging and tweeking a few video applications
lately, and I've been getting strange errors in regards to our kernel
headers.  Here's a few examples from separate application compiles:

--- re: Xvlib.h configure error ---
checking X11/extensions/Xv.h usability... yes
checking X11/extensions/Xv.h presence... yes
checking for X11/extensions/Xv.h... yes
checking X11/extensions/Xvlib.h usability... no
checking X11/extensions/Xvlib.h presence... yes
configure: WARNING: X11/extensions/Xvlib.h: present but cannot be
compiled
configure: WARNING: X11/extensions/Xvlib.h: check for missing
prerequisite headers?
configure: WARNING: X11/extensions/Xvlib.h: proceeding with the
preprocessor's result

--- re: videodev2.h configure error ---
checking linux/videodev2.h usability... no
checking linux/videodev2.h presence... yes
configure: WARNING: linux/videodev2.h: present but cannot be compiled
configure: WARNING: linux/videodev2.h: check for missing prerequisite
headers?
configure: WARNING: linux/videodev2.h: proceeding with the
preprocessor's resultchecking for linux/videodev2.h... yes

--- re: videodev2.h compile error ---
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src 
-I/usr/lib/qt3/include -DDEBUG_PREFIX='"DBG_BUFFER: "'
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-check-new -c -o list.o
`test -f 'list.cpp' || echo './'`list.cpp
In file included from ../../src/v4lgrab.h:103,
                 from list.cpp:2:
/usr/include/linux/videodev2.h:36: syntax error before `;' token
/usr/include/linux/videodev2.h:54: '__u32' is used as a type, but is not
defined as a type.

Anyone seen this before?
Are some of our kernel headers/sources incompatible with gcc3, or are we
using outdated headers/sources?  Anyone compiled xv or v4l applications
lately (against OUR kernel headers)?  Any problems?
Thanks for your help,
Austin


-- 
                        Austin Acton Hon.B.Sc.
             Synthetic Organic Chemist, Teaching Assistant
           Department of Chemistry, York University, Toronto
             MandrakeClub Volunteer (www.mandrakeclub.com)
                     homepage: www.groundstate.ca

Reply via email to