On Wed, 1 May 2002, Dave Jones wrote:
>...
> o Bluetooth update. (Maksim (Max) Krasnyanskiy)
>...
"dev_list" is now defined in two files and I got the following compile
error when building a kernel with all Bluetooth drivers compiled
statically into the kernel:
<-- snip -->
...
make[3]: Entering directory
`/home/bunk/linux/kernel-2.5/linux-2.5.12/drivers/bluetooth'
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=hci_usb -c
-o hci_usb.o hci_usb.c
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=hci_vhci -c
-o hci_vhci.o hci_vhci.c
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=hci_ldisc -c
-o hci_ldisc.o hci_ldisc.c
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=hci_h4 -c -o
hci_h4.o hci_h4.c
ld -m elf_i386 -r -o hci_uart.o hci_ldisc.o hci_h4.o
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=dtl1_cs -c
-o dtl1_cs.o dtl1_cs.c
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=bluecard_cs
-c -o bluecard_cs.o bluecard_cs.c
rm -f bluetooth.o
ld -m elf_i386 -r -o bluetooth.o hci_usb.o hci_vhci.o hci_uart.o
dtl1_cs.o bluecard_cs.o
bluecard_cs.o(.data+0x40): multiple definition of `dev_list'
dtl1_cs.o(.data+0x40): first defined here
make[3]: *** [bluetooth.o] Error 1
make[3]: Leaving directory `/home/bunk/linu
<-- snip -->
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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 : Tue May 07 2002 - 22:00:12 EST