On Sonntag, 22. Dezember 2002 12:04, Dirk Vornheder wrote:
> Hi !
>
> Compile mjpegtools 1.6.1 fails here:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
> -DG_LOG_DOMAIN=\"lavtools\" -DLAVPLAY_VERSION=\"1.6.1\" -I/usr/include
> -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/local/include -I /privat/tv/quicktime4linux-1.4-patch
> -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
> -I/privat/tv/mjpegtools-1.6.1/../jpeg-mmx-0.1.4 -mcpu=i686 -march=i686 -g
> -O2 -Wall -Wunused -c lav_io.c -MT lav_io.lo -MD -MP -MF .deps/lav_io.TPlo 
> -fPIC -DPIC -o .libs/lav_io.lo
> lav_io.c: In function `check_DV2_input':
> lav_io.c:1385: too many arguments to function `dv_decoder_new'
> lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free'
> make[2]: *** [lav_io.lo] Error 1
> make[2]: Leaving directory `/privat/tv/mjpegtools-1.6.1/lavtools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/privat/tv/mjpegtools-1.6.1'
> make: *** [all] Error 2

It is very likely that you are drawing in some old version of libdv from one 
of the include paths. I strongly suspect quicktime4linux. Replace it by 
libquicktime, which is a source-compatible replacement of quicktime4linux. Go 
to http://sourceforge.net/projects/libquicktime and compile+install it before 
you build mjpegtools. I did so and it works. (Of course you have to make sure 
first that you have a pretty new libdv, like 0.98, installed.)

-- Hannes



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to