Walter Klomp
2006-Mar-15 07:39 UTC
[Asterisk-Users] Zaptel compile errors on x86_64 - DEFINE_SPINLOCK???
Hi, (sorry for my mistake in not deleting the rest of the message just now) The problem seems to be here in zaptel.c (and torisa.c) #ifdef DEFINE_SPINLOCK static DEFINE_SPINLOCK(zaptimerlock); static DEFINE_SPINLOCK(bigzaplock); #else static spinlock_t zaptimerlock = SPIN_LOCK_UNLOCKED; static spinlock_t bigzaplock = SPIN_LOCK_UNLOCKED; #endif If I remark out as follows: //#ifdef DEFINE_SPINLOCK //static DEFINE_SPINLOCK(zaptimerlock); //static DEFINE_SPINLOCK(bigzaplock); //#else static spinlock_t zaptimerlock = SPIN_LOCK_UNLOCKED; static spinlock_t bigzaplock = SPIN_LOCK_UNLOCKED; //#endif Things compile, but I don't know what it actually does. Any comments?> Message: 18 > Date: Wed, 15 Mar 2006 11:18:36 +0100 > From: Dave Cotton <dcotton@linuxautrement.com> > Subject: Re: [Asterisk-Users] Zaptel compile errors on x86_64 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Message-ID: <1142417917.22407.0.camel@RobinHood.LinuxAutrement.local> > Content-Type: text/plain > > On Wed, 2006-03-15 at 17:49 +0800, Walter Klomp wrote: >> Hi, >> >> Just downloaded the latest cvs from zaptel on my sparking new Athlon64 >> Centos4.2 system, but hitting a stumbling block... (sorry for the long >> post) > > Kernel source installed? > -- > Dave Cotton <dcotton@linuxautrement.com>