1.22.1 make fails on CentOS 4.3 x86_64 - workaround

Support and queries relating to all previous versions of ZoneMinder
Locked
MILxDOT
Posts: 64
Joined: Wed Mar 29, 2006 5:12 am

1.22.1 make fails on CentOS 4.3 x86_64 - workaround

Post by MILxDOT »

Hey All,

Found a small problem, but then came up with a workaround for building zoneminder on CentOS 4.3 x86_64. The configure works fine, make fails with errors like:

zm_signal.cpp: In function `void zm_die_handler(int, sigcontext)':
zm_signal.cpp:89: error: 'struct sigcontext' has no member named 'eip'
zm_signal.cpp:93: error: 'struct sigcontext' has no member named 'eip'
make[2]: *** [zm_signal.o] Error 1
make[2]: Leaving directory `/usr/src/builds/zm-rhel43-x86_64/ZoneMinder-1.22.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/builds/zm-rhel43-x86_64/ZoneMinder-1.22.1'
make: *** [all] Error 2

I found that if you just add --disable-crashtrace to your configure line the build works just fine. I will be posting a detailed HOWTO for CentOS 4.3 x86_64.

Mike
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Yes, I was a little afraid of this. The signal tracing functions have so many variations that I wasn't surprised that one came up that was halfway between. I will look at making detection of this more automatic.
Phil
mhamel
Posts: 15
Joined: Thu Aug 10, 2006 8:37 am
Location: New Zealand

Post by mhamel »

I have another environment where this happens: Ubuntu Dapper on PowerPC... I'm trying to build for a G3 Power Mac.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks. it is probably more common on non-intel type architectures. What is the performance like on PowerPC?
Phil
mhamel
Posts: 15
Joined: Thu Aug 10, 2006 8:37 am
Location: New Zealand

Post by mhamel »

Hah. I'll post when I, uh, have a camera. I don't have one yet because I wasn't at all sure I could make ZM run on a Mac -- and I'm still rather surprised. Its only a 350MHz B&W G3 but I have 512M in it so I'm hoping it will cope with a couple of 640x480 IP cameras. We shall see.
---
Michael
Locked