The Usb support in the 2.2 kernels is a bit here and there. It is only beta.
Where as the Usb support for the 2.4 kernels in a lot better even though those
kernels are considerd to be beta them selves. i think that it would be best to go
and download the latest 2.4 test kernel, which I think is 2.4.0-test6. How that
works. (it is about 20mb).

Mark Hillary

Andrew Collington wrote:

> Hi there,
>
> I have Mandrake 7.1 and I was trying to recompile the kernel so that I could
> use my 3com ethernet  card.  Whilst I was in the config panel (using make
> xconfig) I also set  on the USB drivers because I have a USB scanner, printer
> and desktop camera.
>
> However, when trying to compile with the USB support set to Y, I got
> these errors and compiling stopped:
>
> // snip
> make -C usb
> make[2]: Entering directory `/usr/src/linux-2.2.15/drivers/usb'
> make all_targets
> make[3]: Entering directory `/usr/src/linux-2.2.15/drivers/usb'
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586   -c -o
> devio.o devio.c
> devio.c: In function `async_removepending':
> devio.c:273: warning: unused variable `ps'
> {standard input}: Assembler messages:
> {standard input}:760: Error: suffix or operands invalid for `add'
> make[3]: *** [devio.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.2.15/drivers/usb'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.2.15/drivers/usb'
> make[1]: *** [_subdir_usb] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.15/drivers'
> make: *** [_dir_drivers] Error 2
>
> So I tried turning the USB support to M(odule) and although the
> compiliation got further I still got a compiling error which stopped the
> compiling.  These errors are as shown:
>
> //snip
>   usb-uhci-debug.h:95: warning: `uhci_show_queue' defined but not used
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -
> DMODVERSIONS -include /usr/src/linux-2.2.15/include/linux/modversions.h
> -DEXPORT_SYMTAB -c usb.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -
> DMODVERSIONS -include /usr/src/linux-2.2.15/include/linux/modversions.h
> -c -o usb-debug.o usb-debug.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -
> DMODVERSIONS -include /usr/src/linux-2.2.15/include/linux/modversions.h
> -c -o usb-core.o usb-core.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -
> DMODVERSIONS -include /usr/src/linux-2.2.15/include/linux/modversions.h
> -c -o hub.o hub.c
> hub.c:28: warning: `hub_event_lock' defined but not used
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.15/include -Wall -Wstrict-
> prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -O3 -
> fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -
> mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -m486 -
> malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -
> DMODVERSIONS -include /usr/src/linux-2.2.15/include/linux/modversions.h
> -c -o devio.o devio.c
> devio.c: In function `async_removepending':
> devio.c:273: warning: unused variable `ps'
> {standard input}: Assembler messages:
> {standard input}:760: Error: suffix or operands invalid for `add'
> make[2]: *** [devio.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.15/drivers/usb'
> make[1]: *** [_modsubdir_usb] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.15/drivers'
> make: *** [_mod_drivers] Error 2
>
> Now I cannot recompile my kernel.  Can anyone tell me what is happening
> and what I can do to fix it?  I want to keep USB support because of my
> devices, but if I really can't have it then I'll live without, ya know?
>
> Anyway, any help is appreciated!
>
> Thanks,
>
> Andy


Reply via email to