<div>
            <div>
                <span class="Apple-style-span" style="color: rgb(160, 160, 160); ">On Thursday, August 18, 2011 at 10:56 PM, Anthony Minessale wrote:</span><span>
                    </span>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>hmm, did solaris stop putting strdup in string.h ?<br><br><br></div></div></span></blockquote><div>looks it's still there. Do you think I should report a jira?</div><div><br></div><div><br></div><div><div><br></div><div>#if defined(__EXTENSIONS__) || \</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (!defined(_STRICT_STDC) &amp;&amp; !defined(__XOPEN_OR_POSIX)) || \</div><div>&nbsp; &nbsp; &nbsp; &nbsp; defined(_XPG4_2)</div><div>extern char *strdup(const char *);</div><div>#endif</div><div><br></div><div><br></div><div><div>#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2)</div><div>extern char *strdup();</div><div>#endif</div><div><br></div><div><br></div></div></div><div><a href="http://pastebin.freeswitch.org/17088">http://pastebin.freeswitch.org/17088</a></div><div>&nbsp;</div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div>On Thu, Aug 18, 2011 at 9:52 AM, Seven Du &lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt; wrote:<br><blockquote type="cite"><div>Hi,<br>I'm new to solaris<br>SunOS solaris 5.11 snv_134 i86pc i386 i86pc<br>I didn't follow the wiki about installing on solaris but installed building<br>tool chain with pkg install SUNWgcc etc.<br>bootstrap and configure was ok, however, I got error on gmake. Any highlight<br>on this? &nbsp;Thanks.<br>libs/stfu/stfu.c: In function `stfu_n_debug':<br>libs/stfu/stfu.c:224: warning: implicit declaration of function `strdup'<br>libs/stfu/stfu.c:224: warning: assignment makes pointer from integer without<br>a cast<br>libs/stfu/stfu.c:227: warning: assignment makes pointer from integer without<br>a cast<br>libs/stfu/stfu.c: In function `stfu_n_init':<br>libs/stfu/stfu.c:302: warning: assignment makes pointer from integer without<br>a cast<br>gmake[1]: *** [libfreeswitch_la-stfu.lo] #### 1<br>gmake: *** [all] #### 2<br>link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c:224<br>link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c<br><br>link@solaris:~/seven/freeswitch# gcc -v<br>Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs<br>Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure<br>--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as<br>--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc<br>--enable-shared<br>Thread model: posix<br>gcc version 3.4.3 (csl-sol210-3_4-20050802)<br>--<br>Seven Du<br>About: <a href="http://about.me/dujinfang">http://about.me/dujinfang</a><br>Blog: <a href="http://www.dujinfang.com">http://www.dujinfang.com</a><br>Proj: &nbsp;<a href="http://www.freeswitch.org.cn">http://www.freeswitch.org.cn</a><br>Sent with Sparrow<br><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></blockquote><br><br><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>/<br>ClueCon <a href="http://www.cluecon.com">http://www.cluecon.com</a>/<br>Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br>MSN:<a href="mailto:anthony_minessale@hotmail.com">anthony_minessale@hotmail.com</a><br>GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br>sip:<a href="mailto:888@conference.freeswitch.org">888@conference.freeswitch.org</a><br>googletalk:<a href="mailto:conf+888@conference.freeswitch.org">conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>