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 used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:151: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:152: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:153: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:154: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:165: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:166: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:167: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:168: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:169: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:174: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:179: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:185: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:186: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:187: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:188: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:193: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:194: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:195: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:196: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:201: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:213: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:214: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:215: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:226: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:227: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:228: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:229: parse error before `[' token
/usr/include/linux/ethtool.h:239: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:240: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:241: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:242: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:243: parse error before `[' token
/usr/include/linux/ethtool.h:248: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:249: 'u32' is used as a type, but is not defined
as a type.
/usr/include/linux/ethtool.h:250: parse error before `[' token
wwidget.cpp: In member function `void WWidget::tabSelectedSlot(int)':
wwidget.cpp:226: warning: unused parameter `int index'
make[2]: *** [wwidget.o] Error 1
make[2]: Leaving directory `/usr/local/src/kwavecontrol-0.3/kwavecontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kwavecontrol-0.3'
make: *** [all] Error 2
--
Your computer account is overdrawn. Please see Big Brother.
------------------------------------------------------------------------
| Joerg Mertin : [EMAIL PROTECTED] (Home)|
| in Neuch�tel/Schweiz : [EMAIL PROTECTED] (Alt1)|
| Stardust's LiNUX System : [EMAIL PROTECTED] (Alt2)|
| Web: http://www.solsys.org: Voice & Fax: +41(0)32 / 725 52 54 |
------------------------------------------------------------------------
PGP Fingerprint: AF0F FB75 997B 025F 4538 5AD6 9888 5D97 170B 8B7A
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com