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

Benjamin Otte in7y118 at public.uni-hamburg.de
Fri Dec 19 08:37:02 CET 2003


That's a known problem with the Linux v4l(2) headers afaik. The workaround
was to add #define __LINUX__ somewhere.

On Fri, 19 Dec 2003, Gustavo J. A. M. Carneiro wrote:

>  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?
>
> --
> Gustavo João Alves Marques Carneiro
> <gjc at inescporto.pt> <gustavo at users.sourceforge.net>
>
>
>
>
> -------------------------------------------------------
> 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ÿick
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>





More information about the gstreamer-devel mailing list