I am trying to Cross compile library bcm2835-1.42 for my raspberry pi board in Ubuntu. Download library and cross compiled using following commands:
wget http: www.airspayce.com/mikem/bcm2835/bcm2835-1.42.tar.gz
tar -xvf bcm2835-1.42.tar.gz
cd bcm2835-1.42
./configure -host=arm -prefix=$(DEVELROOT) CC=arm-linux-gnueabihf-gcc-4.8 ar=arm-linux-gnueabihf-ar-4.8
make
when i have make sources code i stuck with following error message.
/tmp/ccxDzazg.s: Assembler messages:
/tmp/ccxDzazg.s:299: Error: invalid barrier type --
dmb ldr r0,[r0] dmb' /tmp/ccxDzazg.s:365: Error: invalid barrier type --
dmb str r1,[r0] dmb' /tmp/ccxDzazg.s:453: Error: invalid barrier type --dmb ldr r0,[r0] dmb' /tmp/ccxDzazg.s:480: Error: invalid barrier type --
dmb str r1,[r6] dmb' /tmp/ccxDzazg.s:644: Error: invalid barrier type --dmb str r1,[r0] dmb' /tmp/ccxDzazg.s:731: Error: invalid barrier type --
dmb str r1,[r0] dmb' /tmp/ccxDzazg.s:807: Error: invalid barrier type --dmb str r1,[r0] dmb' /tmp/ccxDzazg.s:868: Error: invalid barrier type --
dmb str r1,[r0] dmb'