You are not logged in.
Pages: 1
I'm making an effort to build the 2.6.24 kernel package (for the vast improvements it offers mainly). I am running into a problem when the modules are being built.
After running makepkg and compiling most of the kernel this is the concluding, relevant output:
MODPOST 2 modules
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/video/backlight/lcd.ko
DEPMOD 2.6.24
patching file Makefile
Hunk #1 FAILED at 489.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
==> ERROR: Build Failed.
Aborting...This is the Makefile.rej output:
***************
*** 489,495 ****
CFLAGS += -O2
endif
- include $(srctree)/arch/$(ARCH)/Makefile
ifdef CONFIG_FRAME_POINTER
CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,)
--- 489,495 ----
CFLAGS += -O2
endif
+ include $(srctree)/arch/powerpc/Makefile
ifdef CONFIG_FRAME_POINTER
CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,)I have tried playing around with the FRAME_POINTER option but with no change. I haven't compiled a kernel in years so I'm pretty rusty, other that something is failing when the modules are being compiled.
Any help would be appreciated, thanks,
JSkier
Arch64 3.4 Ghz Intel 3770
32 GB RAM
Offline
Removing the mol-0.72-carch-build-fix.patch should do it.
I'm a Pastafari
Offline
Compiles perfectly, just need to tweak the kernel so it boots properly, thank you! ![]()
JSkier
Arch64 3.4 Ghz Intel 3770
32 GB RAM
Offline
Pages: 1