Hi, i have a error with make test, please help me:
pi@rpi:~/grove_dust $ make test
gcc -c -o lngpio.o lngpio.c -I. -Werror -pthread -g
lngpio.c: In function ‘lngpio_pin_pulse_len’:
lngpio.c:292:3: error: implicit declaration of function ‘gettimeofday’ [-Werror=implicit-function-declaration]
gettimeofday (&t1, NULL);
^~~~
cc1: all warnings being treated as errors
Makefile:14: die Regel für Ziel „lngpio.o“ scheiterte
make: *** [lngpio.o] Fehler 1
Hi, i have a error with make test, please help me: pi@rpi:~/grove_dust $ make test gcc -c -o lngpio.o lngpio.c -I. -Werror -pthread -g lngpio.c: In function ‘lngpio_pin_pulse_len’: lngpio.c:292:3: error: implicit declaration of function ‘gettimeofday’ [-Werror=implicit-function-declaration] gettimeofday (&t1, NULL); ^
~~~ cc1: all warnings being treated as errors Makefile:14: die Regel für Ziel „lngpio.o“ scheiterte make: *** [lngpio.o] Fehler 1