All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] missing kernel headers when compiling kismet
@ 2009-12-07 20:28 Marc Egli
  2009-12-08  9:01 ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Egli @ 2009-12-07 20:28 UTC (permalink / raw)
  To: buildroot

configuring kismet fails with the following message:
checking for linux/wireless.h... (cached) no
configure: error: Failed to find a usable linux/wireless.h header for Linux Wireless Extensions.  Either your kernel headers are missing or are incorrect.  See config.log for the exact error.  Compiling without wireless headers must be explicitly disabled
make: *** [/emb/buildroot/output/build/kismet-2009-06-R1/.stamp_configured] Error 1

in the kismetwireless forum i found the following:
The configure script is pretty much straightforward: If you don't provide a --linux-headers parameter, it adds /lib/modules/!version!/build/include to the header search path. This is SUPPOSED to be the build environment of the running kernel, and as such is SUPPOSED to have linux/foo.h

now how can i give the kernelheader path to the configure script? and wich version do i have to use? i've found about 10 files named wireless.h in buildroot

thx for your help

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-07 20:28 [Buildroot] missing kernel headers when compiling kismet Marc Egli
@ 2009-12-08  9:01 ` Peter Korsgaard
  2009-12-08 10:25   ` Marc Egli
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Korsgaard @ 2009-12-08  9:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:

 Marc> configuring kismet fails with the following message:
 Marc> checking for linux/wireless.h... (cached) no
 Marc> configure: error: Failed to find a usable linux/wireless.h header for Linux Wireless Extensions.  Either your kernel headers are missing or are incorrect.  See config.log for the exact error.  Compiling without wireless headers must be explicitly disabled
 Marc> make: *** [/emb/buildroot/output/build/kismet-2009-06-R1/.stamp_configured] Error 1

Hmm, it builds here - Please post your config. Notice that the above
check has been cached, does it work if you run make flush; make?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08  9:01 ` Peter Korsgaard
@ 2009-12-08 10:25   ` Marc Egli
  2009-12-08 12:55     ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Egli @ 2009-12-08 10:25 UTC (permalink / raw)
  To: buildroot

problem solved. 
i did make flush again and now it works. but i did this 2 times this morning and it didn't help. i hope it builds again if i do a make clean this night.

marc egli

Am 08.12.2009 um 10:01 schrieb Peter Korsgaard:

>>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:
> 
> Marc> configuring kismet fails with the following message:
> Marc> checking for linux/wireless.h... (cached) no
> Marc> configure: error: Failed to find a usable linux/wireless.h header for Linux Wireless Extensions.  Either your kernel headers are missing or are incorrect.  See config.log for the exact error.  Compiling without wireless headers must be explicitly disabled
> Marc> make: *** [/emb/buildroot/output/build/kismet-2009-06-R1/.stamp_configured] Error 1
> 
> Hmm, it builds here - Please post your config. Notice that the above
> check has been cached, does it work if you run make flush; make?
> 
> -- 
> Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08 10:25   ` Marc Egli
@ 2009-12-08 12:55     ` Peter Korsgaard
  2009-12-08 21:27       ` Marc Egli
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Korsgaard @ 2009-12-08 12:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:

 Marc> problem solved. 
 Marc> i did make flush again and now it works. but i did this 2 times this morning and it didn't help. i hope it builds again if i do a make clean this night.

Please give it a try and/or send your .config to the list so we can fix
the problem if there is one.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08 12:55     ` Peter Korsgaard
@ 2009-12-08 21:27       ` Marc Egli
  2009-12-08 21:39         ` Marc Egli
  2009-12-08 22:09         ` Peter Korsgaard
  0 siblings, 2 replies; 10+ messages in thread
From: Marc Egli @ 2009-12-08 21:27 UTC (permalink / raw)
  To: buildroot

make clean and make did result in the same error i got before:
checking for linux/wireless.h... (cached) no
find ./ -name wireless.h gave me:
./output/toolchain/linux-2.6.31.6/include/linux/wireless.h
./output/toolchain/uClibc_dev/usr/include/linux/wireless.h
./output/toolchain/linux/include/linux/wireless.h
./output/build/staging_dir/usr/include/linux/wireless.h
./output/build/linux-2.6.31.6/include/config/wireless.h
./output/build/linux-2.6.31.6/include/linux/wireless.h
./output/build/ifplugd-0.28/src/wireless.h

and my config is attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brconfig
Type: application/octet-stream
Size: 32023 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091208/919ad052/attachment-0001.obj>
-------------- next part --------------

greetings marc

Am 08.12.2009 um 13:55 schrieb Peter Korsgaard:

>>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:
> 
> Marc> problem solved. 
> Marc> i did make flush again and now it works. but i did this 2 times this morning and it didn't help. i hope it builds again if i do a make clean this night.
> 
> Please give it a try and/or send your .config to the list so we can fix
> the problem if there is one.
> 
> -- 
> Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08 21:27       ` Marc Egli
@ 2009-12-08 21:39         ` Marc Egli
  2009-12-08 22:09         ` Peter Korsgaard
  1 sibling, 0 replies; 10+ messages in thread
