hello there,
i'm unable to compile examples from wiringop.
this is my output:
code:
- zero@orangepizero:~/WiringOP/examples$ gcc -o blink blink.c -lwiringPi
- //usr/local/lib/libwiringPi.so: undefined reference to `pthread_join'
- //usr/local/lib/libwiringPi.so: undefined reference to `pthread_create'
- //usr/local/lib/libwiringPi.so: undefined reference to `pthread_cancel'
- collect2: error: ld returned 1 exit status
what's the matter?