[MPlayer-users] cabac.h:522: error with --enable-debug

Mac _ bierkut at gmail.com
Sat Mar 24 23:37:27 CET 2007


> This is a known issue with gcc. Cut&paste the last compiler invocation that
> gave you that error and remove -g from that command line. Run it
> in ./libavcodec. That way you will compile h264.c without debugging
> information, which you probably don't need anyway, unless you plan on
> debugging h264.c :)
> After that, type make from the root of the source tree again and all should
> be fine.
>
> --Ivo

cc -I. -I./libavutil -Wdeclaration-after-statement -I. -I.. -I../libavutil -W -W
all -Wno-unused-parameter -O2 -march=athlon -mtune=athlon -g3  -D_REENTRANT -D_L
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/local/share/
libtheora-1.0alpha7/include/ -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRA
NT -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/local/share/cairo-1.2.6/include/cairo -I/usr/include
/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I./libavcodec
-I../libswscale   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -I. -I..
 -I../libavutil -W -Wall -Wno-unused-parameter -O2 -march=athlon
-mtune=athlon -g3  -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURC
E -I/usr/local/share/libtheora-1.0alpha7/include/ -I/usr/X11R6/include  -I/usr/i
nclude/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/l
ib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/local/share/cairo-1.2.6/include
/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/incl
ude    -c -o h264.o h264.c

i`ve removed that two -g3 from that invocation and error is still on
this stage ...

mac



More information about the MPlayer-users mailing list