stephen.hindmarch at bt.com
2011-May-06 15:32 UTC
[asterisk-users] Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
After many moons I have revisited this problem and found a solution that moves the problem further up the stack. I will post my new problem separately but just for completeness here is the solution. Original problem: trying to build kmod-dahdi-linux for out of date PAE kernel. Errors: rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec --target=i686 --define "kversion `uname -r`" + 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) 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>
Possibly Parallel Threads
- Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
- Cannot install dahdi-linux on (old) PAE kernel.
- OT: rebuild kmod rpm package from src.rpm
- Yum refuses to install kmod-8188eu from elrepo
- [PATCH] Make appliance-building work on systems with default library search paths differing from the appliance's