Summary: | DAHLIN-00303: Cannot Build dahdi-linux-complete-2.6.1+2.6.1] Against New Kernel 2.6.18-308.16.1.el5 | ||
Reporter: | Vladimir Mikhelson (vmikhelson) | Labels: | |
Date Opened: | 2012-10-05 11:46:43 | Date Closed: | 2012-10-05 12:24:46 |
Priority: | Critical | Regression? | Yes |
Status: | Closed/Complete | Components: | General |
Versions: | 2.6.1 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Centos 5.7 AsteriskNOW 1.7.0 Asterisk 1.8.16.0 DAHDI 2.6.1 | Attachments: | |
Description: | Ran "yum update" on 10/04/2012. Kernel and DAHDI were attempted to be updated. DAHDI update failed. Tried to build DAHDI from source against the new kernel 2.6.18-308.16.1.el5. Failed as well. See https://issues.asterisk.org/jira/browse/ANOW-168?focusedCommentId=198063#comment-198063 | ||
Comments: | By: Russ Meyerriecks (rmeyerriecks) 2012-10-05 12:24:35.116-0500 According to the build output you linked in the other issue, you have successfully compiled dahdi-linux-complete. Closing this issue. Feel free to re-open if you have trouble running dahdi. By: Vladimir Mikhelson (vmikhelson) 2012-10-05 15:14:51.716-0500 Russ, Are you saying it indeed compiled in spite of all the warnings it posted? I was under impression it failed as it did not really compile any modules at all. Can it be the case the difference between the kernel 13.1 and 16.1 was so minor from the DAHDI package perspective it did not need to recompile anything? Thank you, Vladimir By: Russ Meyerriecks (rmeyerriecks) 2012-10-05 15:53:12.182-0500 Vladimir, You can ignore the two warnings from MODPOST. Just like you hinted at, the output you posted was the result of a *second* make command deciding that it didn't have anything left to compile (since the previous compile was successful). You should see "dahdi.ko" in drivers/dahdi/ on build success. As far as the differences between the two kernel versions, i'm not sure. I would have to dig down into the KBUILD system a bit to figure out what criteria it uses to let make know whether it should rebuild or not. KBUILD is pretty smart about that stuff though, so I would assume it's the correct behavior here. Let me know if you have any further questions or issues. By: Vladimir Mikhelson (vmikhelson) 2012-10-05 16:48:36.852-0500 Russ, Thank you for taking time to explain the details. It definitely helped me and hopefully will help somebody else in the future if and when a similar event will occur. Thank you, Vladimir |