Problem comiling Asterisk 10.0.0-rc2

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Problem comiling Asterisk 10.0.0-rc2

Postby crash0 » Sun Nov 20, 2011 12:14 pm

Hi :D

I`m compiling Asterisk v. 10.0.0-rc2

and when i run: make it returns an error:

make[1]: *** No rule to make target '../main/' , needed by 'asterisk'. Stop

Do someone know how to resolve this?
Posts: 1
Joined: Sun Nov 20, 2011 12:08 pm

Re: Problem comiling Asterisk 10.0.0-rc2

Postby sethsdad0627 » Mon Nov 21, 2011 10:33 am

Either you need to install gcc or the kernel-source-devel - see ... 45788.html
Posts: 208
Joined: Tue Nov 04, 2008 9:15 am

Re: Problem comiling Asterisk 10.0.0-rc2

Postby smartbyte » Thu Jan 19, 2012 7:18 pm

I still have that issue, and think I know what the problem is:

Once you enable to embed all modules, the system puts this line into the makeopts.embed_rules

which is wrong, cause there are no modules to load in this directory, so the system doesn't create that file, which causes an error.

What I do, is once asterisk is build to the end, then delete this line out of the file, type in make, and everything works fine.
It's more of a scripting than a code issue, but I would be happy if someone could fix that in asterisk 10.

Posts: 4
Joined: Sun Aug 02, 2009 4:35 pm

Re: Problem comiling Asterisk 10.0.0-rc2

Postby david55 » Fri Jan 20, 2012 2:10 am

smartbyte: You need to report this on

crash0: If you fail to build a release candidate, but don't know whether the problem is yours, you should fallback to a release version.
Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest