I try to install Zoneminder but I get the following ./configure error :
checking for dlsym in -ldl... no
configure: error: zm requires libdl.a
Is there anything I can do about it ? Are there any other FreeBSD users using zoneminder?
Thanks in Advance
ZoneMinder + FreeBSD
FreeBSD port
i've managed to get it compiled on fbsd 5.2 with some minor alterations.. however the zm_local_camera code needs a nearly complete rewrite to support any video devices on fbsd. I'm working on getting BT848 support going since a) that's the hardware i've got and b) camserv code shows me basically how to do it.Is there anything I can do about it ? Are there any other FreeBSD users using zoneminder?
Let me know if you want patches for the other files..
As for libdl.a, just replace -ldl in the makefile with -lc
that'll bring you to the next error..
FreeBSD HELP!!!!!!
everything is ok then i want to make and here is my problem
# make
make all-recursive
Making all in src
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/mysql//include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o `test -f 'zmc.cpp' || echo './'`zmc.cpp; then mv ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
zmc.cpp:22:20: values.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_jpeg.h:20,
from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
jinclude.h:20:65: jconfig.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:21:21: jpeglib.h: No such file or directory
zm_jpeg.h:22:20: jerror.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:25: error: syntax error before `,' token
zm_jpeg.h:26: error: syntax error before `,' token
In file included from zm_monitor.h:28,
from zmc.cpp:26:
zm_image.h:71: error: syntax error before `*' token
zm_image.h:91: error: syntax error before `*' token
zm_image.h:95: error: `p_width' was not declared in this scope
zm_image.h:95: error: ISO C++ forbids declaration of `width' with no type
zm_image.h:95: error: ISO C++ forbids initialization of member `width'
zm_image.h:95: error: making `width' static
zm_image.h:95: error: ISO C++ forbids in-class initialization of non-const
static member `width'
zm_image.h:95: error: declaration of `int Image::width'
zm_image.h:67: error: conflicts with previous declaration `int Image::width'
zm_image.h:96: error: `p_height' was not declared in this scope
zm_image.h:96: error: ISO C++ forbids declaration of `height' with no type
zm_image.h:96: error: ISO C++ forbids initialization of member `height'
zm_image.h:96: error: making `height' static
zm_image.h:96: error: ISO C++ forbids in-class initialization of non-const
static member `height'
zm_image.h:96: error: declaration of `int Image::height'
zm_image.h:68: error: conflicts with previous declaration `int Image::height'
zm_image.h:97: error: `p_colours' was not declared in this scope
zm_image.h:97: error: ISO C++ forbids declaration of `colours' with no type
zm_image.h:97: error: ISO C++ forbids initialization of member `colours'
zm_image.h:97: error: making `colours' static
zm_image.h:97: error: ISO C++ forbids in-class initialization of non-const
static member `colours'
zm_image.h:97: error: declaration of `int Image::colours'
zm_image.h:69: error: conflicts with previous declaration `int Image::colours'
zm_image.h:98: error: invalid use of member `Image::width'
zm_image.h:98: error: invalid use of member `Image::height'
zm_image.h:98: error: invalid use of member `Image::colours'
zm_image.h:98: error: ISO C++ forbids declaration of `size' with no type
zm_image.h:98: error: ISO C++ forbids initialization of member `size'
zm_image.h:98: error: making `size' static
zm_image.h:98: error: ISO C++ forbids in-class initialization of non-const
static member `size'
zm_image.h:98: error: declaration of `int Image::size'
zm_image.h:70: error: conflicts with previous declaration `int Image::size'
zm_image.h:99: error: syntax error before `if'
zm_image.h:102: error: `p_buffer' was not declared in this scope
zm_image.h:102: error: ISO C++ forbids declaration of `buffer' with no type
zm_image.h:102: error: ISO C++ forbids initialization of member `buffer'
zm_image.h:102: error: making `buffer' static
zm_image.h:102: error: ISO C++ forbids in-class initialization of non-const
static member `buffer'
zm_image.h:104: error: syntax error before `else'
zm_image.h:107: error: syntax error before `[' token
zm_image.h:107: error: ISO C++ forbids declaration of `buffer' with no type
zm_image.h:107: error: declaration of `int Image::buffer'
zm_image.h:102: error: conflicts with previous declaration `int Image::buffer'
zm_image.h:108: error: invalid use of member `Image::size'
zm_image.h:108: error: invalid data member initialization
zm_image.h:108: error: (use `=' to initialize static data members)
zm_image.h:108: error: ISO C++ forbids declaration of `memset' with no type
zm_image.h: In constructor `Image::Image(const char*)':
zm_image.h:87: error: `ReadJpeg' undeclared (first use this function)
zm_image.h:87: error: (Each undeclared identifier is reported only once for
each function it appears in.)
zm_image.h: At global scope:
zm_image.h:111: error: syntax error before `}' token
In file included from zm_monitor.h:28,
from zmc.cpp:26:
zm_image.h:20:1: unterminated #ifndef
In file included from zmc.cpp:26:
zm_monitor.h:20:1: unterminated #ifndef
*** Error code 1
Stop in /usr/home/zm-1.18.1/src.
*** Error code 1
Stop in /usr/home/zm-1.18.1.
*** Error code 1
Stop in /usr/home/zm-1.18.1.
PLEASE HELP SOME ONE
# make
make all-recursive
Making all in src
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/mysql//include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o `test -f 'zmc.cpp' || echo './'`zmc.cpp; then mv ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
zmc.cpp:22:20: values.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_jpeg.h:20,
from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
jinclude.h:20:65: jconfig.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:21:21: jpeglib.h: No such file or directory
zm_jpeg.h:22:20: jerror.h: No such file or directory
In file included from zm_image.h:37,
from zm_monitor.h:28,
from zmc.cpp:26:
zm_jpeg.h:25: error: syntax error before `,' token
zm_jpeg.h:26: error: syntax error before `,' token
In file included from zm_monitor.h:28,
from zmc.cpp:26:
zm_image.h:71: error: syntax error before `*' token
zm_image.h:91: error: syntax error before `*' token
zm_image.h:95: error: `p_width' was not declared in this scope
zm_image.h:95: error: ISO C++ forbids declaration of `width' with no type
zm_image.h:95: error: ISO C++ forbids initialization of member `width'
zm_image.h:95: error: making `width' static
zm_image.h:95: error: ISO C++ forbids in-class initialization of non-const
static member `width'
zm_image.h:95: error: declaration of `int Image::width'
zm_image.h:67: error: conflicts with previous declaration `int Image::width'
zm_image.h:96: error: `p_height' was not declared in this scope
zm_image.h:96: error: ISO C++ forbids declaration of `height' with no type
zm_image.h:96: error: ISO C++ forbids initialization of member `height'
zm_image.h:96: error: making `height' static
zm_image.h:96: error: ISO C++ forbids in-class initialization of non-const
static member `height'
zm_image.h:96: error: declaration of `int Image::height'
zm_image.h:68: error: conflicts with previous declaration `int Image::height'
zm_image.h:97: error: `p_colours' was not declared in this scope
zm_image.h:97: error: ISO C++ forbids declaration of `colours' with no type
zm_image.h:97: error: ISO C++ forbids initialization of member `colours'
zm_image.h:97: error: making `colours' static
zm_image.h:97: error: ISO C++ forbids in-class initialization of non-const
static member `colours'
zm_image.h:97: error: declaration of `int Image::colours'
zm_image.h:69: error: conflicts with previous declaration `int Image::colours'
zm_image.h:98: error: invalid use of member `Image::width'
zm_image.h:98: error: invalid use of member `Image::height'
zm_image.h:98: error: invalid use of member `Image::colours'
zm_image.h:98: error: ISO C++ forbids declaration of `size' with no type
zm_image.h:98: error: ISO C++ forbids initialization of member `size'
zm_image.h:98: error: making `size' static
zm_image.h:98: error: ISO C++ forbids in-class initialization of non-const
static member `size'
zm_image.h:98: error: declaration of `int Image::size'
zm_image.h:70: error: conflicts with previous declaration `int Image::size'
zm_image.h:99: error: syntax error before `if'
zm_image.h:102: error: `p_buffer' was not declared in this scope
zm_image.h:102: error: ISO C++ forbids declaration of `buffer' with no type
zm_image.h:102: error: ISO C++ forbids initialization of member `buffer'
zm_image.h:102: error: making `buffer' static
zm_image.h:102: error: ISO C++ forbids in-class initialization of non-const
static member `buffer'
zm_image.h:104: error: syntax error before `else'
zm_image.h:107: error: syntax error before `[' token
zm_image.h:107: error: ISO C++ forbids declaration of `buffer' with no type
zm_image.h:107: error: declaration of `int Image::buffer'
zm_image.h:102: error: conflicts with previous declaration `int Image::buffer'
zm_image.h:108: error: invalid use of member `Image::size'
zm_image.h:108: error: invalid data member initialization
zm_image.h:108: error: (use `=' to initialize static data members)
zm_image.h:108: error: ISO C++ forbids declaration of `memset' with no type
zm_image.h: In constructor `Image::Image(const char*)':
zm_image.h:87: error: `ReadJpeg' undeclared (first use this function)
zm_image.h:87: error: (Each undeclared identifier is reported only once for
each function it appears in.)
zm_image.h: At global scope:
zm_image.h:111: error: syntax error before `}' token
In file included from zm_monitor.h:28,
from zmc.cpp:26:
zm_image.h:20:1: unterminated #ifndef
In file included from zmc.cpp:26:
zm_monitor.h:20:1: unterminated #ifndef
*** Error code 1
Stop in /usr/home/zm-1.18.1/src.
*** Error code 1
Stop in /usr/home/zm-1.18.1.
*** Error code 1
Stop in /usr/home/zm-1.18.1.
PLEASE HELP SOME ONE