[Freeswitch-users] freeswitch 1.2.12 build fails on centos 6.2 32bit

Babak Yakhchali babak.freeswitch at gmail.com
Sat Aug 24 18:02:14 MSD 2013


Hi
I'm trying to build freeswitch 1.2.12 in centos 6.2 but I get:

 gcc -I/usr/local/src/freeswitch-1.2.12/libs/curl/include
-I/usr/local/src/freeswitch-1.2.12/src/include
-I/usr/local/src/freeswitch-1.2.12/src/include
-I/usr/local/src/freeswitch-1.2.12/libs/libteletone/src
-I/usr/local/src/freeswitch-1.2.12/libs/stfu -fPIC -Werror
-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
-DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g
-O2 -o .libs/freeswitch freeswitch-switch.o -Wl,-lodbc -Wl,-z -Wl,relro
 -lm ./.libs/libfreeswitch.so
-L/usr/local/src/freeswitch-1.2.12/libs/apr-util/xml/expat/lib -lpq
/usr/local/src/freeswitch-1.2.12/libs/apr-util/xml/expat/lib/.libs/libexpat.a
/usr/local/src/freeswitch-1.2.12/libs/apr/.libs/libapr-1.a
-L/usr/local/src/freeswitch-1.2.12/libs/srtp libs/apr/.libs/libapr-1.a -lrt
-lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -ldl -lz
-lncurses -ljpeg -lodbc  -Wl,--rpath -Wl,/usr/local/freeswitch/lib
/usr/lib/libnss3.so: undefined reference to `PR_FindSymbol'
/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Rlock'
/usr/lib/libssl3.so: undefined reference to `PR_OpenAnonFileMap'
/usr/lib/libssl3.so: undefined reference to `PR_UnloadLibrary'
/usr/lib/libnss3.so: undefined reference to `PL_InitArenaPool'
/usr/lib/libnss3.so: undefined reference to `PR_NewRWLock'
/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Wlock'
/usr/lib/libnss3.so: undefined reference to `PR_LoadLibrary'
/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetEnv'
/usr/lib/libssl3.so: undefined reference to `PR_LoadLibraryWithFlags'
/usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'
/usr/lib/libnss3.so: undefined reference to `PR_DestroyRWLock'
/usr/lib/libnss3.so: undefined reference to `PR_NewTCPSocket'
/lib/libldap_r-2.4.so.2: undefined reference to `PR_SetEnv'
/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetLibraryName'
/usr/lib/libssl3.so: undefined reference to `PR_ErrorInstallTable'
/usr/lib/libssl3.so: undefined reference to `PR_ExportFileMapAsString'
/usr/lib/libssl3.so: undefined reference to `PR_GetLibraryFilePathname'
/usr/lib/libssl3.so: undefined reference to `PR_FindFunctionSymbol'
/usr/lib/libsmime3.so: undefined reference to `PL_NewHashTable'
/lib/libldap_r-2.4.so.2: undefined reference to `PR_ErrorToString'
/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Unlock'
/usr/lib/libssl3.so: undefined reference to `PR_ImportFileMapFromString'
/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetDirectorySeparator'
collect2: ld returned 1 exit status

I tried ./configure --without-libcurl --without-pgsql but no success
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130824/e6fe0efb/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list