configure warning; make error

Forum for questions and support relating to the 1.25.x releases only.
Locked
zmnewbie
Posts: 1
Joined: Tue Aug 07, 2012 10:17 am

configure warning; make error

Post by zmnewbie »

I have ffmpeg installed, and modified configure script so it says

Code: Select all

CPPFLAGS="${FFMPEG_CFLAGS} $CPPFLAGS -D__STDC_CONSTANT_MACROS"
but I get:

Code: Select all

configure: WARNING: libavcodec.a is required for MPEG streaming
Then I try 'make' and get:

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include  -D__STDC_CONSTANT_MACROS  -g -O2 -MT zm_logger.o -MD -MP -MF .deps/zm_logger.Tpo -c -o zm_logger.o zm_logger.cpp
zm_logger.cpp: In constructor ‘Logger::Logger()’:
zm_logger.cpp:112:49: error: ‘isatty’ was not declared in this scope
zm_logger.cpp: In member function ‘void Logger::logFile(const string&)’:
zm_logger.cpp:444:69: error: ‘getpid’ was not declared in this scope
zm_logger.cpp: In member function ‘void Logger::logPrint(bool, const char*, int, int, const char*, ...)’:
zm_logger.cpp:519:39: error: ‘syscall’ was not declared in this scope
zm_logger.cpp:521:22: error: ‘getpid’ was not declared in this scope
zm_logger.cpp: At global scope:
zm_logger.cpp:43:13: warning: ‘void subtractTime(timeval*, timeval*)’ defined but not used [-Wunused-function]
make[2]: *** [zm_logger.o] Error 1
Locked