It sounds like you may have trun off/left off some dependent  features
elsewhere in the configuration. I don't knwo what dependencies exist for
USB, I don't use it...But do a make clean and try over checking all
services... maybe turning off and on only limited services to test the
compile until you find the culprit (I know that take a long time--but it's
ll I've got)

--Greg


> 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
>
>

 
______________________________________________________________________________
message envoye depuis http://www.ifrance.com
emails (pop)-sites persos (espace illimite)-agenda-favoris (bookmarks)-forums 
Ecoutez ce message par tel ! : 08 92 68 92 15 (france uniquement)



Reply via email to