Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Build WiringPi on OrangePi
- ./build: 11: [: OrangePi_PC2: unexpected operator
- wiringPi Build script
- =====================
- WiringPi Library
- [UnInstall]
- [Compile] OrangePi.c
- OrangePi.c: In function ‘readR’:
- OrangePi.c:532:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
- if (addr >= GPIOL_BASE) {
- ^
- OrangePi.c:532:14: note: each undeclared identifier is reported only once for each function it appears in
- OrangePi.c: In function ‘writeR’:
- OrangePi.c:559:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
- if (addr >= GPIOL_BASE) {
- ^
- OrangePi.c: In function ‘OrangePi_set_gpio_mode’:
- OrangePi.c:585:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
- phyaddr = GPIOL_BASE + (bank * 36) + ((index >> 3) << 2);
- ^
- OrangePi.c: In function ‘OrangePi_digitalWrite’:
- OrangePi.c:670:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
- phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
- ^
- OrangePi.c: In function ‘OrangePi_digitalRead’:
- OrangePi.c:759:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
- phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
- ^
- Makefile:131: recipe for target 'OrangePi.o' failed
- make: *** [OrangePi.o] Error 1
- Make Failed...
- Please check the messages and fix any problems. If you're still stuck,
- then please email all the output and as many details as you can to
- projects@drogon.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement