[MPlayer-users] Re: can't get zoran output to work

Phil Bertram phil.bertram at clear.net.nz
Sat Aug 26 01:25:19 CEST 2006


On Saturday 26 August 2006 7:50 am, Phil Bertram wrote:
> On Friday 25 August 2006 7:37 pm, Karolina Lindqvist wrote:
> > söndag 20 augusti 2006 07:21 skrev Karolina:
> > > I can't get the zr (zoran) video output driver to work properly.
> >
> > In the final end, I found that it is a bug in mjpeg.c. Taking the version
> > of mjpeg.c from pre7 makes the zoran output work.
>
> Great. I'll give that a go.

Unfortunately using mjpeg.c from pre7 with svn (today) results in a build 
error for me.
Here is the output of make.

Does this output give someone a lead as to what the issue may be ?

 
cc -DHAVE_AV_CONFIG_H -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=athlon -mtune=athlon -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/src/DVB/ost/include  -I/usr/include/dxr2 -I/usr/local/include/cdda -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE    -c -o 
mjpeg.o mjpeg.c
mjpeg.c:853: warning: no semicolon at end of struct or union
mjpeg.c:853: error: syntax error before '__align8'
mjpeg.c:865: error: syntax error before '}' token
mjpeg.c:865: warning: data definition has no type or storage class
mjpeg.c:867: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_init':
mjpeg.c:883: error: 's' undeclared (first use in this function)
mjpeg.c:883: error: (Each undeclared identifier is reported only once
mjpeg.c:883: error: for each function it appears in.)
mjpeg.c:884: warning: ISO C90 forbids mixed declarations and code
mjpeg.c: At top level:
mjpeg.c:988: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_dqt':
mjpeg.c:992: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1023: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_dht':
mjpeg.c:1029: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1069: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_sof':
mjpeg.c:1074: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1188: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_dc':
mjpeg.c:1191: error: 's' undeclared (first use in this function)
mjpeg.c:1191: error: 'dc_index' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1206: error: syntax error before '*' token
mjpeg.c: In function 'decode_block':
mjpeg.c:1214: error: 's' undeclared (first use in this function)
mjpeg.c:1214: error: 'dc_index' undeclared (first use in this function)
mjpeg.c:1219: error: 'quant_index' undeclared (first use in this function)
mjpeg.c:1220: error: 'component' undeclared (first use in this function)
mjpeg.c:1222: error: 'block' undeclared (first use in this function)
mjpeg.c:1224: error: 'ac_index' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1255: error: syntax error before '*' token
mjpeg.c: In function 'ljpeg_decode_rgb_scan':
mjpeg.c:1259: error: 's' undeclared (first use in this function)
mjpeg.c:1266: error: 'point_transform' undeclared (first use in this function)
mjpeg.c:1269: error: 'predictor' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1323: error: syntax error before '*' token
mjpeg.c: In function 'ljpeg_decode_yuv_scan':
mjpeg.c:1327: error: 's' undeclared (first use in this function)
mjpeg.c:1350: error: 'point_transform' undeclared (first use in this function)
mjpeg.c:1358: error: 'predictor' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1406: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_scan':
mjpeg.c:1410: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1459: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_sos':
mjpeg.c:1463: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1574: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_dri':
mjpeg.c:1576: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1584: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_app':
mjpeg.c:1589: error: 's' undeclared (first use in this function)
mjpeg.c: At top level:
mjpeg.c:1728: error: syntax error before '*' token
mjpeg.c: In function 'mjpeg_decode_com':
mjpeg.c:1731: error: 's' undeclared (first use in this function)
mjpeg.c:1748: warning: pointer targets in passing argument 1 of 'strlen' 
differ in signedness
mjpeg.c:1748: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1748: warning: pointer targets in passing argument 1 of 'strlen' 
differ in signedness
mjpeg.c:1748: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1748: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1748: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 of 'strlen' 
differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 of 'strlen' 
differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c:1754: warning: pointer targets in passing argument 1 
of '__builtin_strcmp' differ in signedness
mjpeg.c: In function 'mjpeg_decode_frame':
mjpeg.c:1824: error: 's' undeclared (first use in this function)
mjpeg.c:1825: warning: ISO C90 forbids mixed declarations and code
mjpeg.c: In function 'mjpegb_decode_frame':
mjpeg.c:1994: error: 's' undeclared (first use in this function)
mjpeg.c:1995: warning: ISO C90 forbids mixed declarations and code
mjpeg.c: In function 'mjpeg_decode_end':
mjpeg.c:2255: error: 's' undeclared (first use in this function)
mjpeg.c:2256: warning: ISO C90 forbids mixed declarations and code
make[2]: *** [mjpeg.o] Error 1
make[2]: Leaving directory `/home/phil/src/svn/mplayer/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] Error 2
make[1]: Leaving directory `/home/phil/src/svn/mplayer'
make: *** [build-stamp] Error 2
phil at pb:~/src/svn/mplayer$                                    
MPlayer-users at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list