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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux