You are not logged in.

#1 2010-08-22 14:56:24

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Kernel not compiling

So i'm not having any luck lately with compiling any kernels. I'm currently trying to build the latest zen stable and keep getting the following message a few seconds after i finish menuconfig...

make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

And of course, i googled this but couldn't find anything helpful. So i'm hoping maybe somebody here knows what might be up.

Offline

#2 2010-08-22 15:18:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel not compiling

Out of all the useful messages make spits out, that is the most generic - thus most useless - info there is.

Don't look at the end, look at the top. Paste your whole log.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-08-22 16:02:14

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Kernel not compiling

Oops, maybe this should be of more use

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

==> Saving configuration...
  -> Saving src/kernel26zen-stable/.config as config.saved.x86_64
  -> Restoring CONFIG_LOCALVERSION...
==> Building kernel and modules...
scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTCC  scripts/kallsyms
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from include/linux/module.h:18:0,
                 from include/linux/crypto.h:21,
                 from arch/x86/kernel/asm-offsets_64.c:8,
                 from arch/x86/kernel/asm-offsets.c:4:
include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
    Aborting...

I get the same error whether i'm using the generic config or creating my own.

Last edited by Mountainjew (2010-08-22 16:02:51)

Offline

#4 2010-08-22 21:01:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel not compiling

Googling

include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'

does not seem to produce any results besides this thread, the AUR page for kernel26zen-git and some gentoo thread that doesn't seem to have a solution either. Did you check with the authors of the zen patchset?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-08-22 21:34:56

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Kernel not compiling

Yeah i'm about to, thanks for the help smile

Offline

#6 2010-08-24 11:32:03

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: Kernel not compiling

for me it was concerned with Classic RCU - after change to TreeRCU compiled fine


Lenovo G50 | LXQT-git | compton | conky

Offline

#7 2010-08-24 11:47:25

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: Kernel not compiling

your trying to compile 2.6.34 zen kernel?
I had to manually compile it vs packerbuild...

Offline

Board footer

Powered by FluxBB