Re: Empty linux/config.h
joseluismarchetti@xxxxxxxxxxxx wrote:
Hi,
I am trying to compile a very simple ( hello world ) module that I saw
in www.faqs.org/docs/kernel/x145.html, but I got some errors related
with CONFIG_HZ not being defined.
After a little research I concluded it should be defined in
linux/config.h.
My suse 10.0 linux/config.h is empty, so what is the point in having an
empty config.h ?
Is that the place where CONFIG_HZ should be defined ?
Thanks in advance for your attention,
Thats Kernle's config file. See the .config in linux kernel source tree
with respect to which you are building your modules.
.
Relevant Pages
- Re: Empty linux/config.h
... I am trying to compile a very simple module that I saw ... empty config.h? ... Thats Kernle's config file. ... See the .config in linux kernel source tree ... (comp.os.linux.development.system) - Re: Kernel 2.6 compile problem - Solved
... David Clymer wrote: ... >compile a kernel" to the point where you saw the above errors? ... >The config file is better than nothing, but is not too useful, since I ... The problem turned out to be the lack of module-init-tools on my ... (Debian-User) - Re: #includes in header files
... to compile since it would result in an empty object file with no ... C doesn't require such a file to compile. ... So stdio.h by itself should be a valid translation unit. ... The C89 Committee decided that empty declarations are invalid, ... (comp.lang.c) - Re: Kernel 2.6 compile problem
... > David Clymer wrote: ... Lets start with a play-by-play of your kernel compilation process. ... compile a kernel" to the point where you saw the above errors? ... The config file is better than nothing, but is not too useful, since I ... (Debian-User) - Re: Error compiling new kernel
... > built in. ... > as a loadable module in order for it to work with my ISDN card. ... before doing a new compile, this gets rid of all the old stuff. ... old .config file, and untar it again, then load the old config file and ... (comp.os.linux) |
|