[asterisk-bugs] [JIRA] Commented: (DAHLIN-299) Will not build on 2.6.25.4

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Thu Aug 16 16:26:07 CDT 2012


    [ https://issues.asterisk.org/jira/browse/DAHLIN-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195866#comment-195866 ] 

Shaun Ruffell commented on DAHLIN-299:
--------------------------------------

Thanks for reporting this. Looks like a typo on my part.  Should be > KERNEL_VERSION(2,6,25) not >=.

Also, assuming you have a git copy of the kernel, here is how you could determine when a file went in:

{code}
$ git log --oneline --reverse -- include/linux/pci-aspm.h
7d715a6 PCI: add PCI Express ASPM support
5fde244 PCI: disable ASPM per ACPI FADT setting
2f671e2 PCI: Disable ASPM if BIOS asks us to
1a680b7 PCI: PCIe links may not get configured for ASPM under POWERSAVE mode
9f728f5 PCI/e1000e: Add and use pci_disable_link_state_locked()
3c07635 PCI: Rework ASPM disable code
$ git describe --contains 7d715a6
v2.6.26-rc1~1119^2~23
{code}


> Will not build on 2.6.25.4
> --------------------------
>
>                 Key: DAHLIN-299
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-299
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi (the module)
>    Affects Versions: 2.6.1
>         Environment: Linux Kernel 2.6.25.4
>            Reporter: Jean-Philippe Lord
>            Assignee: Shaun Ruffell
>
> Looks like include/kernel.h is incorrect with this statement:
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
> #ifdef CONFIG_PCI
> #include <linux/pci-aspm.h>
> #endif
> #endif
> Compile error:
> /asterisktest/dahdi-linux-complete-2.6.1+2.6.1/linux/include/dahdi/kernel.h:77:28: error: linux/pci-aspm.h: No such file or directory
> I am not sure how to verify which 2.6.25 started to have pci-aspm.h but I know 2.6.25.4 does not.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list