Hi Folks,
I'm trying to compile some tools using the wireless Extensions etc. However -
everything I compile always bails out on the ethtool.h include file.
Anyone noticed this before ?
Note - I'm using the kernel-source-2.4.21-0.18mdk - but recompiled to use the
C3 Nemiah CPU. No patches applied - except that I use the Alsa-0.9.4 drivers
on the system - which should not affect any compiling though. May it be a
gcc-version problem ? The ethtool.h file is the same for gcc and the kernel
(checked using diff).
Thx for any hint.
Here the output:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o wwidget.o
`test -f 'wwidget.cpp' || echo './'`wwidget.cpp
In file included from /usr/include/linux/wireless.h:75,
from wcard.h:34,
from wwidget.h:32,
from wwidget.cpp:18:
/usr/include/linux/ethtool.h:18: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:19: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:20: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:21: 'u16' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:22: 'u8' is used as a type, but is not defined as
a type.
/usr/include/linux/ethtool.h:23: 'u8' is used as a type, but is not defined as
a type.
/usr/include/linux/ethtool.h:24: 'u8' is used as a type, but is not defined as
a type.
/usr/include/linux/ethtool.h:25: 'u8' is used as a type, but is not defined as
a type.
/usr/include/linux/ethtool.h:26: 'u8' is used as a type, but is not defined as
a type.
/usr/include/linux/ethtool.h:27: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:28: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:29: parse error before `[' token
/usr/include/linux/ethtool.h:35: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:43: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:44: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:45: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:46: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:52: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:53: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:54: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:55: parse error before `[' token
/usr/include/linux/ethtool.h:60: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:61: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:66: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:67: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:68: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:69: parse error before `[' token
/usr/include/linux/ethtool.h:74: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:75: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:76: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:77: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:78: parse error before `[' token
/usr/include/linux/ethtool.h:83: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:89: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:97: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:104: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:105: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:111: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:119: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:126: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:127: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:134: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:143: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:144: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:150: 'u32' is u