[CentOS] Re: "qc-usb" kernel module src.rpm for CentOs 4.2 compile issues

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Mon Nov 7 02:25:21 UTC 2005

On Sun, 2005-11-06 at 18:54 +0100, J.J.Garcia wrote:
> Hi Ignacio,
> I'm running Centos 4.2 on some machines and just wonder which is the
> correct procedure to build one of your packages i've fonund in the
> fedora.ivazquez.net for FC4 but for CentOs for kernel-modules:
> http://fedora.ivazquez.net/yum/4/i386/SRPMS.ivazquez/kernel-module-qc-usb-0.6.3-0.iva.1.src.rpm
> http://fedora.ivazquez.net/yum/3/i386/SRPMS.ivazquez/kernel-module-qc-usb-0.6.3-0.iva.2.src.rpm
> I've tried unsuccesfully (following dag's Faq for rebuilding against the
> current kernel):
> # rpmbuild --rebuild --define 'kernel $(uname -r)' --target $(uname -m)\
> kernel-module-qc-usb-0.6.3-0.iva.1.src.rpm

1) My standards and Dag's standards are different. See the beginning of
the spec file for details. Quick summary: If you're building for the
running kernel then you don't need to provide any defines, just a

2) You might want to try the SRPM I've built for CentOS instead.


Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20051106/03061773/attachment.bin

More information about the CentOS mailing list