Problem building kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to rebuild my kernel before I do some patching to it, and I'm
running into an error.

I've downloaded the src.rpm and installed it

$ rpm -i kernel-2.6.26.5-45.fc9.src.rpm

cd to my SPECS and run 

$ rpmbuild -bb --target=`uname -m` kernel.spec

(in my case, uname -m is x86_64)

After a few secs, it bombs witht the following:

+ Arch=x86_64
+ echo USING ARCH=x86_64
USING ARCH=x86_64
+ make -s ARCH=x86_64 nonint_oldconfig
scripts/kconfig/lex.zconf.c:1628: warning: 'input' defined but not used
+ make -s ARCH=x86_64 -j3 bzImage 'cmd_objcopy=$(if $(filter -S,
$(OBJCOPYFLAGS)),sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR
-d /usr/src/debug -i $<";)$(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_
$(@F)) $< $@'
  SYMLINK include/asm -> include/asm-x86
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option
"-maccumulate-outgoing-args"
scripts/mod/empty.c:1: error: -m64 not supported in this configuration
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56204 (%build)


Does anyone have any ideas what's wrong?

Thanks,
Robert


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux