Home Forum Developers IP0x Trouble selecting chan_dahdi with gcc 4.6

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


bradley
useravatar
User Info

Trouble selecting chan_dahdi with gcc 4.6

Hallo

After updating to Ubuntu 11.10 64-bit, I had a problem compiling switchfin rev 650. This was because of an error with dependencies for chan_dahdi. After searching for the error, users that had recently installed Fedora 15 had the same issue.

Both Fedora 15 and Ubuntu 11.10 has gcc 4.6, which has a problem with menuselect dependencies, as shown in this bug report: https://issues.asterisk.org/jira/browse/ASTERISK-18062. Unfortunately the fix has not been ported back to asterisk 1.4. To confirm the issue, I patched my local copy of asterisk-1.4.42 with the menuselect patches in that bug report, and then chan_dahdi could be selected in menuselect.

For the time being, I guess we would have to keep our development environment as is for asterisk-1.4, in the absence of development support on it.

Cheers

Bradley


Administrator has disabled public posting
Chewi
useravatar
User Info

Re: Trouble selecting chan_dahdi with gcc 4.6

menuselect.makeopts actually lists the modules that you DON'T want, not the ones you do. I was going to say that the last big change to that file was by me but that was back in July and it looks like it wasn't my fault. smile


Administrator has disabled public posting
sam
useravatar
User Info

Re: Trouble selecting chan_dahdi with gcc 4.6

bradley wrote:

Hallo

After updating to Ubuntu 11.10 64-bit, I had a problem compiling switchfin rev 650. This was because of an error with dependencies for chan_dahdi. After searching for the error, users that had recently installed Fedora 15 had the same issue.

Both Fedora 15 and Ubuntu 11.10 has gcc 4.6, which has a problem with menuselect dependencies, as shown in this bug report: https://issues.asterisk.org/jira/browse/ASTERISK-18062. Unfortunately the fix has not been ported back to asterisk 1.4. To confirm the issue, I patched my local copy of asterisk-1.4.42 with the menuselect patches in that bug report, and then chan_dahdi could be selected in menuselect.

For the time being, I guess we would have to keep our development environment as is for asterisk-1.4, in the absence of development support on it.

Cheers

Bradley
I had a similar problem when I tried to compile Asterisk 1.8.4.
Under Ubuntu 11.04 when I launch "make menuselect" I can select chan_dahdi and I see:
chan_dahdi depends on: dahdi(E), tonezone(E) and Can use: res_smdi(M), pri(E), ss7(E), openr2(E)
But under 11.10 I can't select chan_dahdi and I have these instead:
chan_dahdi depends on: dahdi(E), tonezone(E), res_smdi(M), pri(E), ss7(E), openr2(E)

BR,
Sam


Administrator has disabled public posting
Chewi
useravatar
User Info

Re: Trouble selecting chan_dahdi with gcc 4.6

I just encountered this problem myself and totally forgot about this thread. I have added the patch to trunk so it shouldn't bother us any more. smile


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 211
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked