[Kwintv] Compilation problems with kernel/libc headers

Christian Sangohn xtian0009 at gmx.net
Wed Dec 10 12:15:32 CET 2003


> > and it has always become better and better. But :) What happened to the 
  
> > Videotext / teletext plugin ?    
> Nothing. It's there and working fine :-) Did you select and correctly     
> configure the vbidecoder? Check the plugins settings dialog page...    
I can´t remember finding it but I´ll check again as soon as I managed to
recompile with KDE-3.1.94    
(3.2-beta2) :(   
I´m having problems compiling yesteday´s (20031209) snapshot. it seems to be
limited to the v4l part.    
    
sikasso:kvideoio # make    
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/   
K-Desktop-Environment-3.1.94/include
-I/usr/local/lib/qt-x11-free-3.2.1/include -I/usr/X11R6/include      
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W    
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align    
-Wconversion -Wchar-subscripts -fno-builtin -g -O2 -Wformat-security
-Wmissing-format-attribute    
-fno-exceptions -fno-check-new -fno-common  -MT v4ldev.lo -MD -MP -MF
".deps/v4ldev.Tpo" \    
  -c -o v4ldev.lo `test -f 'v4ldev.cpp' || echo './'`v4ldev.cpp; \    
then mv -f ".deps/v4ldev.Tpo" ".deps/v4ldev.Plo"; \    
else rm -f ".deps/v4ldev.Tpo"; exit 1; \    
fi    
In file included from /usr/include/linux/videodev2.h:16,    
                 from /usr/include/linux/videodev.h:8,    
                 from v4ldev.h:40,    
                 from v4ldev.cpp:37:    
/usr/include/linux/time.h:9: error: redefinition of `struct timespec'    
/usr/include/time.h:119: error: previous definition of `struct timespec'    
/usr/include/linux/time.h:15: error: redefinition of `struct timeval'    
/usr/include/bits/time.h:70: error: previous definition of `struct timeval' 
  
/usr/include/linux/time.h:354: error: redefinition of `struct itimerspec'   

/usr/include/time.h:160: error: previous definition of `struct itimerspec'  
 
In file included from v4ldev.cpp:42:    
/usr/include/sys/time.h:57: error: redefinition of `struct timezone'    
/usr/include/linux/time.h:20: error: previous definition of `struct
timezone'    
/usr/include/sys/time.h:94: error: parse error before numeric constant    
/usr/include/sys/time.h:108: error: redefinition of `struct itimerval'    
/usr/include/linux/time.h:359: error: previous definition of `struct
itimerval'    
make: *** [v4ldev.lo] Error 1    
    
I´m running Debian testing (sarge) with libc 2.3.2-ds10 and
linux-kernel-headers-2.5.99; this ia surely   
not a typical setup so could it be that some of these kernel and/or libc
headers don´t work well   
together? I personally don´t think so, so i must have done somthing wrong
here. How can this problem   
be circumvented?   
   
I´ve attached the config.log from the kvideoio subdir and a snippet of the
configure output. 
  
TIA  
  
>     
> HTH,    
> Dirk    
>     
> --    
> Dirk Ziegelmeier * dirk at ziegelmeier.net * http://www.ziegelmeier.net    
> _______________________________________________    
> kwintv mailing list    
> kwintv at kde.org    
> https://mail.kde.org/mailman/listinfo/kwintv    
>     
    

-- 
Grüße,

Sangohn Christian
-------------- next part --------------
checking linux/videodev.h usability... no
checking linux/videodev.h presence... yes
configure: WARNING: linux/videodev.h: present but cannot be compiled
configure: WARNING: linux/videodev.h: check for missing prerequisite headers?
configure: WARNING: linux/videodev.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/videodev.h... yes
checking if qtvision v4l plugin should be compiled... yes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/x-gzip
Size: 4631 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kwintv/attachments/20031210/65c4eb45/config.log.gz


More information about the kwintv mailing list