-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi
when i trying to make the program, there is a problem happened shown like this :
joe@joe-usb:~/Desktop/General_Motion_Classifier_ML-master$ make
gcc -lc -lm -lliquid -pthread -o main main.c
main.c: In function ‘init_BLE’:
main.c:84:5: warning: null argument where non-null required (argument 2) [-Wnonnull]
execv("./bctl_auto.sh", NULL);
^~~~~
main.c: In function ‘ML_driver_tr’:
main.c:372:5: warning: null argument where non-null required (argument 2) [-Wnonnull]
execv("./train_auto.py", NULL);
^~~~~
/tmp/ccglHGTW.o: In function init_filter': main.c:(.text+0x545): undefined reference to iirfilt_crcf_create_prototype'
main.c:(.text+0x582): undefined reference to iirfilt_crcf_create_prototype' main.c:(.text+0x5bf): undefined reference to iirfilt_crcf_create_prototype'
/tmp/ccglHGTW.o: In function parse_and_filter': main.c:(.text+0x951): undefined reference to iirfilt_crcf_execute'
main.c:(.text+0xa0b): undefined reference to iirfilt_crcf_execute' main.c:(.text+0xac7): undefined reference to iirfilt_crcf_execute'
collect2: error: ld returned 1 exit status
Makefile:5: recipe for target 'build' failed
make: *** [build] Error 1
is there any solution to solve this issue?
i am the new guy for BLE project, so maybe i cannot understand the complex problem.