[asterisk-users] dahdi 2.6.1+2.6.1 compile fails
Adolphe Cher-Aime
acheraime at gmail.com
Sat Nov 3 16:26:51 CDT 2012
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121103/2a770eab/attachment.htm>
More information about the asterisk-users
mailing list