Fuppes .675 on OS X fails on FaadWrapper.cpp

Help
Anonymous
2010-07-06
2013-04-25
  • Anonymous

    Anonymous - 2010-07-06

    If I enable faad with the SVN version (675), compiling fails with the following:

    /bin/sh ../libtool  -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I.   -I/opt/local/include/libxml2   -I/opt/local/include   -DFUPPES_DATADIR=\"/usr/local/share/fuppes\" -DFUPPES_PLUGINDIR=\"/usr/local/lib/fuppes\" -DFUPPES_SYSCONFDIR=\"/usr/local/etc/fuppes\"  -I/opt/local/include -L/opt/local/lib -Wall -g -O2 -MT FaadWrapper.lo -MD -MP -MF .deps/FaadWrapper.Tpo -c -o FaadWrapper.lo `test -f 'lib/Transcoding/FaadWrapper.cpp' || echo './'`lib/Transcoding/FaadWrapper.cpp
    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include -DFUPPES_DATADIR=\"/usr/local/share/fuppes\" -DFUPPES_PLUGINDIR=\"/usr/local/lib/fuppes\" -DFUPPES_SYSCONFDIR=\"/usr/local/etc/fuppes\" -I/opt/local/include -L/opt/local/lib -Wall -g -O2 -MT FaadWrapper.lo -MD -MP -MF .deps/FaadWrapper.Tpo -c lib/Transcoding/FaadWrapper.cpp  -fno-common -DPIC -o .libs/FaadWrapper.o
    In file included from lib/Transcoding/FaadWrapper.h:49,
                     from lib/Transcoding/FaadWrapper.cpp:37:
    /opt/local/include/faad.h:32: warning: ignoring #pragma message
    lib/Transcoding/FaadWrapper.cpp: In member function ‘virtual bool CFaadWrapper::LoadLib()’:
    lib/Transcoding/FaadWrapper.cpp:416: error: ‘class CSharedConfig’ has no member named ‘Mp4ffLibName’
    lib/Transcoding/FaadWrapper.cpp:417: error: ‘class CSharedConfig’ has no member named ‘Mp4ffLibName’
    lib/Transcoding/FaadWrapper.cpp:420: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp: In member function ‘void CFaadWrapper::FillBuffer()’:
    lib/Transcoding/FaadWrapper.cpp:563: warning: comparison between signed and unsigned integer expressions
    lib/Transcoding/FaadWrapper.cpp: In member function ‘bool CFaadWrapper::InitAACDecoder()’:
    lib/Transcoding/FaadWrapper.cpp:643: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
    lib/Transcoding/FaadWrapper.cpp:647: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
    lib/Transcoding/FaadWrapper.cpp: In member function ‘bool CFaadWrapper::InitMp4Decoder()’:
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
    lib/Transcoding/FaadWrapper.cpp:732: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long unsigned int’
    lib/Transcoding/FaadWrapper.cpp:735: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
    lib/Transcoding/FaadWrapper.cpp:720: warning: unused variable ‘tag’
    lib/Transcoding/FaadWrapper.cpp:720: warning: unused variable ‘item’
    lib/Transcoding/FaadWrapper.cpp:721: warning: unused variable ‘k’
    lib/Transcoding/FaadWrapper.cpp:721: warning: unused variable ‘j’
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 1

    My faad2 version is 2.7 from MacPorts. Does anyone else has problems with faad?

     
  • Geert Vanhaute

    Geert Vanhaute - 2010-07-06

    Same here on ~amd64 (Intel Core 2 Duo) with Gentoo Linux (Funtoo) installed.
    faad2 is also 2.7-r2

    I see this in changelog of faad2

    *faad2-2.7-r2 (29 Apr 2010)

      29 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> +faad2-2.7-r2.ebuild,
      +files/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch:
      Install mp4ff_int_types.h since we are building unsupported libmp4ff
      library anyway wrt #275008.

    *faad2-2.7-r1 (20 Jul 2009)

      20 Jul 2009; Mike Frysinger <vapier@gentoo.org> +faad2-2.7-r1.ebuild,
      +files/faad2-2.7-libmp4ff-shared-lib.patch:
      Restore mp4ff shared library with Debian patch.

    Maybe this helps resolving this problem?

     
  • Anonymous

    Anonymous - 2010-07-07

    Using the same version of faad2 (v2.7 I've built on Oct 4 2009) for testing, I found that SVN revision 664 is the last version of fuppes that compiles in my system. It seems that revision 665 brought a lot of changes in FaadWrapper.cpp and SharedConfig.cpp (and many other files) which probably might cause this.

     

Log in to post a comment.