Author Topic: linux.h not found  (Read 3690 times)

buntunddu

  • Guest
linux.h not found
« on: September 14, 2007, 04:38:20 am »
Hi!

When i want to compile something (e.g. just a new standard projekt example)
The debugger tells me something about linux.h is missing and
that some warnings about my wxwidgets 2.8 version.

I use Ubuntu Feisty, have the newest WxWidgets added to my repo and installed, as
well as codeblocks.

I know, that linux.h is part of the kernel headers, but they are alle installed.
Headers for 2.6.20-16-gerneic. i have 2.6.20-16-generic running.
I tried a purge reinstall of codelbocks and headers, but that didt have any effekt.
I updated this version from edgy ages ago, and deleted all the old kernel stuff, so taht i just
have newest kernel left. maybe its about this?

However, the right headers and wxwidgets versions are installed and it does not compile anything.

Does anyone can help me out??

Thanks a lot in advance!

Kevin

buntunddu

  • Guest
Re: linux.h not found
« Reply #1 on: September 14, 2007, 04:43:30 am »
Ok, i just saw, that codeblocks is looking in /usr/include/bits/ for that file.. is there just a way to change the config
of codeblocks to look for kernel-headers in the right folder?

Maybe i should purge/reinstall codeblocks and delete the config directory .codeblocks?

ill try that tomorrwo. but if you have any suggestions anyway, i would really appreciate that.

thanks

buntunddu

  • Guest
Re: linux.h not found
« Reply #2 on: September 14, 2007, 05:09:15 am »
The actual file CB is looking for, is /usr/include/bits/local_lin.h , and its there... i really dont
know what this means.

As i said, just to compile the thing wehn you cick "new-project" etc. and then i click build
and its giving me that strange output.