[SR-Users] gmake: *** [cfg.tab.h] Broken Pipe while make kamailio on solaris 10

JinKevin kevin.jzh at hotmail.com
Wed Jun 2 02:32:54 CEST 2010


 

Hi Andrei,

 

 gcc -dM -E -x c /dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __FLT_EVAL_METHOD__ 0
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 6
#define sparc 1
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
#define __unix 1
#define __LDBL_MAX_EXP__ 16384
#define __SCHAR_MAX__ 127
#define __USER_LABEL_PREFIX__ 
#define __STDC_HOSTED__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __DBL_DIG__ 15
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
#define __unix__ 1
#define __DECIMAL_DIG__ 36
#define __LDBL_HAS_QUIET_NAN__ 1
#define __GNUC__ 3
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_HAS_INFINITY__ 1
#define __SVR4 1
#define __DBL_MAX_EXP__ 1024
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __sparc__ 1
#define __GXX_ABI_VERSION 1002
#define __FLT_MIN_EXP__ (-125)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __DBL_HAS_QUIET_NAN__ 1
#define __sun 1
#define __REGISTER_PREFIX__ 
#define __NO_INLINE__ 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "3.4.6"
#define __sparc 1
#define sun 1
#define unix 1
#define __SIZE_TYPE__ unsigned int
#define __ELF__ 1
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 2147483647L
#define __FLT_HAS_INFINITY__ 1
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __LDBL_MANT_DIG__ 113
#define __WCHAR_TYPE__ long int
#define __FLT_DIG__ 6
#define __INT_MAX__ 2147483647
#define __FLT_MAX_EXP__ 128
#define __DBL_MANT_DIG__ 53
#define __WINT_TYPE__ long int
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MAX_10_EXP__ 4932
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __sun__ 1
#define __svr4__ 1
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __FLT_MAX__ 3.40282347e+38F
#define __FLT_MIN_10_EXP__ (-37)
#define __GNUC_MINOR__ 4
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
#define __PTRDIFF_TYPE__ int
#define __LDBL_MIN_10_EXP__ (-4931)
#define __LDBL_DIG__ 33

 

isainfo -n
sparcv9

 

isainfo -b
64

uname -m
sun4u

 

uname -a
SunOS AppSer01 5.10 Generic_137137-09 sun4u sparc SUNW,UltraAX-i2


uname -p
sparc
 

And bison is also installed, 

 yacc -V    
bison (GNU Bison) 2.4.1
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

Thanks,

Kevin
> Date: Tue, 1 Jun 2010 17:15:25 +0200
> From: andrei at iptel.org
> To: kevin.jzh at hotmail.com
> CC: sr-users at lists.sip-router.org
> Subject: Re: [SR-Users] gmake: *** [cfg.tab.h] Broken Pipe while make kamailio on solaris 10
> 
> On Jun 01, 2010 at 19:31, JinKevin <kevin.jzh at hotmail.com> wrote:
> > 
> > Hi All,
> > 
> > 
> > 
> > I'm trying to install kamailio3.0.x on solaris 10 (sparc) as following:
> > 
> > 
> > 
> > gmake prefix="/usr/local/kamailio-3.0" include_modules="db_mysql dialplan" cfg
> > gmake prefix="/usr/local/kamailio-3.0" all
> > 
> > 
> > 
> > but get the Broken Pipe error as below:
> > 
> > ----snip -----
> > 
> > from cfg/cfg_struct.c:40:
> > cfg/../atomic/atomic_sparc.h:39:2: warning: #warning "sparc32 atomic operations support not tested"
> 
> This is unrelated to the error, but nevertheless it's strange, unless
> you really have gcc conifigured for 32 bit only or really sparc < 9.
> Could you send me the output of:
> gcc -dM -E -x c /dev/null
> 
> and
> isainfo -n
> uname -p
> uname -m
> 
> [...]
> 
> > yacc -d -b cfg cfg.y
> ^^^^^^^^^^^^^^^^^^^^^
> 
> What yacc version do you have?
> Do you have also bison installed? If so, could you try gmake YACC=bison
> ?
> 
> 
> Andrei
 		 	   		  
_________________________________________________________________
想知道明天天气如何?必应告诉你!
http://cn.bing.com/search?q=%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5&form=MICHJ2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100602/a0dc0634/attachment-0001.htm>


More information about the sr-users mailing list