Hi, I'm new to solaris SunOS solaris 5.11 snv_134 i86pc i386 i86pc I didn't follow the wiki about installing on solaris but installed building tool chain with pkg install SUNWgcc etc. bootstrap and configure was ok, however, I got error on gmake. Any highlight on this? Thanks. libs/stfu/stfu.c: In function `stfu_n_debug': libs/stfu/stfu.c:224: warning: implicit declaration of function `strdup' libs/stfu/stfu.c:224: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c:227: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c: In function `stfu_n_init': libs/stfu/stfu.c:302: warning: assignment makes pointer from integer without a cast gmake[1]: *** [libfreeswitch_la-stfu.lo] #### 1 gmake: *** [all] #### 2 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c:224 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c link@solaris:~/seven/freeswitch# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com)
hmm, did solaris stop putting strdup in string.h ? On Thu, Aug 18, 2011 at 9:52 AM, Seven Du <dujinfang@gmail.com> wrote:
Hi, I'm new to solaris SunOS solaris 5.11 snv_134 i86pc i386 i86pc I didn't follow the wiki about installing on solaris but installed building tool chain with pkg install SUNWgcc etc. bootstrap and configure was ok, however, I got error on gmake. Any highlight on this? Thanks. libs/stfu/stfu.c: In function `stfu_n_debug': libs/stfu/stfu.c:224: warning: implicit declaration of function `strdup' libs/stfu/stfu.c:224: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c:227: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c: In function `stfu_n_init': libs/stfu/stfu.c:302: warning: assignment makes pointer from integer without a cast gmake[1]: *** [libfreeswitch_la-stfu.lo] #### 1 gmake: *** [all] #### 2 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c:224 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c
link@solaris:~/seven/freeswitch# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On Thursday, August 18, 2011 at 10:56 PM, Anthony Minessale wrote:
hmm, did solaris stop putting strdup in string.h ?
looks it's still there. Do you think I should report a jira? #if defined(__EXTENSIONS__) || \ (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \ defined(_XPG4_2) extern char *strdup(const char *); #endif #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) extern char *strdup(); #endif http://pastebin.freeswitch.org/17088
On Thu, Aug 18, 2011 at 9:52 AM, Seven Du <dujinfang@gmail.com (mailto:dujinfang@gmail.com)> wrote:
Hi, I'm new to solaris SunOS solaris 5.11 snv_134 i86pc i386 i86pc I didn't follow the wiki about installing on solaris but installed building tool chain with pkg install SUNWgcc etc. bootstrap and configure was ok, however, I got error on gmake. Any highlight on this? Thanks. libs/stfu/stfu.c: In function `stfu_n_debug': libs/stfu/stfu.c:224: warning: implicit declaration of function `strdup' libs/stfu/stfu.c:224: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c:227: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c: In function `stfu_n_init': libs/stfu/stfu.c:302: warning: assignment makes pointer from integer without a cast gmake[1]: *** [libfreeswitch_la-stfu.lo] #### 1 gmake: *** [all] #### 2 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c:224 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c
link@solaris:~/seven/freeswitch# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com (mailto:anthony_minessale@hotmail.com) GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com (mailto:anthony.minessale@gmail.com) IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org (mailto:888@conference.freeswitch.org) googletalk:conf+888@conference.freeswitch.org (mailto:conf+888@conference.freeswitch.org) pstn:+19193869900
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
we define __EXTENSIONS__ if you use suncc. gcc was never tested on solaris. Am 18.08.2011 um 23:41 schrieb Seven Du:
On Thursday, August 18, 2011 at 10:56 PM, Anthony Minessale wrote:
hmm, did solaris stop putting strdup in string.h ?
looks it's still there. Do you think I should report a jira?
#if defined(__EXTENSIONS__) || \ (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \ defined(_XPG4_2) extern char *strdup(const char *); #endif
#if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) extern char *strdup(); #endif
http://pastebin.freeswitch.org/17088
On Thu, Aug 18, 2011 at 9:52 AM, Seven Du <dujinfang@gmail.com> wrote:
Hi, I'm new to solaris SunOS solaris 5.11 snv_134 i86pc i386 i86pc I didn't follow the wiki about installing on solaris but installed building tool chain with pkg install SUNWgcc etc. bootstrap and configure was ok, however, I got error on gmake. Any highlight on this? Thanks. libs/stfu/stfu.c: In function `stfu_n_debug': libs/stfu/stfu.c:224: warning: implicit declaration of function `strdup' libs/stfu/stfu.c:224: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c:227: warning: assignment makes pointer from integer without a cast libs/stfu/stfu.c: In function `stfu_n_init': libs/stfu/stfu.c:302: warning: assignment makes pointer from integer without a cast gmake[1]: *** [libfreeswitch_la-stfu.lo] #### 1 gmake: *** [all] #### 2 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c:224 link@solaris:~/seven/freeswitch# vi libs/stfu/stfu.c
link@solaris:~/seven/freeswitch# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) -- Seven Du About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Michal Bielicki Geschäftsführer / CEO Seventh Signal Ltd. & Co. KG Weigandufer 45, Büro 115, D-12059 Berlin Voice: +49 30 60988730 Amtsgericht Charlottenburg HRA 44413 B Ust.-ID: DE266981999 Geschäftsführer: Michal Bielicki Persönlich Haftende Gesellschafterin: Seventh Signal Ltd, 69 Great Hampton St. Birmingham, B18 6EW, GB, Company Nr.: 06889439 WWW.: http://www.seventhsignal.de ----
participants (3)
-
Anthony Minessale
-
Michal Bielicki
-
Seven Du