[asterisk-users] dahdi 2.6.1+2.6.1 compile fails
Eric Smith
es at fruitcom.com
Sat Nov 3 20:46:47 CDT 2012
Thanks Adolphe
Seems I have that already:
[eric at pepper ~] $ dpkg -l linux-headers-`uname -r`
||/ Name Version Architecture
Description
+++-===========================-==================-==================-============================================================
ii linux-headers-3.5.0-17-gene 3.5.0-17.28 i386
Linux kernel headers for version 3.5.0 on 32 bit x86 SMP
[eric at pepper ~] $ uname -r
Linux pepper 3.5.0-17-generic
--
Eric Smith
Adolphe Cher-Aime wrote on Sat-03-Nov 12 10:26PM
> Hi Eric,
>
> Make sure that you have the proper kernel and kernel-devel installed.
>
> Adolphe
>
>
>
> On Sat, Nov 3, 2012 at 4:32 PM, Eric Smith <es at fruitcom.com> wrote:
>
> I am trying to compile a dahdi module from checkout:
> svn co http://svn.asterisk.org/svn/dahdi/linux-complete/tags/2.6.1+2.6.1
> with ubuntu 3.5.0-17-generic and gcc 4.7.2
>
> Error on compile is:
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3870:47:\
> error: 'NULL' undeclared (first use in this function)
>
> This is identical to the error reported in this patch fix:
> https://issues.asterisk.org/jira/browse/DAHTOOL-60?page=
> com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>
> How would I apply the patch included in the above url?
>
> [eric at pepper ~/src/asterisk-complete/asterisk/dahdi/2.6.1+2.6.1] $ patch
> <DAHTOOL-60-f17.diff
> can't find file to patch at input line 5
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/xpp/oct612x/include/octdef.h b/xpp/oct612x/include/octdef.h
> |index a2da33d..7e534b7 100644
> |--- a/xpp/oct612x/include/octdef.h
> |+++ b/xpp/oct612x/include/octdef.h
> --------------------------
> File to patch:
>
>
> --
> Eric Smith
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list