Page 1 of 1

Compiling error on OpenSuse 10.3

Posted: Wed Apr 30, 2008 5:31 pm
by ronluna
I'm on opensuse 10.3 and I'm trying to compile ZoneMinder 1.23.3 but while compiling I get this error

g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/bin/include -Wall -Wno-sign-compare -g -O2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
zm_signal.cpp:95: error: ‘struct sigcontext’ has no member named ‘cr2’
make[2]: *** [zm_signal.o] Error 1
make[2]: Leaving directory `/root/ZoneMinder-1.23.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ZoneMinder-1.23.3'
make: *** [all] Error 2
linux-znck:~/ZoneMinder-1.23.3 #

btw got the same error on 1.23.2

any ideas?

Posted: Wed Apr 30, 2008 5:57 pm
by cordel
This error only pops up for platforms other than i386-i686, and amd64.
To date I don't believe a work around has been found.
The only other person I am aware of that incountered this error gave up while trying to work it out.

Posted: Wed Apr 30, 2008 6:03 pm
by ronluna
bad news for me... :(... I was really hoping to get my old B&W 500MHZ PowerPC back to work with ZoneMinder...

Is there somewhere that you might know where I can look into to get more info about this issue?

Posted: Wed Apr 30, 2008 6:05 pm
by cordel
Something you might want to try is to disable crash tracing, and to the end of your configure line for ZM without the quotes of coarse "--disable-crashtrace" since it is a signal tracing function. While it's not a fix, it may get you going.

Posted: Wed Apr 30, 2008 6:55 pm
by ronluna
THANK YOU SO MUCH... IT WORKED!!!

the only problem now is the capture card... the system recognize it but I'm only getting blue and black frames in the montage view...

is a Kodicom 4400 comes with 4 bt878 chips...

any ideas why that might be?