Code: Select all
Thu Jan 29-11:48:40-root@eiji.tsukinokage.net:ZoneMinder-1.24.0> make check
Making check in src
make[1]: Entering directory `/root/ZoneMinder-1.24.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr//include -I/usr/lib//include -Wall -Wno-sign-compare -fno-inline -I/usr/lib//include -frepo -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_mpeg.h:23,
from zm_stream.h:27,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:28,
from zmc.cpp:28:
zm_ffmpeg.h:33:2: error: #error "No location for avutils.h found"
zm_ffmpeg.h:40:2: error: #error "No location for avcodec.h found"
zm_ffmpeg.h:47:2: error: #error "No location for avformat.h found"
zm_ffmpeg.h:55:2: error: #error "No location for swscale.h found"
In file included from zm_stream.h:27,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:28,
from zmc.cpp:28:
zm_mpeg.h:43: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:44: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:44: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:45: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:45: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:46: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:46: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:47: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:47: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:48: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:48: error: expected ‘;’ before ‘*’ token
make[1]: *** [zmc.o] Error 1
make[1]: Leaving directory `/root/ZoneMinder-1.24.0/src'
make: *** [check-recursive] Error 1
My compiler items are:
gcc-4.3.0-8.i386
compat-gcc-34-g77-3.4.6-9.i386
gcc-c++-4.3.0-8.i386
compat-gcc-34-3.4.6-9.i386
compat-gcc-34-c++-3.4.6-9.i386
I have moved a large portion of my ffmpeg libraries to one folder, and eliminated most of the errors.
Code: Select all
make all-recursive
make[1]: Entering directory `/root/ZoneMinder-1.24.0'
Making all in src
make[2]: Entering directory `/root/ZoneMinder-1.24.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr//include -I/usr/include//include -Wall -Wno-sign-compare -fno-inline -I/usr/include//include -frepo -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:28,
from zm_event.h:40,
from zm_zone.h:28,
from zm_monitor.h:29,
from zmc.cpp:29:
zm_mpeg.h:44: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:44: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:45: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:45: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:46: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:46: error: expected ‘;’ before ‘*’ token
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/root/ZoneMinder-1.24.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ZoneMinder-1.24.0'
make: *** [all] Error 2
Code: Select all
Thu Jan 29-13:24:55-root@eiji.tsukinokage.net:~> cd /usr/include/ffmpeg
Thu Jan 29-13:25:03-root@eiji.tsukinokage.net:ffmpeg> ls
libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswscale
Thu Jan 29-13:25:03-root@eiji.tsukinokage.net:ffmpeg> cp */* ./
Thu Jan 29-13:25:09-root@eiji.tsukinokage.net:ffmpeg> ls
adler32.h avformat.h base64.h intfloat_readwrite.h libavformat log.h mem.h rational.h sha1.h
avcodec.h avio.h common.h libavcodec libavutil lzo.h opt.h rgb2rgb.h swscale.h
avdevice.h avstring.h crc.h libavdevice libpostproc mathematics.h postprocess.h rtspcodes.h
avfilter.h avutil.h fifo.h libavfilter libswscale md5.h random.h rtsp.h