Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 03-05-2013, 01:12 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
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.
Old 03-05-2013, 07:02 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,742

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
? How about this : sudo apt-get install kismet

You may need a new /etc/apt/sources.list , to use apt.
I'd guess it's about an obsolete Ubuntu 9.10 ? Or ?
Old 03-05-2013, 09:35 PM   #3
LQ Newbie
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
That's a great tip! My girlfriend is "ultra" conservative. She says, if you find something that works well, why on earth would you want to change it. After a bit of star gazing, she said her system is broke, because she didn't use the tools that the Great Seer gave to his followers. We don't have to worry which kernel version to use, the software is "enlightened" enough and enables features that will work on most systems. Proprietary drivers, that's an altogether different cult.

git clone git:// linux-2.6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Postfix 2.7.0, can't find definitions for EPIPE or ECONNRESET blupton Linux - Software 0 04-24-2010 02:19 PM
[SOLVED] Question about Kernel pid_namespace - struct pid and struct upid sreeharsha.t Linux - Kernel 4 03-19-2010 05:41 AM
Missing modules after building new kernel? lugoteehalt Debian 9 11-11-2009 04:36 PM
Circular struct definitions in C CoderMan Programming 2 03-02-2009 09:23 PM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 06:34 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration