-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
I tried compiling the latest release for this on Ubuntu 16.04.
this commit 92c8a59, broke the makefile.
There is still one double_t in src/ftts_trig.c
Here is the error while compiling:
ffts_trig.c: In function ‘ffts_generate_cosine_sine_pow2_32f’:
ffts_trig.c:884:5: error: unknown type name ‘constffts_’
constffts_ double_t *FFTS_RESTRICT hs;
^
ffts_trig.c:884:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
constffts_ double_t *FFTS_RESTRICT hs;
^
ffts_trig.c:914:5: error: ‘hs’ undeclared (first use in this function)
hs = FFTS_ASSUME_ALIGNED_16(&half_secant[2 * offset]);
After changing I got this error while compiling
make[2]: Entering directory '/tmp/ffts/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o test test.o ../src/libffts.la -lm
libtool: link: gcc -g -O2 -o test test.o ../src/.libs/libffts.a -lm
../src/.libs/libffts.a(ffts.o): In function `ffts_init_1d':
/tmp/ffts/src/ffts.c:434: undefined reference to `ffts_chirp_z_init'
collect2: error: ld returned 1 exit status
Makefile:360: recipe for target 'test' failed
make[2]: *** [test] Error 1
make[2]: Leaving directory '/tmp/ffts/tests'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/ffts'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2
Metadata
Metadata
Assignees
Labels
No labels