From: Marc Egli @ 2009-12-08 21:39 UTC (permalink / raw)
  To: buildroot

now i did only a make flush and again make and now it works. seems something is wrong with the config cache. i'll do a rebuild during the night and diff the config cache from now with the one wich leads to this error

Am 08.12.2009 um 22:27 schrieb Marc Egli:

> make clean and make did result in the same error i got before:
> checking for linux/wireless.h... (cached) no
> find ./ -name wireless.h gave me:
> ./output/toolchain/linux-2.6.31.6/include/linux/wireless.h
> ./output/toolchain/uClibc_dev/usr/include/linux/wireless.h
> ./output/toolchain/linux/include/linux/wireless.h
> ./output/build/staging_dir/usr/include/linux/wireless.h
> ./output/build/linux-2.6.31.6/include/config/wireless.h
> ./output/build/linux-2.6.31.6/include/linux/wireless.h
> ./output/build/ifplugd-0.28/src/wireless.h
> 
> and my config is attached
> <brconfig>
> greetings marc
> 
> Am 08.12.2009 um 13:55 schrieb Peter Korsgaard:
> 
>>>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:
>> 
>> Marc> problem solved. 
>> Marc> i did make flush again and now it works. but i did this 2 times this morning and it didn't help. i hope it builds again if i do a make clean this night.
>> 
>> Please give it a try and/or send your .config to the list so we can fix
>> the problem if there is one.
>> 
>> -- 
>> Bye, Peter Korsgaard
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08 21:27       ` Marc Egli
  2009-12-08 21:39         ` Marc Egli
@ 2009-12-08 22:09         ` Peter Korsgaard
  2009-12-09  8:33           ` Marc Egli
  1 sibling, 1 reply; 10+ messages in thread
From: Peter Korsgaard @ 2009-12-08 22:09 UTC (permalink / raw)
  To: buildroot

>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:

 Marc> make clean and make did result in the same error i got before:
 Marc> checking for linux/wireless.h... (cached) no
 Marc> find ./ -name wireless.h gave me:
 Marc> ./output/toolchain/linux-2.6.31.6/include/linux/wireless.h
 Marc> ./output/toolchain/uClibc_dev/usr/include/linux/wireless.h
 Marc> ./output/toolchain/linux/include/linux/wireless.h
 Marc> ./output/build/staging_dir/usr/include/linux/wireless.h
 Marc> ./output/build/linux-2.6.31.6/include/config/wireless.h
 Marc> ./output/build/linux-2.6.31.6/include/linux/wireless.h
 Marc> ./output/build/ifplugd-0.28/src/wireless.h

 Marc> and my config is attached

Hmm, I don't see any issues here with building the network packages you
had enabled (the most obvious ones to check for linux/wireless.h). I see
you have some local lxde packages enabled, maybe one of those checks for
wireless? Could you try temporarily disabling them and doing a clean
rebuild?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-08 22:09         ` Peter Korsgaard
@ 2009-12-09  8:33           ` Marc Egli
  2009-12-09 13:21             ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Egli @ 2009-12-09  8:33 UTC (permalink / raw)
  To: buildroot

i disabled all the lxde stuff and also openbox (all my own packages). and the result was the same.
find gives me 2 packages wich need wireless.h
find output/ -name configure* -exec grep -l wireless.h {} \;
output/build/kismet-2009-06-R1/configure.in
output/build/kismet-2009-06-R1/configure
output/build/libpcap-1.0.0/configure.in
output/build/libpcap-1.0.0/configure

i think libpcap has some errors when searching for linux/wireless.h
i attached my configcache and my libpcapconfiglog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tgt-config.cache
Type: application/octet-stream
Size: 67821 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091209/0b2c0c2e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 107519 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091209/0b2c0c2e/attachment-0003.obj>
-------------- next part --------------


