gcc stops with an error when building 0.8.1:
../src/web_request_handler.cc: In member function 'virtual void WebRequestHandler::get_info(const char*, File_Info*)':
../src/web_request_handler.cc:86: error: 'time' was not declared in this scope
make: *** [libmediatomb_a-web_request_handler.o] Error 1
make: Leaving directory `/usr/local/src/mediatomb-0.8.1/build'
make: *** [all-recursive] Error 1
Adding #include <time.h> to the top of web_request_handler.cc solves it.
Same happens with web/login.cc
Thanks for the report, I will update the patch, or maybe even bring out a 0.8.2 containing patches for the latest build problems. Unfortunately I can not bring out any new features because the upcoming 0.9 codebase differs from the old one too much.
Log in to post a comment.