Ik ben deze howto aan het volgen om m'n Speedtouch USB ADSL modem te installeren onder Redhat 8.0:
http://linux-usb.sourceforge.net/SpeedTouch/howto.html
Bij stap 5 moet je daar de speedtouch module 'maken'.
Dit lukt echter niet
(Die symbolic link waarover gepraat wordt is in orde)
Ik vind de output echter nogal verdacht:
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -Wall -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include/ -I../sarlib// -c speedtouch.c -o speedtouch.o
In file included from speedtouch.c:13:
/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
speedtouch.c:81: parse error before "urb_t"
speedtouch.c:81: warning: no semicolon at end of struct or union
speedtouch.c:83: parse error before '}' token
speedtouch.c:83: warning: type defaults to `int' in declaration of `udsl_data_ctx_t'
speedtouch.c:83: warning: data definition has no type or storage class
speedtouch.c:86: parse error before "urb_t"
speedtouch.c:86: warning: no semicolon at end of struct or union
speedtouch.c:90: parse error before '}' token
speedtouch.c:90: warning: type defaults to `int' in declaration of `udsl_usb_send_data_context_t'
speedtouch.c:90: warning: data definition has no type or storage class
speedtouch.c:101: parse error before "udsl_data_ctx_t"
speedtouch.c:101: warning: no semicolon at end of struct or union
speedtouch.c:104: parse error before "send_ctx"
speedtouch.c:104: warning: type defaults to `int' in declaration of `send_ctx'
speedtouch.c:104: warning: data definition has no type or storage class
speedtouch.c:113: parse error before '}' token
speedtouch.c:113: warning: type defaults to `int' in declaration of `udsl_instance_t'
speedtouch.c:113: warning: data definition has no type or storage class
speedtouch.c: In function `udsl_atm_startdevice':
speedtouch.c:182: dereferencing pointer to incomplete type
speedtouch.c:183: dereferencing pointer to incomplete type
speedtouch.c:184: dereferencing pointer to incomplete type
speedtouch.c:185: dereferencing pointer to incomplete type
etc etc etc .....
______________
Iemand enig idee hoe ik dit kan verhelpen?
Hééééél erg bedankt alvast!!!!
(ADSL modem installeren onder linux is zowat het frustrerendste wat ik ooit heb gedaan. GRRR)
D
http://linux-usb.sourceforge.net/SpeedTouch/howto.html
Bij stap 5 moet je daar de speedtouch module 'maken'.
Dit lukt echter niet
(Die symbolic link waarover gepraat wordt is in orde)
Ik vind de output echter nogal verdacht:
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -Wall -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include/ -I../sarlib// -c speedtouch.c -o speedtouch.o
In file included from speedtouch.c:13:
/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
speedtouch.c:81: parse error before "urb_t"
speedtouch.c:81: warning: no semicolon at end of struct or union
speedtouch.c:83: parse error before '}' token
speedtouch.c:83: warning: type defaults to `int' in declaration of `udsl_data_ctx_t'
speedtouch.c:83: warning: data definition has no type or storage class
speedtouch.c:86: parse error before "urb_t"
speedtouch.c:86: warning: no semicolon at end of struct or union
speedtouch.c:90: parse error before '}' token
speedtouch.c:90: warning: type defaults to `int' in declaration of `udsl_usb_send_data_context_t'
speedtouch.c:90: warning: data definition has no type or storage class
speedtouch.c:101: parse error before "udsl_data_ctx_t"
speedtouch.c:101: warning: no semicolon at end of struct or union
speedtouch.c:104: parse error before "send_ctx"
speedtouch.c:104: warning: type defaults to `int' in declaration of `send_ctx'
speedtouch.c:104: warning: data definition has no type or storage class
speedtouch.c:113: parse error before '}' token
speedtouch.c:113: warning: type defaults to `int' in declaration of `udsl_instance_t'
speedtouch.c:113: warning: data definition has no type or storage class
speedtouch.c: In function `udsl_atm_startdevice':
speedtouch.c:182: dereferencing pointer to incomplete type
speedtouch.c:183: dereferencing pointer to incomplete type
speedtouch.c:184: dereferencing pointer to incomplete type
speedtouch.c:185: dereferencing pointer to incomplete type
etc etc etc .....
______________
Iemand enig idee hoe ik dit kan verhelpen?
Hééééél erg bedankt alvast!!!!
(ADSL modem installeren onder linux is zowat het frustrerendste wat ik ooit heb gedaan. GRRR)
D