wont start after source compile - prototype mismatch
Posted: Sat Aug 27, 2011 1:54 am
<<<
brief background - skip after brackets if not required : I have run zoneminder 1.24.2 under ubuntu 10.4 successfully for quite some time now. I recently moved to a core 2 duo machine under Ubuntu 10.4 64 bit. However when I try to start zoneminder it gives me a segfault on my video camera that I know works with zoneminder. ZM otherwise looks normal save for a missing cycle/montage link. I though it a good time to move to zoneminder 1.24.4 and compile from source.
>>>
I have searched this forum but havent found anything that I think helps, but Ill happily re-read any if people think otherwise ...
Anyway, after the compile etc, when I try to start the service I get :
I do the config using this script :
I did get an error for nmap, and the --enable-nmap=no or --disable-nmap errors didnt change that (which I found strange), so I added the functionality through Perl.
The make then produces only these warnings :
and the make install appears to run clean.
Can anybody point me to where to look to fix this please?
brief background - skip after brackets if not required : I have run zoneminder 1.24.2 under ubuntu 10.4 successfully for quite some time now. I recently moved to a core 2 duo machine under Ubuntu 10.4 64 bit. However when I try to start zoneminder it gives me a segfault on my video camera that I know works with zoneminder. ZM otherwise looks normal save for a missing cycle/montage link. I though it a good time to move to zoneminder 1.24.4 and compile from source.
>>>
I have searched this forum but havent found anything that I think helps, but Ill happily re-read any if people think otherwise ...
Anyway, after the compile etc, when I try to start the service I get :
Code: Select all
root@Gonzalez:/home/colic/Zoneminder# sudo service zoneminder start
Starting ZoneMinder: Prototype mismatch: sub main::getCmdFormat () vs none at /usr/bin/zmpkg.pl line 306.
Subroutine getCmdFormat redefined at /usr/bin/zmpkg.pl line 241.
Prototype mismatch: sub main::runCommand ($) vs none at /usr/bin/zmpkg.pl line 333.
Subroutine runCommand redefined at /usr/bin/zmpkg.pl line 309.
failure
Code: Select all
export ZM_SSL_LIB=openssl
./configure --enable-mmap=no --with-webdir=/usr/share/zoneminder --with-cgidir=/usr/cgi-bin --with-webuser=www-data --with-webgroup=www-data --with-libarch=/usr/lib
The make then produces only these warnings :
Code: Select all
2316-zm_image.cpp: In member function ‘void Image::Blend(const Image&, int) const’:
2399:zm_image.cpp:777: warning: operation on ‘pdest’ may be undefined
2468-mv -f .deps/zm_image.Tpo .deps/zm_image.Po
--
6345-zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
6416:zm_signal.cpp:112: warning: format not a string literal and no format arguments
6496:zm_signal.cpp:112: warning: format not a string literal and no format arguments
6576:zm_signal.cpp:126: warning: format not a string literal and no format arguments
6656-mv -f .deps/zm_signal.Tpo .deps/zm_signal.Po
--
8088-zm_zone.cpp: In static member function ‘static int Zone::Load(Monitor*, Zone**&)’:
8175:zm_zone.cpp:903: warning: ignoring return value of ‘int atoi(const char*)’, declared with attribute warn_unused_result
8298-mv -f .deps/zm_zone.Tpo .deps/zm_zone.Po
Can anybody point me to where to look to fix this please?