Hello,

I have a problem compiling the package wireless_tools.27 from current CVS checkout & make download (2005-04-06 09:00 GMT) :

gcc -isystem /var/autofs/fb02/prgdist/unattend/cvs/unattended/linuxboot/fakeinclude -L/var/autofs/fb02/prgdist/unattend/cvs/unattended/linuxboot/fakelib -L/
var/autofs/fb02/prgdist/unattend/cvs/unattended/linuxboot/stage1/lib -L/var/autofs/fb02/prgdist/unattend/cvs/unattended/linuxboot/stage1/usr/lib -Wl,-rpath-
link,/var/autofs/fb02/prgdist/unattend/cvs/unattended/linuxboot/stage1/lib -O2 -Wall -MMD -fPIC -c -o iwlib.so iwlib.c
In file included from iwlib.c:14:
iwlib.h:131:22: warning: wireless.h: No such file or directory
In file included from iwlib.c:14:


===

I patched as follows, then it compiles:

--- iwlib.h.ORIG        2005-04-06 11:29:34.000000000 +0200
+++ iwlib.h     2005-04-06 11:30:22.000000000 +0200
@@ -129,4 +129,5 @@

+/*ska: Private copy of header file in angle brackets??! */
 /* Private copy of Wireless extensions */
-#include <wireless.h>
+#include "wireless.h"

===

The "magic" private copy of wireless.h is:

--- ./linux-2.6.11.6/include/linux/wireless.h 2005-03-26 04:28:23.000000000 +0100
+++ ./wireless_tools.27/wireless.h 2005-04-06 11:29:11.000000000 +0200
@@ -479,3 +479,3 @@
{
- void __user *pointer; /* Pointer to the data (in user space) */
+ caddr_t pointer; /* Pointer to the data (in user space) */
__u16 length; /* number of fields or size in bytes */


Bye,

--
Steffen Kaiser


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to