View Single Post
  #3   (View Single Post)  
Old 17th August 2011
map7 map7 is offline
Fdisk Soldier
Join Date: Jun 2008
Posts: 75

Ok, so it's ffmpeg's fault this is not compiling

Here is my output of ldd:
# ldd /usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg: => /usr/local/lib/ (0x2808e000) => /usr/local/lib/ (0x2809b000) => /usr/local/lib/ (0x280c2000) => /usr/local/lib/ (0x280c6000) => /usr/local/lib/ (0x28166000) => /usr/local/lib/ (0x28778000) => /lib/ (0x28787000) => /lib/ (0x2879c000) => /lib/ (0x287af000) => /lib/ (0x288ab000) => /usr/lib/ (0x288bd000) => /usr/local/lib/ (0x288cd000) => /usr/local/lib/ (0x28918000) => /usr/local/lib/ (0x28a11000) => not found (0x0) => /usr/local/lib/ (0x28a39000)

If I compile musicpd without ffmpeg it compiles fine.

Now if I try and recompile ffmpeg I get this error:
e-2.8.4/Source   -I/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx -o SystemTools.o
In file included from /usr/include/c++/4.2/backward/strstream:51,
                 from /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:38,
                 from /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx:26:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx:26:
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream: In member function 'void cmsys_ios::istringstream::clear(int)':
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:176: error: invalid conversion from 'int' to 'std::_Ios_Iostate'
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:176: error:   initializing argument 1 of 'void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]'
*** Error code 1

Stop in /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk.
Error when bootstrapping CMake:
Problem while running make
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log
===>  Script "configure" failed unexpectedly.
Please report the problem to [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.4/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
*** Error code 1

Stop in /usr/ports/devel/cmake.
*** Error code 1

Stop in /usr/ports/graphics/opencv-core.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
Reply With Quote