[Solved] Compile error
Posted: Sun Sep 04, 2011 12:58 pm
My compile is dying because of the following error (OpenSuse 11.3). Any idea what could be wrong?
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/mysql/include -I/usr/include//include -Wall -Wno-sign-compare -fno-inline -I/usr/include//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:22: error: âPATH_MAXâ was not declared in this scope
zm_local_camera.cpp:779:21: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:781:22: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:782:29: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:799:67: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:801:54: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:811:92: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:936:91: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:961:82: error: âqueryDeviceâ was not declared in this scope
zm_local_camera.cpp:1086:90: error: âqueryDeviceâ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/tmp/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/ZoneMinder-1.25.0'
make: *** [all] Error 2