I've been trying to install from source on an ARM9 machine.
As far as I can tell, nobody before tried it.
Anyway, I have an Elro c800ip network camera, and it's compatible with D-Link 900 camera, so I guess it should work with ZoneMinder.
I chose to install ZoneMinder on my cracked Western Digital MyBook World Edition, which is a network storage device that runs on Linux and has a gumstix1151 motherboard with ARM9 CPU at 400MHz.
Anyway, after days of installing prerequisites for ZM on the machine (it takes 18 hours to compile mysql ), I've finally succeeded to run ./configure without errors, but then, when I ran "make", here is what I got:
Code: Select all
[root@MyBookWorld zoneminder]# make
make all-recursive
make[1]: Entering directory `/shares/internal/stanke/zoneminder'
Making all in src
make[2]: Entering directory `/shares/internal/stanke/zoneminder/src'
make[3]: Entering directory `/shares/internal/stanke/zoneminder'
make[3]: Leaving directory `/shares/internal/stanke/zoneminder'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/include -I/opt/lib/include -Wall -Wno-sign-compare -fno-inline -I/opt/lib/include -frepo -g -O2 -c -o zmc.o zmc.cpp
In file included from zmc.cpp:27:
zm_signal.h:24:22: execinfo.h: No such file or directory
In file included from zm_monitor.h:27,
from zmc.cpp:28:
zm_image.h:29:18: zlib.h: No such file or directory
In file included from zm_jpeg.h:22,
from zm_image.h:34,
from zm_monitor.h:27,
from zmc.cpp:28:
jinclude.h:20:55: jconfig.h: No such file or directory
In file included from zm_image.h:34,
from zm_monitor.h:27,
from zmc.cpp:28:
zm_jpeg.h:23:21: jpeglib.h: No such file or directory
zm_jpeg.h:24:20: jerror.h: No such file or directory
In file included from zm_image.h:34,
from zm_monitor.h:27,
from zmc.cpp:28:
zm_jpeg.h:29: error: field `pub' has incomplete type
zm_jpeg.h:35: error: variable or field `zm_jpeg_error_exit' declared void
zm_jpeg.h:35: error: `j_common_ptr' was not declared in this scope
zm_jpeg.h:36: error: variable or field `zm_jpeg_emit_message' declared void
zm_jpeg.h:36: error: `j_common_ptr' was not declared in this scope
zm_jpeg.h:36: error: expected primary-expression before "int"
zm_jpeg.h:36: error: initializer expression list treated as compound expression
zm_jpeg.h:39: error: variable or field `jpeg_mem_src' declared void
zm_jpeg.h:39: error: `j_decompress_ptr' was not declared in this scope
zm_jpeg.h:39: error: expected primary-expression before "const"
zm_jpeg.h:39: error: expected primary-expression before "int"
zm_jpeg.h:39: error: initializer expression list treated as compound expression
zm_jpeg.h:40: error: variable or field `jpeg_mem_dest' declared void
zm_jpeg.h:40: error: `j_compress_ptr' was not declared in this scope
zm_jpeg.h:40: error: `JOCTET' was not declared in this scope
zm_jpeg.h:40: error: `outbuffer' was not declared in this scope
zm_jpeg.h:40: error: expected primary-expression before "int"
zm_jpeg.h:40: error: initializer expression list treated as compound expression
In file included from zm_monitor.h:27,
from zmc.cpp:28:
zm_image.h:82: error: ISO C++ forbids declaration of `jpeg_compress_struct' with no type
zm_image.h:82: error: expected `;' before '*' token
zm_image.h:83: error: ISO C++ forbids declaration of `jpeg_decompress_struct' with no type
zm_image.h:83: error: expected `;' before '*' token
zm_image.h:93: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:93: error: expected `;' before '*' token
zm_image.h:107: error: `JSAMPLE' has not been declared
zm_image.h:107: error: ISO C++ forbids declaration of `p_buffer' with no type
zm_image.h:116: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:116: error: `JSAMPLE' declared as an `inline' field
zm_image.h:116: error: expected `;' before '*' token
zm_image.h:117: error: expected `;' before "inline"
zm_image.h:117: error: ISO C++ forbids declaration of `JSAMPLE' with no type
zm_image.h:117: error: `JSAMPLE' declared as an `inline' field
zm_image.h:117: error: expected `;' before '*' token
zm_image.h:119: error: expected `;' before "void"
zm_image.h:142: error: expected `,' or `...' before '*' token
zm_image.h:142: error: ISO C++ forbids declaration of `JOCTET' with no type
zm_image.h:143: error: expected `;' before '(' token
zm_image.h:145: error: expected `,' or `...' before '*' token
zm_image.h:145: error: ISO C++ forbids declaration of `Bytef' with no type
zm_image.h:146: error: expected `;' before '(' token
zm_image.h: In member function `void Image::CopyBuffer(const Image&)':
zm_image.h:129: error: `buffer' undeclared (first use this function)
zm_image.h:129: error: (Each undeclared identifier is reported only once for each function it appears in.)
zm_image.h:129: error: 'const class Image' has no member named 'buffer'
zm_image.h: In member function `Image& Image::operator=(const unsigned char*)':
zm_image.h:133: error: `buffer' undeclared (first use this function)
zm_image.h: In member function `void Image::Clear()':
zm_image.h:167: error: `buffer' undeclared (first use this function)
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/shares/internal/stanke/zoneminder/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/shares/internal/stanke/zoneminder'
make: *** [all] Error 2
Because it took me 3 days just to get the ./configure to run.
thanks,
Milosh