I downloaded the kernel and copied it into /root
after command
HTML Code:
rpm -Uvh kernel-2.6.20-1.3045.fc7.src.rpm
I got:
HTML Code:
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
...and so on a lot of times..
then
HTML Code:
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
again..
then by command
HTML Code:
rpmbuild -bp --target=i686 /root/rpmbuild/SPECS/kernel-2.6.spec
I got:
HTML Code:
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
.config:381:warning: trying to assign nonexistent symbol IDEDMA_AUTO
.config:1215:warning: trying to assign nonexistent symbol RT2400PCI_DEBUG
.config:1217:warning: trying to assign nonexistent symbol RT2500PCI_DEBUG
.config:1219:warning: trying to assign nonexistent symbol RT61PCI_DEBUG
.config:1221:warning: trying to assign nonexistent symbol RT2500USB_DEBUG
.config:1223:warning: trying to assign nonexistent symbol RT73USB_DEBUG
.config:1252:warning: trying to assign nonexistent symbol NET_WIRELESS
.config:1253:warning: trying to assign nonexistent symbol NET_WIRELESS_RTNETLINK
.config:2875:warning: trying to assign nonexistent symbol TUX
.config:2876:warning: trying to assign nonexistent symbol TUX_EXTCGI
.config:2877:warning: trying to assign nonexistent symbol TUX_EXTENDED_LOG
.config:2878:warning: trying to assign nonexistent symbol TUX_DEBUG
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.20-i686-PAE-debug.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
[B] (...ant than like upthere..)[/B]
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.20-i686-PAE.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
(and than like upthere again...)
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.20-i686-debug.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
[B](and than like upthere again...)[/B]
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.20-i686-xen.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
.config:381:warning: trying to assign nonexistent symbol IDEDMA_AUTO
.config:1215:warning: trying to assign nonexistent symbol RT2400PCI_DEBUG
.config:1217:warning: trying to assign nonexistent symbol RT2500PCI_DEBUG
.config:1219:warning: trying to assign nonexistent symbol RT61PCI_DEBUG
.config:1221:warning: trying to assign nonexistent symbol RT2500USB_DEBUG
.config:1223:warning: trying to assign nonexistent symbol RT73USB_DEBUG
.config:1252:warning: trying to assign nonexistent symbol NET_WIRELESS
.config:1253:warning: trying to assign nonexistent symbol NET_WIRELESS_RTNETLINK
.config:2875:warning: trying to assign nonexistent symbol TUX
.config:2876:warning: trying to assign nonexistent symbol TUX_EXTCGI
.config:2877:warning: trying to assign nonexistent symbol TUX_EXTENDED_LOG
.config:2878:warning: trying to assign nonexistent symbol TUX_DEBUG
.config:3343:warning: trying to assign nonexistent symbol XEN_PCIDEV_FRONTEND
.config:3344:warning: trying to assign nonexistent symbol XEN_PCIDEV_FE_DEBUG
.config:3345:warning: trying to assign nonexistent symbol XEN
.config:3346:warning: trying to assign nonexistent symbol XEN_INTERFACE_VERSION
.config:3347:warning: trying to assign nonexistent symbol XEN_PRIVILEGED_GUEST
.config:3348:warning: trying to assign nonexistent symbol XEN_UNPRIVILEGED_GUEST
.config:3349:warning: trying to assign nonexistent symbol XEN_PRIVCMD
.config:3350:warning: trying to assign nonexistent symbol XEN_XENBUS_DEV
.config:3351:warning: trying to assign nonexistent symbol XEN_BACKEND
.config:3352:warning: trying to assign nonexistent symbol XEN_BLKDEV_BACKEND
.config:3353:warning: trying to assign nonexistent symbol XEN_BLKDEV_TAP
.config:3354:warning: trying to assign nonexistent symbol XEN_NETDEV_BACKEND
.config:3355:warning: trying to assign nonexistent symbol XEN_NETDEV_PIPELINED_TRANSMITTER
.config:3356:warning: trying to assign nonexistent symbol XEN_NETDEV_LOOPBACK
.config:3357:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND
.config:3358:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_VPCI
.config:3359:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_PASS
.config:3360:warning: trying to assign nonexistent symbol XEN_PCIDEV_BE_DEBUG
.config:3361:warning: trying to assign nonexistent symbol XEN_TPMDEV_BACKEND
.config:3362:warning: trying to assign nonexistent symbol XEN_BLKDEV_FRONTEND
.config:3363:warning: trying to assign nonexistent symbol XEN_NETDEV_FRONTEND
.config:3364:warning: trying to assign nonexistent symbol XEN_FRAMEBUFFER
.config:3365:warning: trying to assign nonexistent symbol XEN_KEYBOARD
.config:3366:warning: trying to assign nonexistent symbol XEN_SCRUB_PAGES
.config:3367:warning: trying to assign nonexistent symbol XEN_DISABLE_SERIAL
.config:3368:warning: trying to assign nonexistent symbol XEN_SYSFS
.config:3369:warning: trying to assign nonexistent symbol XEN_COMPAT_030002_AND_LATER
.config:3370:warning: trying to assign nonexistent symbol XEN_COMPAT_LATEST_ONLY
.config:3371:warning: trying to assign nonexistent symbol XEN_COMPAT_030002
.config:3372:warning: trying to assign nonexistent symbol HAVE_ARCH_ALLOC_SKB
.config:3373:warning: trying to assign nonexistent symbol HAVE_ARCH_DEV_ALLOC_SKB
.config:3374:warning: trying to assign nonexistent symbol HAVE_IRQ_IGNORE_UNHANDLED
.config:3375:warning: trying to assign nonexistent symbol NO_IDLE_HZ
.config:3376:warning: trying to assign nonexistent symbol XEN_UTIL
.config:3377:warning: trying to assign nonexistent symbol XEN_BALLOON
.config:3378:warning: trying to assign nonexistent symbol XEN_DEVMEM
.config:3379:warning: trying to assign nonexistent symbol XEN_SKBUFF
.config:3380:warning: trying to assign nonexistent symbol XEN_REBOOT
.config:3381:warning: trying to assign nonexistent symbol XEN_SMPBOOT
.config:3383:warning: trying to assign nonexistent symbol X86_XEN
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.20-i686.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol 'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
.config:350:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
[B](..and than like upthere again..)[/B]
+ echo '# i386'
+ cat .config
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = 20/' Makefile
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -prep/' Makefile
+ find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';'
+ cd ..
+ '[' '!' -d sparse-0.2 ']'
+ cd /root/rpmbuild/BUILD
+ cd kernel-2.6.20
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/sparse-0.2.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
I am not sure if I should go any further with it