Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Error building 0.8.1

Ramiro
2006-05-13
2013-05-30
  • Ramiro
    Ramiro
    2006-05-13

    Hi,
    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[1]: *** [libmediatomb_a-web_request_handler.o] Error 1
    make[1]: 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

    Regards
    Ramiro

     
    • Jin
      Jin
      2006-05-14

      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.

      Greetings,
      Jin