<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ece9d8>
<DIV><FONT face=Arial size=2>I try many times to debug vlc but all failed. One
day lost.(:<</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vlc version:</FONT></DIV>
<DIV><FONT face=Arial size=2>0.8.5</FONT></DIV>
<DIV><FONT face=Arial size=2>gcc version:</FONT></DIV>
<DIV><FONT face=Arial size=2>4.1.1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>my compile
option:</FONT></DIV>
<DIV><FONT face=Arial>./configure --enable-x11 --enable-xvideo --disable-gtk
--enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad
--enable-libdvbpsi --enable-a52 --enable-dts --enable-libmpeg2 --enable-dvdnav
--enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac
--enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac
--enable-livedotcom --with-livedotcom-tree=/usr/lib/live --enable-caca
--enable-skins --enable-skins2 --disable-kde --disable-qt --enable-wxwidgets
--enable-ncurses <STRONG>--enable-debug</STRONG>
--with-ffmpeg-tree=/home/teddy_linux/streamedia/ffmpeg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>compile env varible:</FONT></DIV>
<DIV><FONT face=Arial size=2>CFLAGS=-g or -ggdb or -g3</FONT></DIV>
<DIV><FONT face=Arial size=2>CXXFLAGS=-g or -ggdb or -g3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I also tried to use --enable-release and
CFLAGS=-ggdb or CFLAGS=-g3 or CFLAGS=-g but all failed. I got two different
results:</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>One: (with --enable-debug or set
CFLAGS or set CXXFLAGS) vlc file size 13,019,266</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>[teddy_linux@bmitestbj vlc-0.8.5]$ gdb ./vlc<BR>GNU
gdb Red Hat Linux (5.3.90-0.20030710.40rh)<BR>Copyright 2003 Free Software
Foundation, Inc.<BR>GDB is free software, covered by the GNU General Public
License, and you are<BR>welcome to change it and/or distribute copies of it
under certain conditions.<BR>Type "show copying" to see the conditions.<BR>There
is absolutely no warranty for GDB. Type "show warranty" for
details.<BR>This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".<BR> <BR>(gdb)
list<BR>Segmentation fault</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>The other: (with --enable-release without
set CFLAGS and CXXFLAGS)</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>[teddy_linux@bmitestbj vlc-0.8.5]$ gdb ./vlc<BR>GNU
gdb Red Hat Linux (5.3.90-0.20030710.40rh)<BR>Copyright 2003 Free Software
Foundation, Inc.<BR>GDB is free software, covered by the GNU General Public
License, and you are<BR>welcome to change it and/or distribute copies of it
under certain conditions.<BR>Type "show copying" to see the conditions.<BR>There
is absolutely no warranty for GDB. Type "show warranty" for
details.<BR>This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".<BR> <BR>(gdb)
list<BR>1 utils.c: No such file or
directory.<BR> in utils.c<BR>(gdb)
break vlc.c:200<BR>No source file named vlc.c.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>where is utils.c? Is there no vlc.c? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Teddy</FONT></DIV></BODY></HTML>