Several versions of wireless.h
Johnny Choque
jchoque at tlmat.unican.es
Mon Aug 28 18:10:55 UTC 2006
Hi all,
I have a laptop with FC5, kernel-2.6.17-1.2174_FC5 and
wireless-tools-28-0.pre13.5.1. I need to do a particular program that use
structures and variables of wireless extensions (WE) v19 but when I tried to
compile my program I got several errors pointing that such structures and
variables aren't recognized. I have noticed that I have several version of
wireless.h, as the following:
/usr/include/linux/wireless.h --> WE-16
/usr/include/wireless.h --> WE-19
/usr/src/kernels/kernel-2.6.17-1.2174_FC5-i686/include/linux/wireless.h -->
WE-20
In my program I have included: #include <linux/wireless.h> and I understand
that the compiler is trying to use WE-16. I have tryed to give a solution
doing:
# cd /usr/include/linux
# rm wireless.h
# ln -s ../wireless.h .
But the problem wasn't solved. Could you give me some ideas in order to find
the solution?
Cheers,
Johnny
More information about the fedora-list
mailing list