[Freeswitch-users] Fwd: FS compile errors on Solaris 10 sparc

daemonserj TVC daemonserj at gmail.com
Tue Nov 29 10:09:48 MSK 2011


Hello all! I'm newbie :)
System is
SunOS tornado 5.10 Generic_144488-17 sun4u sparc SUNW,Sun-Fire-V240
Solaris
SunStudio 12, CBE 1.7

I tried to compile concerning
http://wiki.freeswitch.org/wiki/Installation_Guide#Solaris
And I got :

CC: Warning: Option -ggdb passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored
otherwise
"/export/home/freeswitch/freeswitch/libs/esl/src/include/esl.h", line
485: Error: "," expected instead of "int".
"/export/home/freeswitch/freeswitch/libs/esl/src/include/esl.h", line
491: Error: A declaration was expected instead of "return".
"/export/home/freeswitch/freeswitch/libs/esl/src/include/esl.h", line
491: Error: s1 is not defined.
"src/esl_oop.cpp", line 295: Error: __func__ is not defined.
"src/esl_oop.cpp", line 300: Error: __func__ is not defined.
"src/esl_oop.cpp", line 364: Error: __func__ is not defined.
"src/esl_oop.cpp", line 391: Error: __func__ is not defined.
"src/esl_oop.cpp", line 397: Error: __func__ is not defined.
"src/esl_oop.cpp", line 404: Error: __func__ is not defined.
"src/esl_oop.cpp", line 409: Error: __func__ is not defined.
"src/esl_oop.cpp", line 416: Error: __func__ is not defined.
"src/esl_oop.cpp", line 421: Error: __func__ is not defined.
"src/esl_oop.cpp", line 429: Error: __func__ is not defined.
"src/esl_oop.cpp", line 434: Error: __func__ is not defined.
"src/esl_oop.cpp", line 442: Error: __func__ is not defined.
"src/esl_oop.cpp", line 447: Error: __func__ is not defined.
"src/esl_oop.cpp", line 455: Error: __func__ is not defined.
"src/esl_oop.cpp", line 460: Error: __func__ is not defined.
"src/esl_oop.cpp", line 469: Error: __func__ is not defined.
"src/esl_oop.cpp", line 474: Error: __func__ is not defined.
"src/esl_oop.cpp", line 483: Error: __func__ is not defined.
"src/esl_oop.cpp", line 488: Error: __func__ is not defined.
"src/esl_oop.cpp", line 496: Error: __func__ is not defined.
"src/esl_oop.cpp", line 501: Error: __func__ is not defined.
24 Error(s) detected.
make[5]: *** [src/esl_oop.o] Error 24
make[4]: *** [/export/home/freeswitch/freeswitch/libs/esl/libesl.so]
Error 2
make[3]: *** [mod_hash-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-bash-3.00$
-bash-3.00$ uname
SunOS
-bash-3.00$ uname -a

PS. СXXXPP configured to /usr/bin/cc -E
it seems /libs/esl/src/include/esl.h has not nothing criminal



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