[Freeswitch-dev] Compiling error - libsndfile.so
Stuart Johnson
stuart at stu.org.uk
Mon Oct 9 11:27:15 EDT 2006
Trying to get freeswitch to compile on my Gentoo box. Somethings broke:
test -z "/usr/local/freeswitch/include" || mkdir -p --
"/usr/local/freeswitch/include"
/usr/bin/install -c -m 644 'sndfile.h'
'/usr/local/freeswitch/include/sndfile.h'
make[5]: Leaving directory `/root/freeswitch/libs/libsndfile-1.0.16/src'
make[4]: Leaving directory `/root/freeswitch/libs/libsndfile-1.0.16/src'
make[3]: Leaving directory `/root/freeswitch/libs/libsndfile-1.0.16/src'
Making install in examples
make[3]: Entering directory
`/root/freeswitch/libs/libsndfile-1.0.16/examples'
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -W -Wall
-Wdeclaration-after-statement -Wstrict-prototypes -Wmissing-prototypes
-Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow
-Wbad-function-cast -Wwrite-strings -pipe -o sndfile-info
sndfile-info.o ../src/libsndfile.la -lm
gcc -std=gnu99 -W -Wall -Wdeclaration-after-statement
-Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align
-Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast
-Wwrite-strings -pipe -o .libs/sndfile-info sndfile-info.o
../src/.libs/libsndfile.so -lm
../src/.libs/libsndfile.so: undefined reference to `s2flac16_array'
../src/.libs/libsndfile.so: undefined reference to `s2flac8_array'
../src/.libs/libsndfile.so: undefined reference to `i2flac8_array'
../src/.libs/libsndfile.so: undefined reference to `i2flac24_array'
../src/.libs/libsndfile.so: undefined reference to `i2flac16_array'
../src/.libs/libsndfile.so: undefined reference to `s2flac24_array'
collect2: ld returned 1 exit status
make[3]: *** [sndfile-info] Error 1
make[3]: Leaving directory
`/root/freeswitch/libs/libsndfile-1.0.16/examples'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/freeswitch/libs/libsndfile-1.0.16'
ERROR
make[1]: *** [depends] Error 1
make[1]: Leaving directory `/root/freeswitch/src/mod/formats/mod_sndfile'
make: *** [modules] Error 1
More information about the Freeswitch-dev
mailing list