problem z instalacją Neostrady na USB

Arek Skowron arek w plexcom.pl
Wto, 17 Cze 2003, 08:48:08 CEST


	Podczas kompilacji drivera modemu Sagem Fast 800, dołączonego na płycie
z TPsy, wyskakują błędy, które dołączyłem niżej. Ściągnąłem nową wersję
drivera, ale jest to samo. W dokumentacji do drivera piszą, że testowali
go na jakimś RedHacie.
	Czy ktoś z Was orientuje się, co może być przyczyną? Czy może nie
zainstalowałem jakiegoś pakietu?

Z góry dzięki za odpowiedź
Cwiro

Nie wiem czy to ma znaczenie, ale uzywam paczek i586 (K6 II 350 MHz).

gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -I./ADIUTIL -O2   -c -o AdiUsbAdslDriver.o
AdiUsbAdslDriver.c
In file included from ADIUTIL/Adiutil.h:50,
                  from AdiUsbAdslDriver.c:35:
ADIUTIL/Structs.h:89: warning: unnamed struct/union that defines no
instances
ADIUTIL/Structs.h:112: warning: unnamed struct/union that defines no
instances
ADIUTIL/Structs.h:142: warning: unnamed struct/union that defines no
instances
AdiUsbAdslDriver.c:45: warning: `struct usb_device_id' declared inside
parameter list
AdiUsbAdslDriver.c:45: warning: its scope is only this definition or
declaration, which is probably not what you want.
AdiUsbAdslDriver.c:63: elements of array `adi_ids' have incomplete type
AdiUsbAdslDriver.c:64: warning: implicit declaration of function
`USB_DEVICE'
AdiUsbAdslDriver.c:64: warning: excess elements in struct initializer
AdiUsbAdslDriver.c:64: warning: (near initialization for `adi_ids[0]')
AdiUsbAdslDriver.c:65: warning: excess elements in struct initializer
AdiUsbAdslDriver.c:65: warning: (near initialization for `adi_ids[1]')
AdiUsbAdslDriver.c:67: invalid use of undefined type `struct usb_device_id'
AdiUsbAdslDriver.c:72: unknown field `id_table' specified in initializer
AdiUsbAdslDriver.c:72: warning: initialization from incompatible pointer
type
AdiUsbAdslDriver.c:73: field `probe' already initialized
AdiUsbAdslDriver.c:73: warning: initialization from incompatible pointer
type
AdiUsbAdslDriver.c:74: field `disconnect' already initialized
AdiUsbAdslDriver.c:74: warning: missing braces around initializer
AdiUsbAdslDriver.c:74: warning: (near initialization for
`adi_driver.driver_list')
AdiUsbAdslDriver.c:74: warning: initialization from incompatible pointer
type
AdiUsbAdslDriver.c:75: unknown field `ioctl' specified in initializer
AdiUsbAdslDriver.c:75: warning: initialization from incompatible pointer
type
AdiUsbAdslDriver.c:86: warning: type defaults to `int' in declaration of
`MODULE_DEVICE_TABLE'
AdiUsbAdslDriver.c:86: warning: parameter names (without types) in
function declaration
AdiUsbAdslDriver.c:86: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:132: conflicting types for `adi_probe'
AdiUsbAdslDriver.c:45: previous declaration of `adi_probe'
AdiUsbAdslDriver.c: In function `adi_probe':
AdiUsbAdslDriver.c:339: structure has no member named `tx_timeout'
AdiUsbAdslDriver.c:340: structure has no member named `watchdog_timeo'
AdiUsbAdslDriver.c:350: warning: implicit declaration of function
`create_proc_read_entry'
AdiUsbAdslDriver.c: In function `adi_irq':
AdiUsbAdslDriver.c:481: structure has no member named `SwapIntInfo'
AdiUsbAdslDriver.c:491: structure has no member named `CmvIntInfo'
{standard input}: Assembler messages:
{standard input}:54: Warning: Ignoring changed section attributes for
.modinfo
make: *** [AdiUsbAdslDriver.o] B^(3)?d 1



Więcej informacji o liście dyskusyjnej pld-users-pl