<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">we define __EXTENSIONS__ if you use suncc. gcc was never tested on solaris.<div><br><div><div>Am 18.08.2011 um 23:41 schrieb Seven Du:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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> (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \</div><div> 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> </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 <<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>> 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? 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: <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><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:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; "><b>Michal Bielicki</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Geschäftsführer / CEO</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; min-height: 15px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; "><b>Seventh Signal Ltd. & Co. KG</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Weigandufer 45, Büro 115, <span style="color: rgb(68, 68, 68); ">D-12059 Berlin</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; color: rgb(68, 68, 68); ">Voice: +49 30 60988730</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; min-height: 15px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Amtsgericht Charlottenburg HRA 44413 B</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Ust.-ID: DE266981999</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Geschäftsführer: Michal Bielicki</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Persönlich Haftende Gesellschafterin:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">Seventh Signal Ltd, 69 Great Hampton St. Birmingham, </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; ">B18 6EW, GB, Company Nr.: 06889439</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Verdana; color: rgb(21, 79, 174); "><span style="color: rgb(0, 0, 0); ">WWW.: <a href="http://www.seventhsignal.de/"><span style="text-decoration: underline; ">http://www.seventhsignal.de</span></a></span></div></div></div></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div>
<br>
----
<br></body></html>