[Freeswitch-users] make error

Ken Rice krice at freeswitch.org
Wed Dec 12 19:03:39 MSK 2012


Sounds like your build environment is screwed up...

What platform are you building on?

Also try the following if you are getting the code from git

# git clean ­fdx && git reset ‹hard && git pull

Then start over at bootstrap.sh and go from there


On 12/12/12 8:43 AM, "Archana Venugopan" <a.venugopan at mundio.com> wrote:

> Hi ,
>  
> Am trying to install freeswitch in new server. While running make command am
> facing with the below error. In google I could not get a clue on this error.
> Can anyone have any idea about this error please?
>  
> *** Warning: Linking the shared library libfreeswitch.la against the
> *** static library libs/libedit/src/.libs/libedit.a is not portable!
> quiet_libtool: link: g++ -shared -nostdlib
> /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/crti.o
> /usr/lib/gcc/x86_64-redhat-linux/4.4.6/crtbeginS.o
> .libs/libfreeswitch_la-switch_apr.o .libs/libfreeswitch_la-switch_buffer.o
> .libs/libfreeswitch_la-switch_caller.o .libs/libfreeswitch_la-switch_channel.o
> .libs/libfreeswitch_la-switch_console.o
> .libs/libfreeswitch_la-switch_mprintf.o
> .libs/libfreeswitch_la-switch_core_media_bug.o
> .libs/libfreeswitch_la-switch_core_timer.o
> .libs/libfreeswitch_la-switch_core_asr.o
> .libs/libfreeswitch_la-switch_core_event_hook.o
> .libs/libfreeswitch_la-switch_core_speech.o
> .libs/libfreeswitch_la-switch_core_memory.o
> .libs/libfreeswitch_la-switch_core_codec.o
> .libs/libfreeswitch_la-switch_core_file.o
> .libs/libfreeswitch_la-switch_core_hash.o
> .libs/libfreeswitch_la-switch_core_sqldb.o
> .libs/libfreeswitch_la-switch_core_session.o
> .libs/libfreeswitch_la-switch_core_directory.o
> .libs/libfreeswitch_la-switch_core_state_machine.o
> .libs/libfreeswitch_la-switch_core_io.o
> .libs/libfreeswitch_la-switch_core_rwlock.o
> .libs/libfreeswitch_la-switch_core_port_allocator.o
> .libs/libfreeswitch_la-switch_core.o .libs/libfreeswitch_la-switch_scheduler.o
> .libs/libfreeswitch_la-switch_core_db.o .libs/libfreeswitch_la-switch_dso.o
> .libs/libfreeswitch_la-switch_loadable_module.o
> .libs/libfreeswitch_la-switch_utils.o .libs/libfreeswitch_la-switch_event.o
> .libs/libfreeswitch_la-switch_resample.o .libs/libfreeswitch_la-switch_regex.o
> .libs/libfreeswitch_la-switch_rtp.o .libs/libfreeswitch_la-switch_ivr_bridge.o
> .libs/libfreeswitch_la-switch_ivr_originate.o
> .libs/libfreeswitch_la-switch_ivr_async.o
> .libs/libfreeswitch_la-switch_ivr_play_say.o
> .libs/libfreeswitch_la-switch_ivr_say.o
> .libs/libfreeswitch_la-switch_ivr_menu.o .libs/libfreeswitch_la-switch_ivr.o
> .libs/libfreeswitch_la-switch_stun.o .libs/libfreeswitch_la-switch_nat.o
> .libs/libfreeswitch_la-switch_log.o .libs/libfreeswitch_la-switch_xml.o
> .libs/libfreeswitch_la-switch_xml_config.o
> .libs/libfreeswitch_la-switch_config.o .libs/libfreeswitch_la-switch_time.o
> .libs/libfreeswitch_la-switch_odbc.o .libs/libfreeswitch_la-switch_limit.o
> .libs/libfreeswitch_la-g711.o .libs/libfreeswitch_la-switch_pcm.o
> .libs/libfreeswitch_la-switch_profile.o .libs/libfreeswitch_la-switch_json.o
> .libs/libfreeswitch_la-switch_curl.o .libs/libfreeswitch_la-tpl.o
> .libs/libfreeswitch_la-stfu.o .libs/libfreeswitch_la-libteletone_detect.o
> .libs/libfreeswitch_la-libteletone_generate.o
> .libs/libfreeswitch_la-miniwget.o .libs/libfreeswitch_la-minixml.o
> .libs/libfreeswitch_la-igd_desc_parse.o .libs/libfreeswitch_la-minisoap.o
> .libs/libfreeswitch_la-miniupnpc.o .libs/libfreeswitch_la-upnpreplyparse.o
> .libs/libfreeswitch_la-upnpcommands.o .libs/libfreeswitch_la-minissdpc.o
> .libs/libfreeswitch_la-upnperrors.o .libs/libfreeswitch_la-natpmp.o
> .libs/libfreeswitch_la-getgateway.o .libs/libfreeswitch_la-plc.o
> .libs/libfreeswitch_la-bit_operations.o .libs/switch_cpp.o
> -L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs
> -L/usr/local/src/freeswitch/libs/apr/.libs libs/apr-util/.libs/libaprutil-1.a
> -L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
> /usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a
> /usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a libs/apr/.libs/libapr-1.a
> libs/sqlite/.libs/libsqlite3.a -lpthread libs/pcre/.libs/libpcre.a
> libs/speex/libspeex/.libs/libspeexdsp.a libs/srtp/.libs/libsrtp.a
> libs/libedit/src/.libs/libedit.a libs/curl/lib/.libs/libcurl.a -lz -ldl
> -lcrypt -lrt -lncurses -ljpeg -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6
> -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64 -L/lib/../lib64
> -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../.. -lstdc++
> -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.4.6/crtendS.o
> /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/crtn.o    -pthread
> -Wl,-soname -Wl,libfreeswitch.so.1 -o .libs/libfreeswitch.so.1.0.0
> libs/apr-util/.libs/libaprutil-1.a: could not read symbols: File in wrong
> format
> collect2: ld returned 1 exit status
> make[1]: *** [libfreeswitch.la] Error 1
> make: *** [all] Error 2
>  
> Regards,
> Archana
>  
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121212/3c98257d/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list