You are not logged in.

#1 2007-02-26 21:29:27

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

can't compile kernel after today's upgrage

I can't compile kernel after today's upgrage(maybe becouse of glibc?):

./include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory
In file included from ./include/asm/system.h:4,
                 from ./include/asm/processor.h:18,
                 from ./include/asm/atomic.h:5,
                 from ./include/linux/crypto.h:20,
                 from arch/i386/kernel/asm-offsets.c:7:
./include/linux/kernel.h:117: error: expected declaration specifiers or '...' before 'va_list'
./include/linux/kernel.h:123: error: expected declaration specifiers or '...' before 'va_list'
./include/linux/kernel.h:127: error: expected declaration specifiers or '...' before 'va_list'
./include/linux/kernel.h:134: error: expected declaration specifiers or '...' before 'va_list'
./include/linux/kernel.h:149: error: expected declaration specifiers or '...' before 'va_list'
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
==> ERROR: Build Failed.  Aborting...

Yesterday everything was ok.
Thanks for help

Offline

#2 2007-02-26 22:13:44

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: can't compile kernel after today's upgrage

did you "make clean" before rebulding?
What kernel is it exactly?
x86 oder amd64?..

Offline

#3 2007-02-26 22:47:14

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

I use PKGBUILD to make a package so make clean is NOT an option

kernel 2.6.20 + viper4 patch
Before today's upgrade I was able to build this

Offline

#4 2007-02-26 23:02:18

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: can't compile kernel after today's upgrage

I did never use PKGBUILDs for my kernels an viper4 compiles fine here wink Even with latest patches for rsdl 0.23. (although I'm using -dark2 atm).
Can't you simply change into src directory and do a "make clean"? Or compile it just without a PKGBUILD.

If that doesn't help, it would be much better to contact vipernicus himself since it's his patchset wink

Last edited by buddabrod (2007-02-26 23:05:06)

Offline

#5 2007-02-27 07:40:07

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: can't compile kernel after today's upgrage

newgargamel, what buddabrod is applied to makepkg with doing "rm -r src".

Offline

#6 2007-02-27 10:23:42

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

this patch was added to glibc-2.5: glibc-2.5-branch_update-2.patch
I'll try to rebuild glibc without it and we'll see wink

Last edited by newgargamel (2007-02-27 10:24:14)

Offline

#7 2007-02-27 19:16:21

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

I tried to build kernel26ck and I get the same error so it's not becouse of the patch

Offline

#8 2007-02-27 22:55:49

Valheru
Member
Registered: 2005-02-06
Posts: 49

Re: can't compile kernel after today's upgrage

I got it today trying to build a custom beyond kernel and the fsaa1655g module for the kernel, so something is definately b0rked with something

Offline

#9 2007-02-27 23:44:44

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: can't compile kernel after today's upgrage

Yes, now it occurs here, too. But that's strange, I updated glibc 2 days ago and i'm quite sure that i compiled 2 or 3 kernels after that. Or maybe my memory's just wrong..

Offline

#10 2007-02-28 09:28:33

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

glibc is not a problem. I built it without glibc-2.5-branch_update-2.patch and still have the same error. Any ideas?

Offline

#11 2007-02-28 13:11:41

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: can't compile kernel after today's upgrage

Exactly the same sources are compiled without problems under my gentoo. It has to be related to some of the latest updates..

Offline

#12 2007-02-28 14:32:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't compile kernel after today's upgrage

I've just built the next kernel26ck package on an up-to-date machine with no errors. Please post the bug in Flyspray so we can investigate.

Offline

#13 2007-02-28 16:53:40

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

@tomk:
I tried to do it but I couldn't find a link to create a bug report and/or how to create new account

Offline

#14 2007-02-28 17:12:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't compile kernel after today's upgrage

bugs.archlinux.org - "Register as a new user" is in the top right corner.

Offline

#15 2007-02-28 21:19:40

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: can't compile kernel after today's upgrage

Offline

#16 2007-03-03 17:20:04

qdlaty
Member
Registered: 2005-04-18
Posts: 32

Re: can't compile kernel after today's upgrage

simple type:

unset LIBRARY_PATH

before you do package (re)build.

But the best solution is to copy qt.profile from new qt-enhanced package over /etc/profile.d/qt.sh

Last edited by qdlaty (2007-03-03 17:34:40)

Offline

Board footer

Powered by FluxBB