Custom CD

Rick Stevens rstevens at vitalstream.com
Mon Jul 3 18:31:20 UTC 2006


On Mon, 2006-07-03 at 09:35 -0300, Rodrigo Faria Tavares wrote: 
> Hello,
>  
> I´m installed kernel kernel-2.6.16-1.2133_FC5.src.rpm and i follow
> this tutorial :
>  
> https://www.redhat.com/archives/anaconda-devel-list/2003-March/msg00033.html
>  
> [root at desktop ~]# rpmbuild -bb /usr/src/redhat/SPECS/kernel-2.6.spec
> error: architeture  : i386 is not included
> 
> I add i386 in spec file, but after he search
> kernel-2.6.16-i386.config, i try to put a config file in a new file
> called
> kernel-2.6.16-i386.config. In compile give errors.
>  
> How I can to resolve it ?

There is no "i386" support in 2.6 kernels.  The 386 hasn't been sold in
a LONG, LONG time.  The supported architectures are "i586", "i686",
"x86_64", "ppc", "ppc64", "ppc64iseries", "s390", "s390x", "sparc",
"sparc64" and "ia64".  This is controlled by the "*.config" files you
find in /usr/src/redhat/SOURCES after installing the kernel source RPM.

Try

    rpmbuild -bb target=i686 /usr/src/redhat/SPECS/kernel-2.6.spec

to build it for 99% of all 32-bit Intel chips you'll find out there.
The trick is to specify "target=" followed by one of the choices above.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  Perseverance:  When you're too damned stubborn to say "I quit!"   -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list