RE: 2.5.69-mm5

From: Jon K. Akers (jka@mbi.ufl.edu)
Date: Wed May 14 2003 - 09:33:43 EST


I like to at least build the new stuff that comes out with Andrew's
patches, and building the new gadget code that came out in -mm4 I got
this when building as a module:

make -f scripts/Makefile.build obj=drivers/serial
make -f scripts/Makefile.build obj=drivers/usb/gadget
  gcc -Wp,-MD,drivers/usb/gadget/.net2280.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
-iwithprefix include -DMODULE -DKBUILD_BASENAME=net2280
-DKBUILD_MODNAME=net2280 -c -o drivers/usb/gadget/net2280.o
drivers/usb/gadget/net2280.c
drivers/usb/gadget/net2280.c:2623: pci_ids causes a section type
conflict
make[2]: *** [drivers/usb/gadget/net2280.o] Error 1
make[1]: *** [drivers/usb/gadget] Error 2
make: *** [drivers] Error 2

I was not able to test this particular part of the code with -mm4, as I
use a single processor system and could not get to the module building
process then.

I have also tested this by compiling it into the kernel, with the same
results:

  gcc -Wp,-MD,drivers/usb/gadget/.net2280.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
-iwithprefix include -DKBUILD_BASENAME=net2280
-DKBUILD_MODNAME=net2280 -c -o drivers/usb/gadget/net2280.o
drivers/usb/gadget/net2280.c
drivers/usb/gadget/net2280.c:2623: pci_ids causes a section type
conflict
make[2]: *** [drivers/usb/gadget/net2280.o] Error 1
make[1]: *** [drivers/usb/gadget] Error 2
make: *** [drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:52 EST