Re: context.cr2
On Wed, Jun 07, 2006 at 03:31:04PM +0200, Kasper Jordaens wrote:
> I still get an error when compiling, but when I totally remove the
> reference, it compiles without error?? although the app doens' run and
> complains about
> [Restarting capture daemon for Cam1, shared memory not valid]
>
>
> that could be the lowlevel stuff right?
>
> tnx for helping, maybe I should ask zoneminder developer.
>
> zm_signal.cpp: In function 'void zm_die_handler(int, sigcontext)':
> zm_signal.cpp:95: error: base operand of '->' has non-pointer type
> 'sigcontext'
> make[1]: *** [zm_signal.o] Error 1
> make[1]: Leaving directory `/var/www/ZoneMinder-1.22.2/src'
Duh, my fault, sorry. I wrote it backwards, swapping the "." and
"->" operators. It should read:
context.pt_regs->nip and context.pt_regs->dar
Gabriel
Reply to: