[Speex-dev] compiling with --enable-valgrind
Mimiko
vbvbrj at gmail.com
Mon Feb 20 18:38:45 UTC 2017
Hello. I want to compile trunk speex.
./configure --prefix=/opt/speex --enable-option-checking --disable-silent-rules --disable-maintainer-mode \
--enable-shared=yes --enable-static=yes --enable-fast-install=yes --enable-dependency-tracking \
--enable-libtool-lock --enable-valgrind --enable-sse --enable-binaries --enable-vbr \
--disable-fixed-point-debug --enable-vorbis-psy --with-pic -with-gnu-ld \
LDFLAGS="-L/opt/valgrind/lib -L/opt/valgrind/lib/valgrind" \
CFLAGS="-fPIC -I/opt/valgrind/include" \
PKG_CONFIG_PATH="/opt/ogg/lib/pkgconfig:/opt/speexdsp/lib/pkgconfig:/opt/valgrind/lib/pkgconfig"
make V=1 -wj$(nproc) all
But I get error:
libtool: link: gcc -fPIC -I/opt/valgrind/include -fvisibility=hidden -O3 -msse -Wall -o .libs/testenc_wb testenc_wb.o -L/opt/valgrind/lib
-L/opt/valgrind/lib/valgrind ./.libs/libspeex.so -lm -Wl,-rpath -Wl,/opt/speex/lib
./../libs./libslibspeex.so/:libspeex.so :undefined undefinedreference referenceto to` `VALGRIND_MAKE_READABLEVALGRIND_MAKE_READABLE''
./.libs/libspeex.so: undefined reference to `VALGRIND_MAKE_READABLE'
collect2: error: ld returned 1 exit status
Makefile:498: recipe for target 'testenc' failed
make[2]: *** [testenc] Error 1
make[2]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
Makefile:502: recipe for target 'testenc_uwb' failed
make[2]: *** [testenc_uwb] Error 1
collect2: error: ld returned 1 exit status
Makefile:506: recipe for target 'testenc_wb' failed
make[2]: *** [testenc_wb] Error 1
make[2]: Leaving directory '/home/mimiko/src/speex/libspeex'
Makefile:497: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mimiko/src/speex'
Makefile:382: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/mimiko/src/speex'
I didn't find where I can ask for help.
What could be the problem?
More information about the Speex-dev
mailing list