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 <[EMAIL PROTECTED]>
Subject: Re: [Asterisk-Users] Zaptel compile errors on x86_64
To: Asterisk Users Mailing List - Non-Commercial Discussion
<[email protected]>
Message-ID: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users