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
Quoted 6 lines · Ed Tomlinson
I get this building 2.5.51
make -f
scripts/Makefile.buildobj=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 -odrivers/usb/serial/usb-serial.odrivers/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