You are not logged in.

#1 2006-12-14 13:57:19

catweazle
Member
From: Germany
Registered: 2006-12-14
Posts: 24

config.h missing in kernel 2.6.19-3 ?

Hi,

I upgraded to stock kernel 2.6.19-3 and therefore needed to recompile the openafs package to make it work again. It gave me an error saying that linux/config.h is missing. The previous kernel I was using (2.6.18.3-1 stock) had this file. Is this intentional or is this a bug? Can anybody help? Thanks.

BTW, noticing that a newer kernel is available (2.6.19.1-1) I checked its filelist. config.h is also missing there.

Offline

#2 2006-12-14 14:10:24

catweazle
Member
From: Germany
Registered: 2006-12-14
Posts: 24

Re: config.h missing in kernel 2.6.19-3 ?

Ok, I just saw that "include/linux/config.h" in the 2.6.18 kernel says that it is no longer in use and only there for backward compatibility. So it seems this should be fixed in the openafs package then.

Offline

#3 2006-12-14 15:09:53

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

Re: config.h missing in kernel 2.6.19-3 ?

If you're in a hurry, Google can help - "OpenAFS 2.6.19 patch" would be a good start.

Offline

#4 2006-12-14 16:05:07

catweazle
Member
From: Germany
Registered: 2006-12-14
Posts: 24

Re: config.h missing in kernel 2.6.19-3 ?

HI,

thanks. I replaced the references to "linux.config.h" in the openafs source code by "linux/autoconf.h" and the compilation went fine. I still have to test the package, though. I will try the patch as well. Thanks again.

Offline

#5 2006-12-14 23:12:28

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: config.h missing in kernel 2.6.19-3 ?

i'm trying to compile my wireless drivers and am getting the same error.. is this going to break a lot of packages?

Offline

#6 2006-12-14 23:18:56

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: config.h missing in kernel 2.6.19-3 ?

ps- a quick fix i figured out is to go into /usr/src/linux/include or whatever and so a ln -s autoconf.h config.h.  works great smile

Offline

#7 2006-12-15 10:33:36

catweazle
Member
From: Germany
Registered: 2006-12-14
Posts: 24

Re: config.h missing in kernel 2.6.19-3 ?

This trick works to compile openafs 1.4.2, but trying to start the daemon then results in a failure.

I used the latest development version (openafs 1.5.12) instead, and it not only compiles without problems (without setting the symbolic link), but also works fine smile I will report this also in the AUR.

Offline

Board footer

Powered by FluxBB