LPCNet
LPCNet copied to clipboard
cannot build test_vec
After fetching source code from GitHub repo and cd LPCNet; make -f doc/Makefile
, I met following error.
cc -o test_vec -Wall -W -Wextra -Wno-unused-function -O3 -g -Iinclude -mavx2 -mfma src/test_vec.o -lm
/usr/bin/ld: src/test_vec.o: in function `test_sgemv_accum16':
/home/uaa/LPCNet.mozilla/src/test_vec.c:71: undefined reference to `sgemv_accum16'
/usr/bin/ld: src/test_vec.o: in function `test_sparse_sgemv_accum16':
/home/uaa/LPCNet.mozilla/src/test_vec.c:105: undefined reference to `sparse_sgemv_accum16'
collect2: error: ld returned 1 exit status
make: *** [doc/Makefile:57: test_vec] Error 1
I am using Void Linux (amd64, glibc), gcc version is 10.2.1. Is there any remedy?
That Makefile is out of date. Any reason you can't use the standard autoconf build? Also, where did you get the instruction about using that Makefile?
I want to update vector code of drowe67's LPCNet (https://github.com/drowe67/LPCNet). This fork(?) compiles test_vec.c but it cannot build with new (mozilla's) vec_xxxx.h. To find the reason of the problem, I want to try building original test code.
And mozilla/LPCNet's autoconf does not contains test_vec. Is there any reason to exclude?