[gst-devel] Compile problem

Richard Boulton richard at tartarus.org
Tue Dec 12 23:47:45 CET 2000


Hi guys,

Things look to be going great... I will do my best to give some help with
things as soon as I can, but have a bit too much going on at work at the
moment.  In thew meantime, here's a bug report:

compilation from latest CVS fails with:

ixion:~/Working/gstreamer/plugins/mpeg2/video$ uname -a
Linux ixion 2.2.14 #7 SMP Thu May 11 13:54:01 BST 2000 i686 unknown
ixion:~/Working/gstreamer/plugins/mpeg2/video$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
ixion:~/Working/gstreamer/plugins/mpeg2/video$ make
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../.. -I/usr/lib/glib/include -D_REENTRANT -I/usr/lib/glib/include
-I/usr/X11R6/include -I../../.. -I../../../include    -Wall -O3 -m486
-fomit-frame-pointer -finline-functions -ffast-math -fschedule-insns2 -c
mpeg2dec.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/glib/include -D_REENTRANT
-I/usr/lib/glib/include -I/usr/X11R6/include -I../../.. -I../../../include
-Wall -O3 -m486 -fomit-frame-pointer -finline-functions -ffast-math
-fschedule-insns2 -Wp,-MD,.deps/mpeg2dec.pp -c  -fPIC -DPIC mpeg2dec.c -o
mpeg2dec.lo
mpeg2dec.c: In function `mpeg2play_new_buffer':
mpeg2dec.c:186: warning: unsigned int format, long unsigned int arg (arg 7)
mpeg2dec.c:186: warning: unsigned int format, long unsigned int arg (arg 6)
mpeg2dec.c:218: invalid operands to binary -
mpeg2dec.c:218: invalid operands to binary -
make: *** [mpeg2dec.lo] Error 1


The offending line, mpeg2dec.c:218, is:

    DEBUG("showing 32 (%08lx) %ld %ld\n", data, DATA_IN_BUFFER, inlen);

and after preprocessing:

(_debug_string != ((void *)0) ) ? fprintf(stderr ,"DEBUG(%d:%d)"
__PRETTY_FUNCTION__ ":%d"  "%s: " "showing 32 (%08lx) %ld %ld\n"    ,
getpid() , cothread_getcurrent() , 218 ,_debug_string ,data, ((inlen) -
(((( gb )->ptr) -vid_stream->swapbuf)<<2)) , inlen    ) : fprintf(stderr
,"DEBUG(%d:%d)" __PRETTY_FUNCTION__ ":%d"  ": " "showing 32 (%08lx) %ld
%ld\n"    , getpid() , cothread_getcurrent() , 218 ,data, ((inlen) - ((((
%gb )->ptr) -vid_stream->swapbuf)<<2)) , inlen) ;


HTH
-- 
Richard



More information about the gstreamer-devel mailing list