Am 08.12.2009 um 23:09 schrieb Peter Korsgaard:

>>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:
> 
> Marc> make clean and make did result in the same error i got before:
> Marc> checking for linux/wireless.h... (cached) no
> Marc> find ./ -name wireless.h gave me:
> Marc> ./output/toolchain/linux-2.6.31.6/include/linux/wireless.h
> Marc> ./output/toolchain/uClibc_dev/usr/include/linux/wireless.h
> Marc> ./output/toolchain/linux/include/linux/wireless.h
> Marc> ./output/build/staging_dir/usr/include/linux/wireless.h
> Marc> ./output/build/linux-2.6.31.6/include/config/wireless.h
> Marc> ./output/build/linux-2.6.31.6/include/linux/wireless.h
> Marc> ./output/build/ifplugd-0.28/src/wireless.h
> 
> Marc> and my config is attached
> 
> Hmm, I don't see any issues here with building the network packages you
> had enabled (the most obvious ones to check for linux/wireless.h). I see
> you have some local lxde packages enabled, maybe one of those checks for
> wireless? Could you try temporarily disabling them and doing a clean
> rebuild?
> 
> -- 
> Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-09  8:33           ` Marc Egli
@ 2009-12-09 13:21             ` Peter Korsgaard
  2009-12-09 20:24               ` Marc Egli
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Korsgaard @ 2009-12-09 13:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:

 Marc> i disabled all the lxde stuff and also openbox (all my own packages). and the result was the same.
 Marc> find gives me 2 packages wich need wireless.h
 Marc> find output/ -name configure* -exec grep -l wireless.h {} \;
 Marc> output/build/kismet-2009-06-R1/configure.in
 Marc> output/build/kismet-2009-06-R1/configure
 Marc> output/build/libpcap-1.0.0/configure.in
 Marc> output/build/libpcap-1.0.0/configure

 Marc> i think libpcap has some errors when searching for linux/wireless.h
 Marc> i attached my configcache and my libpcapconfiglog

You're right, I somehow missed that I had already compiled libpcap, so
it's configure step didn't rerun after I cleared the config cache.

I've added a fix to git (28ccc22ffd3) for this based on how it is fixed
in libpcap git. Could you give it a try to see if it fixes your problem?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] missing kernel headers when compiling kismet
  2009-12-09 13:21             ` Peter Korsgaard
@ 2009-12-09 20:24               ` Marc Egli
  0 siblings, 0 replies; 10+ messages in thread
From: Marc Egli @ 2009-12-09 20:24 UTC (permalink / raw)
  To: buildroot

successfully build without a problem

thx for fixing it

marc egli

Am 09.12.2009 um 14:21 schrieb Peter Korsgaard:

>>>>>> "Marc" == Marc Egli <marc.egli@hsr.ch> writes:
> 
> Marc> i disabled all the lxde stuff and also openbox (all my own packages). and the result was the same.
> Marc> find gives me 2 packages wich need wireless.h
> Marc> find output/ -name configure* -exec grep -l wireless.h {} \;
> Marc> output/build/kismet-2009-06-R1/configure.in
> Marc> output/build/kismet-2009-06-R1/configure
> Marc> output/build/libpcap-1.0.0/configure.in
> Marc> output/build/libpcap-1.0.0/configure
> 
> Marc> i think libpcap has some errors when searching for linux/wireless.h
> Marc> i attached my configcache and my libpcapconfiglog
> 
> You're right, I somehow missed that I had already compiled libpcap, so
> it's configure step didn't rerun after I cleared the config cache.
> 
> I've added a fix to git (28ccc22ffd3) for this based on how it is fixed
> in libpcap git. Could you give it a try to see if it fixes your problem?
> 
> -- 
> Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-12-09 20:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-07 20:28 [Buildroot] missing kernel headers when compiling kismet Marc Egli
2009-12-08  9:01 ` Peter Korsgaard
2009-12-08 10:25   ` Marc Egli
2009-12-08 12:55     ` Peter Korsgaard
2009-12-08 21:27       ` Marc Egli
2009-12-08 21:39         ` Marc Egli
2009-12-08 22:09         ` Peter Korsgaard
2009-12-09  8:33           ` Marc Egli
2009-12-09 13:21             ` Peter Korsgaard
2009-12-09 20:24               ` Marc Egli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.