Hi,
I had the same problem on my Raspberry Pi 2.
Maybe its not a very nice way but I just changed BCM2835_PERI_BASE=0x to BCM2835_PERI_BASE=0x3F000000 in the Makefile and now it works.
(On Raspi 1 it should be BCM2835_PERI_BASE=0x20000000)
Hi,
I had the same problem on my Raspberry Pi 2.
Maybe its not a very nice way but I just changed BCM2835_PERI_BASE=0x to BCM2835_PERI_BASE=0x3F000000 in the Makefile and now it works.
(On Raspi 1 it should be BCM2835_PERI_BASE=0x20000000)