problems with my kernel compile on mandrake
root
sheadley@swbell.net
Thu May 18 19:22:00 GMT 2000
I have had a problem rebuilding my kernel to use usb functionality. the
following is the error messagee I received from my compiler:
make[3]: Entering directory `/usr/src/linux-2.2.14/drivers/usb'
gcc -D__KERNEL__ -I/usr/src/linux/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.14/drivers/usb'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.14/drivers/usb'
make[1]: *** [_subdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/drivers'
make: *** [_dir_drivers] Error 2
I am using gcc-2.95.2-3mdk. The distribution is mandrake. the kernel
version is linux-2.2.14. Line 273 is presented below though I don't
think it has anything to do with the error.
271 extern __inline__ void async_removepending(struct async *as)
272 {
273 struct dev_state *ps = as->ps;
274 unsigned long flags;
275
276 spin_lock_irqsave(&ps->lock, flags);
277 list_del(&as->asynclist);
278 INIT_LIST_HEAD(&as->asynclist);
279 spin_unlock_irqrestore(&ps->lock, flags);
280 }
More information about the Gcc-bugs
mailing list