You are not logged in.

#1 2008-02-03 20:17:30

jskier
Member
From: Minnesota, USA
Registered: 2003-07-30
Posts: 383
Website

PPC: packaging kernel 2.6.24 error

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

Offline

#2 2008-02-04 08:00:24

armin
Member
From: the Caribbean. Arrr...!!!
Registered: 2007-02-26
Posts: 46

Re: PPC: packaging kernel 2.6.24 error

Removing the mol-0.72-carch-build-fix.patch should do it.


I'm a Pastafari

Offline

#3 2008-02-04 22:25:33

jskier
Member
From: Minnesota, USA
Registered: 2003-07-30
Posts: 383
Website

Re: PPC: packaging kernel 2.6.24 error

Compiles perfectly, just need to tweak the kernel so it boots properly, thank you! smile


--
JSkier

Offline

Board footer

Powered by FluxBB