Le Lundi 3 Juin 2002 12:33, Geoffrey Lee a �crit :
> On Mon, Jun 03, 2002 at 12:30:42PM +0200, Guillaume Rousse wrote:
> > Le Lundi 3 Juin 2002 10:49, Roger a ?crit :
> > > Here's is how i got DIVX working with mjpegtools-1.6 (lav2divx).
> > >
> > > You can get mjpegtools here http://mjpeg.sourceforge.net/ or just goto
> > > that site to read the amazing "MJPEG Howto".  Only 1.6-beta2 is in the
> > > Mandrake /contrib tree.
> >
> > Cause i can't build latest 1.6, i have the following error which i can't
> > understand :-(
>
> I think it may be a problem caused by the explicit -I/usr/include ..
>
> have you tried removing it?
It just remove warnings, but at least it make real error appears:
i586-mandrake-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DG_LOG_DOMAIN=\"lavtools\" -DLAVPLAY_VERSION=\"1.6.0\" -I/usr/local/include 
-I/usr/X11R6/include -I /usr/X11R6/include -I../utils -I/usr/include/avifile 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -mcpu=i586 -march=i586 -O3 -fomit-frame-pointer -pipe 
-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -Wall -Wunused 
-c liblavrec.c -MT liblavrec.lo -MD -MP -MF .deps/liblavrec.TPlo  -fPIC -DPIC 
-o liblavrec.o
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:13,
                 from /usr/include/linux/videodev.h:6,
                 from liblavrec.c:53:
/usr/include/asm/statfs.h:12: redefinition of `struct statfs'

This files comes from kernel-headers. Roger, what is your kernel-headers 
package version ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to