Jason, Thanks for that, but I am still getting an error. I run rpmbuild using this command
rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec --target=i686 --define "kversion `uname -r`" but it fails with this error message. make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-i686' + popd ~/localrpms/BUILD/dahdi-linux-kmod-2.2.1 + for kvariant in '""' xen PAE + pushd _kmod_build_xen ~/localrpms/BUILD/dahdi-linux-kmod-2.2.1/_kmod_build_xen ~/localrpms/BUILD/dahdi-linux-kmod-2.2.1 + make KVERS=2.6.18-128.el5xen modules You do not appear to have the sources for the 2.6.18-128.el5xen kernel installed. make: *** [modules] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.78040 (%build) I have installed the devel packages rpm -qa | grep kernel-.*devel kernel-xen-devel-2.6.18-128.el5 kernel-PAE-devel-2.6.18-128.el5 kernel-devel-2.6.18-128.el5 Is there something else I can do? Steve Hindmarch -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jason Parker Sent: 16 February 2010 18:21 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Cannot built kmod-dahdi-linux for PAE kvariant from SRPM stephen.hindma...@bt.com wrote: > rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec > snip > > error: Failed build dependencies: > > kernel-devel = 2.6.18-164.11.1.el5 is needed by > dahdi-linux-kmod-2.2.1-1_centos5.2.6.18_164.11.1.el5.i386 > Add a --target=i686 to your rpmbuild line. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users