LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

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

Rep: Reputation: 0
missing struct definitions in linux/can/netlink.h stock 2.6 kernel building kismet


Hi,

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,

plumm

Last edited by plumm; 03-05-2013 at 12:17 AM.
 
Old 03-05-2013, 06:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
? 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, 08:35 PM   #3
plumm
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
 
  


Reply


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 01:19 PM
[SOLVED] Question about Kernel pid_namespace - struct pid and struct upid sreeharsha.t Linux - Kernel 4 03-19-2010 04:41 AM
Missing modules after building new kernel? lugoteehalt Debian 9 11-11-2009 03:36 PM
Circular struct definitions in C CoderMan Programming 2 03-02-2009 08: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 05:34 PM


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

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