Advertisement
Guest User

Untitled

a guest
May 31st, 2018
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 1.47 KB | None | 0 0
  1. Build WiringPi on OrangePi
  2. ./build: 11: [: OrangePi_PC2: unexpected operator
  3. wiringPi Build script
  4. =====================
  5.  
  6.  
  7. WiringPi Library
  8. [UnInstall]
  9. [Compile] OrangePi.c
  10. OrangePi.c: In function ‘readR’:
  11. OrangePi.c:532:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
  12.   if (addr >= GPIOL_BASE) {
  13.               ^
  14. OrangePi.c:532:14: note: each undeclared identifier is reported only once for each function it appears in
  15. OrangePi.c: In function ‘writeR’:
  16. OrangePi.c:559:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
  17.   if (addr >= GPIOL_BASE) {
  18.               ^
  19. OrangePi.c: In function ‘OrangePi_set_gpio_mode’:
  20. OrangePi.c:585:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
  21.    phyaddr = GPIOL_BASE + (bank * 36) + ((index >> 3) << 2);
  22.              ^
  23. OrangePi.c: In function ‘OrangePi_digitalWrite’:
  24. OrangePi.c:670:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
  25.    phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
  26.              ^
  27. OrangePi.c: In function ‘OrangePi_digitalRead’:
  28. OrangePi.c:759:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
  29.    phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
  30.              ^
  31. Makefile:131: recipe for target 'OrangePi.o' failed
  32. make: *** [OrangePi.o] Error 1
  33.  
  34. Make Failed...
  35. Please check the messages and fix any problems. If you're still stuck,
  36. then please email all the output and as many details as you can to
  37.   projects@drogon.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement