[gst-devel] gst-plugins not compiling with Linux 2.6.0

Thomas Vander Stichele thomas at apestaart.org
Fri Dec 19 08:19:02 CET 2003


El vie, 19-12-2003 a las 17:10, Gustavo J. A. M. Carneiro escribió:
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DARCH_X86=1 -DHAVE_MMX=1
> -DTUNECPU=generic -DHAVE_STRPTIME=1 -DHAVE_LRINTF=1 -DCONFIG_ENCODERS=1
> -DCONFIG_DECODERS=1 -DCONFIG_PP=1 -DCONFIG_MPEGAUDIO_HP=1
> -DCONFIG_HAVE_DLOPEN=1 -DCONFIG_HAVE_DLFCN=1 -DHAVE_MALLOC_H=1
> -DHAVE_MEMALIGN=1 -DSIMPLE_IDCT=1 -DCONFIG_RISKY=1 -Wall -I. -I./ffmpeg
> -I./ffmpeg/libavformat -I./ffmpeg/libavcodec
> -I../../../gst-libs/ext/linux/ -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_GNU_SOURCE -g -O2 -march=pentium4 -MT
> libavformat_la-grab.lo -MD -MP -MF .deps/libavformat_la-grab.Tpo -c
> ffmpeg/libavformat/grab.c  -fPIC -DPIC -o .libs/libavformat_la-grab.o
> In file included from /usr/include/linux/device.h:15,
>                  from /usr/include/linux/videodev.h:6,
>                  from ffmpeg/libavformat/grab.c:26:
> /usr/include/linux/ioport.h:118: syntax error before "__attribute__"
> In file included from /usr/include/linux/device.h:17,
>                  from /usr/include/linux/videodev.h:6,
>                  from ffmpeg/libavformat/grab.c:26:
> /usr/include/linux/list.h:588:2: warning: #warning "don't include kernel
> headers in userspace"
> 	(...etc..)
> 
> 	This is with linux 2.6.0 and gcc 3.2.3.  Is this a known problem?

Well, given that 2.6.0 is just out it has little chance of being a known
problem :)  You didn't specify what gst-plugins version.  Anyway, since
it's in the ffmpeg sources, you would have to ask the FFmpeg mailing
list, or read that, to see if it's a known problem.

Thomas

Dave/Dina : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
I'm so boring my clothes wanna keep
somebody else warm someone cooler
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list