<div class="gmail_quote">On Mon, Mar 14, 2011 at 5:26 PM, Oron Peled <span dir="ltr"><<a href="mailto:oron.peled@xorcom.com">oron.peled@xorcom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Monday, 14 בMarch 2011 22:46:15 Wade Hampton wrote:<br>
> and the modules appear to work. My O/S info:<br>
><br>
> Kernel: 2.6.18-194.26.1.el5<br>
> O/S: CentOS 5.5 up to date<br>
</div>> ...<br>
<div class="im">> rpmbuild --rebuild<br>
> dahdi-linux-kmod-2.4.0-1.centos5.2.6.18_195.26.1.el5.src.rpm<br></div></blockquote><div><br>Thanks, but I had a typo, should have been:<br> dahdi-linux-kmod-2.4.0-1.centos5.2.6.18_194.26.1.el5.src.rpm<br><br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
<br>
</div>Looks like a regular kernel version mismatch to me. Look<br>
at the difference (194 vs. 195):<br>
- 2.6.18-194.26.1.el5<br>
- 2.6.18_195.26.1.el5<br></blockquote><div> <br>I am wondering if the RPM thinks it is for i386 but the <br>actual kernel is i686. The built module loads and seems<br>OK so I think it is either my RPM build environment or<br>
the SPEC file. If I try building with --target=i686 the <br>build fails unless I have the xen and PAE kernels loaded<br>(I am using the generic, normal kernel).<br><br>Cheers,<br>--<br>Wade Hampton<br></div></div>