[asterisk-dev] Building DAHDI RPMS from tarballs

Wade Hampton wadehamptoniv at gmail.com
Tue Mar 15 06:58:56 CDT 2011


On Mon, Mar 14, 2011 at 5:26 PM, Oron Peled <oron.peled at xorcom.com> wrote:

> On Monday, 14 בMarch 2011 22:46:15 Wade Hampton wrote:
> > and the modules appear to work.  My O/S info:
> >
> >   Kernel:  2.6.18-194.26.1.el5
> >   O/S:      CentOS 5.5 up to date
> > ...
> >   rpmbuild --rebuild
> > dahdi-linux-kmod-2.4.0-1.centos5.2.6.18_195.26.1.el5.src.rpm
>

Thanks, but I had a typo, should have been:
   dahdi-linux-kmod-2.4.0-1.centos5.2.6.18_194.26.1.el5.src.rpm


> Looks like a regular kernel version mismatch to me. Look
> at the difference (194 vs. 195):
>  - 2.6.18-194.26.1.el5
>  - 2.6.18_195.26.1.el5
>

I am wondering if the RPM thinks it is for i386 but the
actual kernel is i686.  The built module loads and seems
OK so I think it is either my RPM build environment or
the SPEC file.  If I try building with --target=i686 the
build fails unless I have the xen and PAE kernels loaded
(I am using the generic, normal kernel).

Cheers,
--
Wade Hampton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110315/bc8cb5c0/attachment.htm>


More information about the asterisk-dev mailing list