2002-12-11 02:01:33

by Ed Tomlinson

[permalink] [raw]
Subject: problems build usb-serial as a module in 2.5.51

I get this building 2.5.51

make -f scripts/Makefile.build obj=drivers/usb/serial
gcc -Wp,-MD,drivers/usb/serial/.usb-serial.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=usb_serial -DKBUILD_MODNAME=usbserial -DEXPORT_SYMTAB -c -o drivers/usb/serial/usb-serial.o drivers/usb/serial/usb-serial.c
{standard input}: Assembler messages:
{standard input}:2592: Error: value of -129 too large for field of 1 bytes at 5820
make[3]: *** [drivers/usb/serial/usb-serial.o] Error 1
make[2]: *** [drivers/usb/serial] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
You have new mail.

TIA
Ed Tomlinson


2002-12-11 05:08:00

by Greg KH

[permalink] [raw]
Subject: Re: problems build usb-serial as a module in 2.5.51

On Tue, Dec 10, 2002 at 09:09:18PM -0500, Ed Tomlinson wrote:
> I get this building 2.5.51
>
> make -f scripts/Makefile.build obj=drivers/usb/serial
> gcc -Wp,-MD,drivers/usb/serial/.usb-serial.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=usb_serial -DKBUILD_MODNAME=usbserial -DEXPORT_SYMTAB -c -o drivers/usb/serial/usb-serial.o drivers/usb/serial/usb-serial.c
> {standard input}: Assembler messages:
> {standard input}:2592: Error: value of -129 too large for field of 1 bytes at 5820

What version of gcc and what is your .config for the CONFIG_USB_SERIAL_*
options?

thanks,

greg k-h