I'm try to build my server with zoneminder on FreeBSD. And it gets me such error:
Code: Select all
--- zm_logger.o ---
zm_logger.cpp:113:28: error: use of undeclared identifier 'isatty'
if ( fileno(stderr) && isatty(fileno(stderr)) )
^
zm_logger.cpp:445:62: error: use of undeclared identifier 'getpid'
mLogFile = stringtf( "%s.%05d", tempLogFile.c_str(), getpid() );
^
zm_logger.cpp:526:15: error: use of undeclared identifier 'getpid'
tid = getpid(); // Process id
^
3 errors generated.
*** [zm_logger.o] Error code 1
Thanks!