#15 Compile error

open
nobody
None
5
2014-10-16
2006-04-09
Anonymous
No

Hey guys i am getting a compile error when trying to
compile mmpython, any help will be greatly appreciated.

Below is the error im getting

>>> emerge (1 of 9) dev-python/mmpython-0.4.9 to /
>>> md5 files ;-) mmpython-0.4.9.ebuild
>>> md5 files ;-) mmpython-0.4.8.ebuild
>>> md5 files ;-) mmpython-0.4.7.ebuild
>>> md5 files ;-) files/digest-mmpython-0.4.7
>>> md5 files ;-) files/digest-mmpython-0.4.8
>>> md5 files ;-) files/digest-mmpython-0.4.9
>>> md5 src_uri ;-) mmpython-0.4.9.tar.gz
>>> Unpacking source...
>>> Unpacking mmpython-0.4.9.tar.gz to /var/tmp/
portage/mmpython-0.4.9/work
>>> Source unpacked.
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/mmpython
copying synchronizedobject.py -> build/lib.linux-i686-
2.4/mmpython
copying table.py -> build/lib.linux-i686-2.4/mmpython
copying mediainfo.py -> build/lib.linux-i686-2.4/
mmpython
copying factory.py -> build/lib.linux-i686-2.4/mmpython
copying __init__.py -> build/lib.linux-i686-2.4/
mmpython
copying version.py -> build/lib.linux-i686-2.4/mmpython
creating build/lib.linux-i686-2.4/mmpython/video
copying video/mkvinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/asfinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/fourcc.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/movinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/realinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/movlanguages.py -> build/lib.linux-i686-
2.4/mmpython/video
copying video/riffinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/ogminfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/__init__.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/mpeginfo.py -> build/lib.linux-i686-2.4/
mmpython/video
copying video/vcdinfo.py -> build/lib.linux-i686-2.4/
mmpython/video
creating build/lib.linux-i686-2.4/mmpython/audio
copying audio/flacinfo.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/eyed3info.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/ac3info.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/ogginfo.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/id3.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/mp3info.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/pcminfo.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/m4ainfo.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/__init__.py -> build/lib.linux-i686-2.4/
mmpython/audio
copying audio/webradioinfo.py -> build/lib.linux-i686-
2.4/mmpython/audio
creating build/lib.linux-i686-2.4/mmpython/audio/eyeD3
copying audio/eyeD3/frames.py -> build/lib.linux-i686-
2.4/mmpython/audio/eyeD3
copying audio/eyeD3/binfuncs.py -> build/lib.linux-
i686-2.4/mmpython/audio/eyeD3
copying audio/eyeD3/mp3.py -> build/lib.linux-i686-2.4/
mmpython/audio/eyeD3
copying audio/eyeD3/tag.py -> build/lib.linux-i686-2.4/
mmpython/audio/eyeD3
copying audio/eyeD3/__init__.py -> build/lib.linux-
i686-2.4/mmpython/audio/eyeD3
copying audio/eyeD3/utils.py -> build/lib.linux-i686-2.
4/mmpython/audio/eyeD3
creating build/lib.linux-i686-2.4/mmpython/image
copying image/tiffinfo.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/jpginfo.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/EXIF.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/ImageInfo.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/pnginfo.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/IPTC.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/bins.py -> build/lib.linux-i686-2.4/
mmpython/image
copying image/__init__.py -> build/lib.linux-i686-2.4/
mmpython/image
creating build/lib.linux-i686-2.4/mmpython/disc
copying disc/discinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/dvdinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/lsdvd.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/audioinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/DiscID.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/datainfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/CDDB.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/__init__.py -> build/lib.linux-i686-2.4/
mmpython/disc
creating build/lib.linux-i686-2.4/mmpython/disc
copying disc/discinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/dvdinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/lsdvd.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/audioinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/DiscID.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/datainfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/CDDB.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/__init__.py -> build/lib.linux-i686-2.4/
mmpython/disc
copying disc/vcdinfo.py -> build/lib.linux-i686-2.4/
mmpython/disc
creating build/lib.linux-i686-2.4/mmpython/misc
copying misc/__init__.py -> build/lib.linux-i686-2.4/
mmpython/misc
copying misc/xmlinfo.py -> build/lib.linux-i686-2.4/
mmpython/misc
running build_ext
building 'mmpython/disc/cdrom' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/disc
gcc -pthread -fno-strict-aliasing -DNDEBUG -
march=pentium4 -O2 -pipe -fomit-fram
gcc -pthread -shared -march=pentium4 -O2 -pipe -fomit-
frame-pointer build/temp.l
building 'mmpython/disc/ifoparser' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -
march=pentium4 -O2 -pipe -fomit-fram
In file included from disc/ifomodule.c:13:
/usr/include/dvdread/ifo_types.h:32:2: #error "Must
include <inttypes.h> or <std
In file included from disc/ifomodule.c:13:
/usr/include/dvdread/ifo_types.h:68: error: parse error
before "uint8_t"
/usr/include/dvdread/ifo_types.h:70: error: parse error
before "second"
/usr/include/dvdread/ifo_types.h:71: error: parse error
before "frame_u"
/usr/include/dvdread/ifo_types.h:78: error: parse error
before "uint8_t"
/usr/include/dvdread/ifo_types.h:143: error: parse
error before "uint16_t"
/usr/include/dvdread/ifo_types.h:145: error: parse
error before "code_extension"
/usr/include/dvdread/ifo_types.h:146: error: parse
error before "unknown3"
/usr/include/dvdread/ifo_types.h:175: error: parse
error before '}' token
/usr/include/dvdread/ifo_types.h:231: error: parse
error before "uint8_t"
/usr/include/dvdread/ifo_types.h:258: error: parse
error before "uint8_t"
/usr/include/dvdread/ifo_types.h:260: error: parse
error before "lang_extension"
/usr/include/dvdread/ifo_types.h:261: error: parse
error before "code_extension"
/usr/include/dvdread/ifo_types.h:270: error: parse
error before "uint16_t"
/usr/include/dvdread/ifo_types.h:272: error: parse
error before "nr_of_cell"
/usr/include/dvdread/ifo_types.h:273: error: parse
error before "last_byte"

and then the errors just carry on from there.

later

Discussion

  • Leslie P. Polzer

    Logged In: YES
    user_id=181959

    "me too"

     
  • Leslie P. Polzer

    Logged In: YES
    user_id=181959

    This tiny patch fixes the offending file: http://nic-nac-
    project.de/~skypher/ifomodule.patch

     

Log in to post a comment.