Any one with zm on Ubuntu 9.10 server 32 bit ?

Forum for questions and support relating to the 1.24.x releases only.
Locked
yosepht
Posts: 20
Joined: Sat Jan 03, 2009 9:20 pm

Any one with zm on Ubuntu 9.10 server 32 bit ?

Post by yosepht »

I followed the ZM installation guide on Ubuntu 9.04 server 32 bit. But the compilation
failed and "make" returned 2 errors in the "Install & Config zoneminder" section. If you
had a successful zm install on Ubuntu 9.10 server 32 bit please help with how
you were able to get it done. If you followed this procedure what changes did you make?
http://www.zoneminder.com/wiki/index.ph ... rver_32bit
Thanks :(
temper5
Posts: 5
Joined: Sat Sep 19, 2009 2:01 pm

Post by temper5 »

Sidon
Posts: 4
Joined: Wed Nov 18, 2009 4:52 pm

Re: Any one with zm on Ubuntu 9.10 server 32 bit ?

Post by Sidon »

yosepht wrote:I followed the ZM installation guide on Ubuntu 9.04 server 32 bit. But the compilation
failed and "make" returned 2 errors in the "Install & Config zoneminder" section. (
What is the message error?
yosepht
Posts: 20
Joined: Sat Jan 03, 2009 9:20 pm

Post by yosepht »

Here are a few of the lines from make. I couldn't cut and paste from a server terminal on
another computer.
================================
:
:
zm_utitls.cpp:32: error: 'vsprintf" was not declared in this scope
:
:
zm_utils.cpp:47: error: "vsprintf" was not declared in this scope
:
:
:
make[2]: *** [zm_utils.o] error1
make[2]: leaving directory 'usr/src/zm/src
make[2]: *** [all_recursive] error1
make[2]: leaving directory 'usr/src/zm
make: *** [all] error 2

=====================================

Thanks for taking the time. Yoseph.
Sidon
Posts: 4
Joined: Wed Nov 18, 2009 4:52 pm

Post by Sidon »

yosepht wrote:Here are a few of the lines from make. I couldn't cut and paste from a server terminal on
another computer.
================================
:
:
zm_utitls.cpp:32: error: 'vsprintf" was not declared in this scope
:
:
zm_utils.cpp:47: error: "vsprintf" was not declared in this scope
Try this:
Edit the file: ZoneMinder-1.24.2/src/zm_utils.cpp and, after the second line, add the following:

Code: Select all

+#include <stdio>
Sidon
Posts: 4
Joined: Wed Nov 18, 2009 4:52 pm

Post by Sidon »

Sidon wrote:

Code: Select all

+#include <stdio>
Note:
After the word 'stdio' there is a dot and one caracter "h", which are missing after submit.

stdio.h
yosepht
Posts: 20
Joined: Sat Jan 03, 2009 9:20 pm

Post by yosepht »

Thanks Sidon. "# include <stdio>" worked. It compiled without errors after that.
Thanks much for your help.
Locked