[pkg-mad-maintainers] Bug#512726: xbmc build error using mad.h

Andres Mejia mcitadel at gmail.com
Fri Jan 23 06:58:53 UTC 2009


Package: libmad0-dev
Version: 0.15.1b-4
Severity: important
Tags: patch

While building xbmc (not in Debian), i received this error.

g++ -MD -c -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -I/usr/include/lzo -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="exported"' -DHAVE_CONFIG_H  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I. -I../ -I../../ -I../../../ -I../../../../ -I../../../linux -I../../../../guilib  
DVDFactoryCodec.cpp -o DVDFactoryCodec.o
In file included from Audio/DllLibMad.h:28,
                 from Audio/DVDAudioCodecLibMad.h:25,
                 from DVDFactoryCodec.cpp:34:
/usr/include/mad.h:552: error: expected unqualified-id before ‘unsigned’
/usr/include/mad.h:552: error: expected ‘;’ before ‘unsigned’

I'm not sure if this is a c++ issue. Just in case, I set the severity to 
important. Attached is a patch that fixes this issue.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmad0-dev depends on:
ii  libmad0                       0.15.1b-4  MPEG audio decoder library

libmad0-dev recommends no packages.

libmad0-dev suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cplusplus-fix.patch
Type: text/x-diff
Size: 285 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mad-maintainers/attachments/20090123/26383014/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-mad-maintainers/attachments/20090123/26383014/attachment.pgp 


More information about the pkg-mad-maintainers mailing list