[asterisk-dev] dahdi 2.6.1+2.6.1 compile fails
Russ Meyerriecks
rmeyerriecks at digium.com
Mon Nov 5 09:39:32 CST 2012
On Sat, Nov 03, 2012 at 09:02:43PM +0100, Eric Smith 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
Hmm, didn't know this was a problem on ubuntu also. What version?
> 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 this patch?
>
> [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
You were one directory off. cd into the "tools" directory then re-run the patch
as:
patch -p1 < DAHTOOL-60-f17.diff
--
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list