Search found 13 matches

by stanke
Tue Mar 17, 2009 10:37 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

stanke, I love making things do things they are not suppose to do. I was going to fire up the old DNS 323, but looks like I'll hold off on that after your report. What I do have is 4 old Xbox's running Xebian, basically Debian. I've also got an Xbox 360 that has an exploit in the dash and boots my ...
by stanke
Tue Mar 17, 2009 7:09 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

Hello Blazer. The trick is to use the --disable-backtrace in the ./configure run. It's even clearly stated during the configure run that backtrace may give trouble while compiling zm_singal.cpp. Anyway, I didn't do that because I wasn't able to run the ./configure again since my Perl started ...
by stanke
Mon Mar 16, 2009 11:44 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

ok I pasted following code into zm.cpp extern "C" { double round (double x) { int x_int = (int)(x+0.5); return(x_int); } } that solved the round reference problem now I'm stuck with only zm_signal.o: In function `zm_die_handler(int, sigcontext)': /shares/internal/stanke/zoneminder/src/zm_signal.cpp ...
by stanke
Mon Mar 16, 2009 9:07 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

Does adding -lm (which sould add libm which is math lib that has the round() function) to the flags help at all? Hmm I also read that: 2. undefined reference to 'round' - arm libraries don't have round function implemented. The simplest solution is to add such a function to a device server class, i ...
by stanke
Mon Mar 16, 2009 8:15 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

ok now everything is compiled in ./src but linker reports errors: make all-recursive make[1]: Entering directory `/shares/internal/stanke/zoneminder' Making all in src make[2]: Entering directory `/shares/internal/stanke/zoneminder/src' make[3]: Entering directory `/shares/internal/stanke/zoneminder ...
by stanke
Mon Mar 16, 2009 7:39 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

I will keep posting resolutions to problems if someone else needs to compile for ARM9 in zm_signal.cpp, line 90 Error ("Signal blah blah %p, blah" , context.cr2); should be replaced by: Error ("Signal blah blah %p, blah" , context.fault_address); since that is the machine specific register for ARM9 ...
by stanke
Mon Mar 16, 2009 6:36 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

solved last problem

had to add

Code: Select all

#include <sys>
#include <sys>
into zm_comms.h

yeah, Blazer, that's it... but doesn't reflect on the problems I had later

thanks anyway

edit: hmm the phpBB has been truncating uio.h and socket.h from the above include statements
by stanke
Mon Mar 16, 2009 4:19 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

ok, I fooled the compiler by copying the execinfo.h into the include path so the above problem is solved. Now a new problem appears :) g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/include -I/opt/lib/include -Wall -Wno-sign-compare -fno-inline -I/opt/lib/include -frepo -g -O2 -c -o zm_comms.o zm_comms.cpp ...
by stanke
Mon Mar 16, 2009 1:31 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

oh, I forgot to mention full distro name:

Code: Select all

[root@MyBookWorld /]# uname -a
Linux MyBookWorld 2.6.17.14 #1 PREEMPT Mon Mar 26 12:36:33 BST 2007 armv5tejl GNU/Linux
by stanke
Mon Mar 16, 2009 12:59 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

thanks newvisionantenna I tried fooling it by copying the /opt/include to /opt/lib/include now I get this: [root@MyBookWorld zoneminder]# make make all-recursive make[1]: Entering directory `/shares/internal/stanke/zoneminder' Making all in src make[2]: Entering directory `/shares/internal/stanke ...
by stanke
Mon Mar 16, 2009 12:11 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

could it be that the makefile is looking for my libjpeg headers in /opt/lib/include which doesn't exist, while they actually are located at /opt/include ??? How do I tell ./configure to look into /opt/include? I ran ./configure with options: --with-libarch=/opt/lib --with-mysql=/usr/lib --with ...
by stanke
Mon Mar 16, 2009 12:05 pm
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

I did compile libjpeg from source on the ARM9, since there was no libjpeg-devel available for the distro, and ZM requires libjpeg.a. I will sure make a RPM or whatever, because the work is tedious believe me. I did consider cross-compiling, but I think that acquiring and compiling an ARM9 (armv5tejl ...
by stanke
Mon Mar 16, 2009 11:50 am
Forum: ZoneMinder 1.24.x
Topic: installing on ARM9
Replies: 21
Views: 15717

installing on ARM9

Hello all I've been trying to install from source on an ARM9 machine. As far as I can tell, nobody before tried it. Anyway, I have an Elro c800ip network camera, and it's compatible with D-Link 900 camera, so I guess it should work with ZoneMinder. I chose to install ZoneMinder on my cracked Western ...