[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] compiling the stack with arm-linux-gcc



Dear all,
 
           I am facing a problem of compling the stack with arm-linux-gcc.
 
           i have linked the arm-linux-gcc to complie the stack. However, when i compling the stack..it is not successful.
What is i making worng?? (I have changed the Makefile of the stack.).
 
           Thank you for helping me to debug the errors!!!
 
Regards,
Tim.
 
The error is follows:
   
          
make -C linux/drivers/char/bluetooth
make[1]: Entering directory `/root/armlinux_bluetooth/openbt/linux/drivers/char/bluetooth'
/usr/local/arm/bin/arm-linux-gcc -D__KERNEL__ -DMODULE -I../../../include -I/usr/local/arm/arm-linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -DMODVERSIONS -include /usr/local/arm/arm-linux/include/linux/modversions.h -MD   -c -o bluetooth.o bluetooth.c
In file included from /usr/local/arm/arm-linux/include/linux/tqueue.h:18,
                 from /usr/local/arm/arm-linux/include/linux/tty.h:23,
                 from /usr/local/arm/arm-linux/include/linux/sched.h:21,
                 from /usr/local/arm/arm-linux/include/linux/mm.h:4,
                 from /usr/local/arm/arm-linux/include/linux/poll.h:10,
                 from ../../../include/linux/bluetooth/sysdep-2.1.h:68,
                 from bluetooth.c:44:
/usr/local/arm/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/sys-include/asm/spinlock.h:4: #error ARM architecture does not support SMP spin locks
In file included from /usr/local/arm/arm-linux/include/linux/resource.h:58,
                 from /usr/local/arm/arm-linux/include/linux/sched.h:71,
                 from /usr/local/arm/arm-linux/include/linux/mm.h:4,
                 from /usr/local/arm/arm-linux/include/linux/poll.h:10,
                 from ../../../include/linux/bluetooth/sysdep-2.1.h:68,
                 from bluetooth.c:44:
/usr/local/arm/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/sys-include/asm/resource.h:28: warning: `RLIM_INFINITY' redefined
/usr/local/arm/arm-linux/include/linux/resource.h:40: warning: this is the location of the previous definition
make[1]: *** [bluetooth.o] Error 1
make[1]: Leaving directory `/root/armlinux_bluetooth/openbt/linux/drivers/char/bluetooth'
make: *** [all] Error 2