Andreas Tille <andr...@an3as.eu> writes:

> [1] https://salsa.debian.org/science-team/nfft/-/jobs/3041717

| + gcc -Wall -DNFFT_PRECISION_SINGLE -lnfft3f -lfftw3f -o simple_test 
simple_test.c
| /usr/bin/ld: /tmp/ccaUJ49M.o: in function `simple_test_nfft_1d':
| simple_test.c:(.text+0x2c): undefined reference to `nfftf_init_1d'
[...]

Please try listing simple_test.c ahead of the libraries, which the
linker otherwise discards as apparently unneeded.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to