Displaying 3 results from an estimated 3 matches for "kvariants".
Did you mean:
variants
2009 Jun 11
3
OT: rebuild kmod rpm package from src.rpm
Hi all,
I would like to rebuild a kmod.src.rpm package for a specific kernel.
When I try to do it, this message appears:
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
kernel-xen-devel-i686 = 2.6.18-98.el5 is needed by
mymodule-kmod-0.1.5-2.i686
kernel-PAE-devel-i686 = 2.6.18-98.el5 is needed by
mymodule-kmod-0.1.5-2.i686.
Is
2011 May 06
0
Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
...kernel installed.
make: *** [modules] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.78040 (%build)
Solution:
Specify the kernel variant in the rpm build command
rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec --target=i686 \
--define "kversion `uname -r`" --define "kvariants 'PAE'"
Steve Hindmarch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110506/9956a3fc/attachment-0001.htm>
2010 Feb 16
1
Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
...od-2.2.1
+ make KVERS=2.6.18-128.el5 modules
You do not appear to have the sources for the 2.6.18-128.el5 kernel installed.
Further inspection and I tried to override the kernel variant parameter with
rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec -D "kversion `uname -r`" -D "kvariants PAE"
This allows the RPM to build but when I try to install it I get
error: Failed dependencies:
kernel-i386 = 2.6.18-128.el5PAE is needed by kmod-dahdi-linux-PAE-2.2.1-1_centos5.2.6.18_128.el5.i386
Why "kernel-i386" when the kernel package I am using is "kernel-P...