Subject: Re: [ecasound] os x compile failure
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Fri Oct 29 2004 - 09:30:13 EEST
On Thu, 28 Oct 2004, j.c.w. wrote:
> i just grabbed the 2.4.3 source and tried to fire it up on os x 10.3.
> it was a no go. i get the following:
I guess you are talking about 2.3.4...? :)
> eca-chainsetup.cpp: In member function `void
> ECA_CHAINSETUP::lock_all_memory()
> ':
> eca-chainsetup.cpp:621: error: `::mlockall' undeclared (first use here)
> eca-chainsetup.cpp:621: error: `MCL_CURRENT' undeclared (first use this
> function)
Could you verify whether "-D_P1003_1B_VISIBLE" is used as an gcc option
during compilation?
And also, do you have the line '#define HAVE_MLOCKALL 1' in
ecasound-2.3.4/config.h after running configure?
> any thoughts? i would love to have ecasound running on my powerbook.
> hopefully i've just done something silly.
I'm afraid I'm the silly one here. :) I thought I had finished all the OS
X related changes, but now it seems I've forgotten something out. :(
You can get around the problem by commenting (put '/* */' around the
line) out the '#define HAVE_ML...' line in config.h, and then running
make. But I really should fix this properly so that memory locking is not
just disabled, as it should really work on OS X.
-- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Fri Oct 29 2004 - 09:30:21 EEST