[Freeswitch-users] Error when building freeswitch on Debian Etch 64bit.

Brian West brian at freeswitch.org
Tue Dec 23 07:06:30 PST 2008


Please install c++ compiler.

/b

On Dec 23, 2008, at 3:10 AM, B Karthik wrote:

> Hi,
>
> I am getting the following error when compiling latest Freeswitch  
> with svn Revision no - 10914 on Debian etch 64bit. Freeswitch  
> version 1.0.1 is building successfully.
>
> Making all in .
> gcc -I/opt/src/freeswitch/src/include -I/opt/src/freeswitch/libs/ 
> libteletone/src -fPIC -Werror -g -ggdb -g -O2 -pthread -DLINUX=2 - 
> D_REENTRANT -D_GNU_SOURCE -I/opt/src/freeswitch/libs/apr/include -I/ 
> opt/src/freeswitch/libs/apr-util/include -I/opt/src/freeswitch/libs/ 
> stfu -I/opt/src/freeswitch/libs/sqlite -I/opt/src/freeswitch/libs/ 
> pcre -I/opt/src/freeswitch/libs/srtp/include -I/opt/src/freeswitch/ 
> libs/srtp/crypto/include -I/opt/src/freeswitch/libs/libresample/ 
> include -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -DSWITCH_HAVE_ODBC - 
> Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -Wall -std=c99 - 
> pedantic -o .libs/freeswitch freeswitch-switch.o  -lm -L/usr/local/ 
> lib ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a -lrt -ldl - 
> lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lncurses -Wl,-- 
> rpath -Wl,/opt/freeswitch/lib
> ./.libs/libfreeswitch.so: undefined reference to `operator  
> new(unsigned long)'
> ./.libs/libfreeswitch.so: undefined reference to `operator  
> delete(void*)'
> ./.libs/libfreeswitch.so: undefined reference to  
> `__gxx_personality_v0'
> ./.libs/libfreeswitch.so: undefined reference to `__cxa_pure_virtual'
> ./.libs/libfreeswitch.so: undefined reference to `vtable for  
> __cxxabiv1::__class_type_info'
> collect2: ld returned 1 exit status
> make[2]: *** [freeswitch] Error 1
>
> Thanks.
>
> B Karthik
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list