missing struct definitions in linux/can/netlink.h stock 2.6 kernel building kismet
1. Is the linux-2.6 kernel tree retired to not so green pastures?
2. What is the easiest way out of "dependency hell" building software on an ancient hardware?
I've been helping my girlfriend build kismet-2011-03-R2 from sources on her old laptop. Poor thing is still running linux-2.6.31-23-generic kernel. In order to get kismet working a small library called Netlink is required for mac80211 support. The libnl-3.2.1 most recent version, however, will not build, because the linux headers in the /usr/include/linux/can/netlink.h library is missing a struct definitions for can_berr_counter. I've checked a newer 3.3.8 kernel and these definitions are on my machine. After doing a little bit of research in the kernel git repos, I have discovered that 2.6 tree stock kernel is "supposed" to have these included. It must have happened after 2.6.31-23 feature freeze, I guess. She wants me now to fix her kernel. Uhm, her machine works fine, but her Linux distribution has been retired as well, so there are no new header files to be had from the repos. Nice try, she said. Updating netlink.h will require a newer kernel, otherwise, kismet will be unstable. Which 2.6 kernel do we need to adopt, if 3.0 and higher won't run on the old hardware with the old glibc libraries? The machine must be 10 years old.
With kind regards,
Last edited by plumm; 03-05-2013 at 01:17 AM.