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

Gustavo J. A. M. Carneiro gjc at inescporto.pt
Fri Dec 19 08:11:05 CET 2003


 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>






More information about the gstreamer-devel mailing list