Okay here is what I have done now.
* Removed all traces of my current ffmpeg build
* Downloaded latest ffmpeg via svn: svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
* Configured ffmpeg: ./configure --enable-gpl --enable-swscale --enable-shared --enable-pthreads
* Installed ffmpeg: make install; make install-libs
* Downloaded zm from svn: svn co
http://svn.zoneminder.com/svn/zm/trunk zm
* configured ZM: ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/bin ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --enable-debug=yes --with-webgroup=apache --with-webuser=apache ZM_SSL_LIB=openssl
I now get the following errors, mostly undefined reference errors in every file:
Code: Select all
m_utils.o: In function `startsWith(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/tmp/zm/src/zm_utils.cpp:56: undefined reference to `__gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
zm_utils.o: In function `split(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/tmp/zm/src/zm_utils.cpp:61: undefined reference to `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::vector()'
/tmp/zm/src/zm_utils.cpp:71: undefined reference to `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/zm/src/zm_utils.cpp:78: undefined reference to `std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/tmp/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zm'
make: *** [all] Error 2
Should I be using the tarball release of ZM instead of trunk (dunno if trunk is unstable version)?