[MPlayer-users] buggy code
Cancerbero
anon at adinet.com.uy
Wed Aug 7 00:11:02 CEST 2002
Hi. I think there is a little mistake with the source code of Mplayer ;(
Today (06/08/02), y have downloaded MPlayer from http://www.mplayerhq.hu/homepage/dload.html.
The package is MPlayer-0.90pre6.tar.bz2. I think I have installed ffmpeg correctly and copied the
correct files in the directory libavcodec/. I have configured the makefiles with the command:
./configure --with-win32libdir=my_dir --enable-gui
All works OK here but when I do a "make" an error like:
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/include/artsc -I/usr/lib/glib/include -I/usr/X11R6/include -o ao_arts.o ao_arts.c
ao_arts.c: In function `init':
ao_arts.c:73: `ARTS_P_PACKET_SETTINGS' undeclared (first use in this function)
ao_arts.c:73: (Each undeclared identifier is reported only once
ao_arts.c:73: for each function it appears in.)
make[1]: *** [ao_arts.o] Error 1
make[1]: Saliendo directorio `/home/sgx/programas/MPlayer-0.90pre6/libao2'
make: *** [libao2/libao2.a] Error 2
and the compilation ends. Now, there is no reference to the constant
ARTS_P_PACKET_SETTINGS in all the *.c files of the package. I have
changed the 73 line of ao_arts.c, like this:
arts_stream_set(stream, 1 /*ARTS_P_PACKET_SETTINGS*/, frag_spec);
and no other errors occurs during the compilation. But, if i try to execute "mplayer"
binary as a normal user a messaje of "Segmentation fault" apears in the console. I can
only execute the binary as the superuser. The GUI works too, but only as root.
I'm working with Mandrake 7.2 (gcc-2.95, w32codec-0.60, ffmpeg 0.4.6, linux2.2.17).
Well, that's my problem now. If you can help me with this rare code, i'll surely have other
questions.
Congratulations for MPlayer, and thank you for making it free.
PD_ scuse me for my bad english.
--
Cancerbero <anon at adinet.com.uy>
Usuario Registrado de LINUX #184713
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)
More information about the MPlayer-users
mailing list