Hej Brice !

Sorry I can't help you directly, but I think there is a new release
1.6.3-RC3 on
http://sourceforge.net/project/showfiles.php?group_id=5776
that you might want to take a look at .. I also crossposted to the
mjpeg-users mailing list, maybe someone here can provide you with more
info regarding your specific compile problem :-)

Servus,
  Gernot

---------- Forwarded message ----------
Date: Wed, 7 Sep 2005 15:33:46 +0200
From: Brice Dutheil <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: problem compiling mjpegtool on suse

Hi,


I'd like a few moments helping me in compiling mjpegtools 1.6.2 (SF
tarball).
I want to set up the vdr-burn plugin for VDR, and it seems that vdr-burnneeds
mpeg2enc,
which is not provided by the defautl rpm of the SuSE distribution

I'm running on top of a Intel P4 box with SuSE Linux.
I'm using GCC 4 version.

libdv is intalled, lijpeg too

# whereis libdv libjpeg
> libdv: /usr/lib/libdv.la /usr/lib/libdv.a /usr/lib/libdv.so
> /usr/include/libdv
> libjpeg: /usr/lib/libjpeg.a /usr/lib/libjpeg.la /usr/lib/libjpeg.so
>

So when here's what i'm doing, and what i'm in trouble with

# ./configure --without-quicktime --with-gnu-ld
> ...
> # make
> ...
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
> -DG_LOG_DOMAIN=\"lavtools\" -DLAVPLAY_VERSION=\"1.6.2\"
> -I/usr/local/include -I/usr/X11R6/include -I /usr/X11R6/include -I../utils
> -I/opt/gnome/include -I/opt/gnome/include/gtk-1.2-I/opt/gnome/include/glib-
> 1.2 -I/opt/gnome/lib/glib/include -I/usr/X11R6/include -mcpu=i686
> -march=i686 -g -O2 -Wall -Wunused -MT liblavrec_la-liblavrec.lo -MD -MP
> -MF .deps/liblavrec_la-liblavrec.Tpo -c liblavrec.c -fPIC -DPIC -o
> .libs/liblavrec_la-liblavrec.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> In file included from liblavrec.h:33,
>  from liblavrec.c:76:
> frequencies.h:107: error: array type has incomplete element type
> liblavrec.c: In function 'lavrec_hardware_init':
> liblavrec.c:1234: warning: comparisons like X<=Y<=Z do not have their
> mathematical meaning
> make[2]: *** [liblavrec_la-liblavrec.lo] Error 1
> make[2]: Leaving directory `/usr/local/src/mjpegtools-1.6.2/lavtools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/mjpegtools-1.6.2'
> make: *** [all] Error 2
>

I'm not an really advanced user in the linux world, but i know some stuffs,
anyway the solution dosen't come up in my mind.
looking at the file frequencies.h didn't helped me, exept that i didn't saw
any define for STRTAB

107 extern struct STRTAB chanlist_names[];
>


I also experimented, without hoping much from this experience, to compile
mpeg2enc directly.
So keeping the configuration made earlier:

# cd mpeg2enc
> # make
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -mcpu=i686 -march=i686
> -g -O2 -MT picture.lo -MD -MP -MF .deps/picture.Tpo -c picture.cc -fPIC
> -DPIC -o .libs/picture.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> picture.cc: In constructor 'Picture::Picture(EncoderParams&, MPEG2Coder&,
> Quantizer&)':
> picture.cc:86: error: array bound forbidden after parenthesized type-id
> picture.cc:86: note: try removing the parentheses around the type-id
> picture.cc:87: error: array bound forbidden after parenthesized type-id
> picture.cc:87: note: try removing the parentheses around the type-id
> picture.cc:88: error: array bound forbidden after parenthesized type-id
> picture.cc:88: note: try removing the parentheses around the type-id
> make: *** [picture.lo] Error 1
>

For this error, no idea as well


If you can give me some advice, or some direction I can look for, it 'll be
of course greatly appreciated

Thanx in advance

-- 
Bryce


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to