Hello,
I'm currently trying to upgrade from vdr-1.3.47 & plugins to 1.4.2(with latest fixes) & plugins.
The VDR part is ok, it builds and runs fine.
The plugin i use the most is mplayer.
I tried to install the latest version 0.9.15pre14 for VDR 1.4.0+
I have the following error (i tried with older mp3 plugins versions as well)
/usr/src/vdr-1.4.2# make plugins [snap] Plugin mp3: make[1]: Entering directory `/usr/src/vdr-1.4.2/PLUGINS/src/mp3-0.9.15pre14' g++ -march=pentium3 -O3 -c -D_GNU_SOURCE -DAPIVERSNUM=10402 -DHAVE_SNDFILE -DHAVE_VORBISFILE -I../../../include mp3.c /usr/include/mad.h:552: error: expected unqualified-id before 'unsigned' /usr/include/mad.h:552: error: abstract declarator 'const unsigned char*' used as declaration /usr/include/mad.h:552: error: expected ';' before 'unsigned' make[1]: *** [mp3.o] Error 1 make[1]: Leaving directory `/usr/src/vdr-1.4.2/PLUGINS/src/mp3-0.9.15pre14'
Any idea ?
I'm using gcc/g++ 4.1 ( Debian x86 unstable with latest packages)
Thanks,
Philippe
On 06 Sep 2006 Philippe =?ISO-8859-15?Q?Gramoull=E9?= philippe@gramoulle.com wrote:
I tried to install the latest version 0.9.15pre14 for VDR 1.4.0+
I have the following error (i tried with older mp3 plugins versions as well)
/usr/src/vdr-1.4.2# make plugins [snap] Plugin mp3: make[1]: Entering directory `/usr/src/vdr-1.4.2/PLUGINS/src/mp3-0.9.15pre14' g++ -march=pentium3 -O3 -c -D_GNU_SOURCE -DAPIVERSNUM=10402 -DHAVE_SNDFILE -DHAVE_VORBISFILE -I../../../include mp3.c /usr/include/mad.h:552: error: expected unqualified-id before 'unsigned' /usr/include/mad.h:552: error: abstract declarator 'const unsigned char*' used as declaration /usr/include/mad.h:552: error: expected ';' before 'unsigned' make[1]: *** [mp3.o] Error 1 make[1]: Leaving directory `/usr/src/vdr-1.4.2/PLUGINS/src/mp3-0.9.15pre14'
Any idea ?
I'm using gcc/g++ 4.1 ( Debian x86 unstable with latest packages)
I'm sorry, but probably this is a compatibility problem between libmad and your gcc version (taking that's the same error with all mp3 plugin versions).
If you're not using latest libmad, I would try to upgrade that first.
If you only want the mplayer plugin and you don't need the mp3 plugin, you can disable compile of the mp3 part in the plugin makefile. Remove the comment mark in front of WITHOUT_MP3=1
Regards.
Hello Stefan,
On Thu, 7 Sep 2006 21:03:25 +0000 (UTC) s.huelswitt@gmx.de (Stefan Huelswitt) wrote:
| > | > Any idea ? | > | > I'm using gcc/g++ 4.1 ( Debian x86 unstable with latest packages) | | I'm sorry, but probably this is a compatibility problem between | libmad and your gcc version (taking that's the same error with | all mp3 plugin versions).
hmm, so what distro/gcc/g++ versions are you using ?
So latest g++ (4.1) and latest libmad (0.15.1b) isn't a supported combination ? I would have expected lots of other people to hit the same bug as i did.
| | If you're not using latest libmad, I would try to upgrade that | first.
I'm using the latest libmad Debian package which is 0.15.1b-2.1
| | If you only want the mplayer plugin and you don't need the mp3 | plugin, you can disable compile of the mp3 part in the plugin | makefile. | Remove the comment mark in front of WITHOUT_MP3=1
Thanks, actually i'd like to have both: yes my TV is my "media center" :)
Any idea of what i could try to solve this issue ?
Truly yours,
Philippe
Philippe Gramoullé wrote:
Hello Stefan,
On Thu, 7 Sep 2006 21:03:25 +0000 (UTC) s.huelswitt@gmx.de (Stefan Huelswitt) wrote:
| > | > Any idea ? | > | > I'm using gcc/g++ 4.1 ( Debian x86 unstable with latest packages) | | I'm sorry, but probably this is a compatibility problem between | libmad and your gcc version (taking that's the same error with | all mp3 plugin versions).
hmm, so what distro/gcc/g++ versions are you using ?
So latest g++ (4.1) and latest libmad (0.15.1b) isn't a supported combination ? I would have expected lots of other people to hit the same bug as i did.
Works fine on Mandriva Cooker, with gcc-4.1.1-3mdk glibc-2.4-4mdk libmad0-0.15.1b-4mdk
Quick checking shows that Mandriva's libmad isn't patched in any way.
Hello Anssi,
On Fri, 08 Sep 2006 23:34:06 +0300 Anssi Hannula anssi.hannula@gmail.com wrote:
| Works fine on Mandriva Cooker, with | gcc-4.1.1-3mdk | glibc-2.4-4mdk | libmad0-0.15.1b-4mdk | | Quick checking shows that Mandriva's libmad isn't patched in any way.
Well, "unstable" libmad0 Debian source package shows that it is patched (4.5 KB gzipped diff)
I'll try vanilla libmad and have a look in the patch to see if the error lies in here.
(i'm using : gcc 4.1.1-7 libc6 2.3.6.ds1-4 libmad0 0.15.1b-2.1 from Debian Unstable/Sid)
Thanks,
Philippe
On 08 Sep 2006 Philippe =?ISO-8859-15?Q?Gramoull=E9?= philippe@gramoulle.com wrote:
s.huelswitt@gmx.de (Stefan Huelswitt) wrote:
| I'm sorry, but probably this is a compatibility problem between | libmad and your gcc version (taking that's the same error with | all mp3 plugin versions).
hmm, so what distro/gcc/g++ versions are you using ?
Im using SuSE 8.1 with gcc 3.2.2 (yes I know, it's ancient)
Regards.