[MPlayer-users] Build problem with new libdvdread

Götz Waschk goetz.waschk at gmail.com
Fri Jan 27 15:27:53 CET 2006


Hi,

in my Mandriva package of today's snapshot I have a build problem with
libdvdread 0.9.5:

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -g
-pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer
-march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/lzo -I.. -I../loader 
-I/usr/include/lzo  -I../libavutil -I../libavcodec -I../libavformat   
-I/usr/lib/live/liveMedia/include
-I/usr/lib/live/UsageEnvironment/include
-I/usr/lib/live/BasicUsageEnvironment/include
-I/usr/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp
In file included from stream.h:290,
                 from demux_rtp.h:8,
                 from demux_rtp.cpp:9:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
<inttypes.h> or <stdint.h> before any libdvdread header."

inttypes.h is already included, but the test in ifo_types.h that
throws the error fails. This is because the required macros
(UINT8_MAX, UINT16_MAX,...) are disabled for C++ code unless you
define __STDC_LIMIT_MACROS.

I can confirm that MPlayer 20060127 built fine with this macro defined.

HTH, Götz
--
Terminate Schwarzenegger




More information about the MPlayer-users mailing list