|
Now that I've learned something about the
CONFIG_RTNETLINK option for the Linux kernel configuration (thanks to everyone
who responded), I've found that there is a connection between it and a
new daemon's build (not just the kernel's build), via the
/usr/include/linux/autoconf.h file.
Initially, this .h file only contained the line
"#error: Invalid kernel header included in
userspace" which caused the compilation of a file to fail. Then I found
that there were autoconf.h files under each of the kernel versions I have worked
with, and they looked like they were generated from the .config file that's
generated by make menuconfig/make xconfig. So I copied the one from my
/usr/src/linux-2.4.18-3/include subdirectory into /usr/include/linux, and my
build went OK. Then I inserted a "#define CONFIG_RTNETLINK 1"
in it, and my build went OK and grew by 15KB.
So
my questions are:
Thanks
again,
Dennis Ching
|
- [luau] connection between kernel .config file and autoconf... Dennis T. Ching
