[asterisk-dev] Asterisk 11 won't compile?
Dan Cropp
dan at amtelco.com
Tue Sep 18 16:21:19 CDT 2012
Hi Shaun,
Thanks for the reply.
Unfortunately, "make distclean" in res/pjproject didn't resolve the
problem.
Dan
-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Shaun
Ruffell
Sent: Tuesday, September 18, 2012 3:55 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Asterisk 11 won't compile?
On Tue, Sep 18, 2012 at 03:42:36PM -0500, Dan Cropp wrote:
> I apologize for such a simple question. I have been digging all day
> but can't find a reference indicating any new package that I'm
> missing.
>
> I am trying to compile Asterisk 11 from svn. (Debian AMD 64)
>
> The following is where it breaks.
>
> ....
>
> [CC] func_version.c -> func_version.o
> [LD] func_version.o -> func_version.so
> [CC] func_vmcount.c -> func_vmcount.o
> [LD] func_vmcount.o -> func_vmcount.so
> [CC] func_volume.c -> func_volume.o
> [LD] func_volume.o -> func_volume.so
> make[5]: ccar: Command not found
> make[5]: *** [../lib/libpj-x86_64-unknown-linux-gnu.a] Error 127
> make[4]: *** [pjlib] Error 2
> make[3]: *** [all] Error 1
> make[2]: *** [pjproject] Error 2
> make[1]: *** [res] Error 2
> make[1]: Leaving directory `/usr/src/ast11'
> make: *** [_cleantest_all] Error 2
>
> Is ccar in a new package that wasn't in Asteirsk 10? I can retrieve
> the Asterisk 10 code and it compiles with a problem. Only seems to
> fail with the Asterisk 11 support.
Hi Dan,
I saw the same thing not too long ago but I dit not track down what the
root cause is. By completely cleaning out res/pjproject I was able to
resolve it.
My guess was that parallel building confused the configuration step and
somehow the 'cc' program and 'ar' program were combined into the same
string.
You could try running "make distclean" in res/pjproject to see if that
will fix things for you.
Cheers,
Shaun
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at:
www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list