PATH_MAX error building ZM on Debian 6.0.6
Posted: Mon Nov 12, 2012 1:55 pm
I'm trying to compile ZoneMinder on a pretty standard Debian 6.0.6 installation. The configure script runs successfully, however when trying to make, I get the following error
Could someone please point me in the right direction?
Code: Select all
zm_image.cpp: In member function void Image::Blend(const Image&, int) const:
zm_image.cpp:777: warning: operation on pdest may be undefined
mv -f .deps/zm_image.Tpo .deps/zm_image.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool):
zm_local_camera.cpp:774: error: PATH_MAX was not declared in this scope
zm_local_camera.cpp:779: error: queryDevice was not declared in this scope
zm_local_camera.cpp:781: error: queryDevice was not declared in this scope
zm_local_camera.cpp:782: error: queryDevice was not declared in this scope
zm_local_camera.cpp:799: error: queryDevice was not declared in this scope
zm_local_camera.cpp:801: error: queryDevice was not declared in this scope
zm_local_camera.cpp:811: error: queryDevice was not declared in this scope
zm_local_camera.cpp:936: error: queryDevice was not declared in this scope
zm_local_camera.cpp:961: error: queryDevice was not declared in this scope
zm_local_camera.cpp:1086: error: queryDevice was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/home/mmcconnell/Programming/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mmcconnell/Programming/ZoneMinder-1.25.0'
make: *** [all] Error 2