Thanks Mathieu, after installing zlib-devel.x86_64, no eerors any more.<br><br><br><br><div class="gmail_quote">On Sun, Apr 26, 2009 at 3:00 PM, Mathieu Rene <span dir="ltr">&lt;<a href="mailto:mrene_lists@avgs.ca">mrene_lists@avgs.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">You dont have the 64 bit zlib-devel package, install it<div><div></div><div class="h5">
<div><br><div><div>On 26-Apr-09, at 2:59 PM, Chris Chen wrote:</div><br><blockquote type="cite">Hi Brian, thanks for your quick reply, here is error when &quot;make&quot;<br><br>Creating <a href="http://mod_sofia.la" target="_blank">mod_sofia.la</a><br>
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz<br>/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz<br> /usr/bin/ld: cannot find -lz<br>collect2: ld returned 1 exit status<br>
gcc -shared  .libs/mod_sofia_la-mod_sofia.o .libs/mod_sofia_la-sofia.o .libs/mod_sofia_la-sofia_glue.o .libs/mod_sofia_la-sofia_presence.o .libs/mod_sofia_la-sofia_reg.o .libs/mod_sofia_la-sofia_sla.o -Wl,--whole-archive /usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/.libs/libsofia-sip-ua.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/src/freeswitch/.libs -Wl,--rpath -Wl,/usr/local/freeswitch/lib /usr/src/freeswitch/.libs/libfreeswitch.so -L/usr/src/freeswitch/libs/apr/.libs -L/usr/src/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lrt -lpthread -lncurses  -Wl,-soname -Wl,mod_sofia.so -o .libs/mod_sofia.so<br>
 make[5]: *** [<a href="http://mod_sofia.la" target="_blank">mod_sofia.la</a>] Error 1<br>make[4]: *** [all] Error 2<br>make[3]: *** [mod_sofia-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>Making all in build<br>
 +-------- FreeSWITCH Build Complete -----------+<br>  + FreeSWITCH has been successfully built.      +<br> + Install by running:                          +<br> +                                              +<br> +               make install                   +<br>
 +----------------------------------------------+<br> make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br><br>Do you think what can be done to correct the error:<br>/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz<br>
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz<br> /usr/bin/ld: cannot find -lz<br><br>Your helps are greatly appreciated.<br>Thanks,<br><br><br><div class="gmail_quote">On Sun, Apr 26, 2009 at 2:51 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br>
 <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>You&#39;re missing the REAL reason it failed... the libtool warning wasn&#39;t really what failed.  Please do not make -j and do just &quot;make&quot; and see what really fails.<div>
 <br></div><div>/b</div><div><div><div></div><div><br><div><div>On Apr 26, 2009, at 1:45 PM, Chris Chen wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Making all in nua<br>
          LTCOMPILE nua.lo<br>         LTCOMPILE nua_common.lo<br>         LTCOMPILE nua_stack.lo<br>         LTCOMPILE nua_server.lo<br>         LTCOMPILE nua_client.lo<br>         LTCOMPILE nua_extension.lo<br>         LTCOMPILE nua_dialog.lo<br>
          LTCOMPILE outbound.lo<br>         LTCOMPILE nua_params.lo<br>         LTCOMPILE nua_register.lo<br>         LTCOMPILE nua_registrar.lo<br>         LTCOMPILE nua_session.lo<br>         LTCOMPILE nua_options.lo<br>
          LTCOMPILE nua_message.lo<br>         LTCOMPILE nua_publish.lo<br>         LTCOMPILE nua_subnotref.lo<br>         LTCOMPILE nua_notifier.lo<br>         LTCOMPILE nua_event_server.lo<br>         LTCOMPILE nua_tag.lo<br>
          LTCOMPILE nua_tag_ref.lo<br>         LINK<span> </span><a href="http://libnua.la" target="_blank">libnua.la</a><br>         LINK<span> </span><a href="http://libsofia-sip-ua.la" target="_blank">libsofia-sip-ua.la</a><br>
 libtool: link: warning: `-version-info/-version-number&#39; is ignored for convenience libraries<br>make[7]: *** [all-recursive] Error 1<br>Making all in packages<br>make[6]: *** [all-recursive] Error 1<br>make[5]: *** [all] Error 2<br>
 make[4]: *** [/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/<a href="http://libsofia-sip-ua.la" target="_blank">libsofia-sip-ua.la</a>] Error 2<br>make[3]: *** [mod_sofia-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>
 Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built.      +<br> + Install by running:                          +<br> +                                              +<br>
  +               make install                   +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2</span></blockquote></div><br></div></div><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
 <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
 <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
 <div>Brian West</div><div><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></div><div><br></div></div></span>-- Meet us at ClueCon!  <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
 <div><br></div></div></span><br></div></span><br> </div><br></div></div><br>_______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>