> Date: Wed, 2 Jun 2010 16:54:26 +0200
> From: and...@iptel.org
> To: kevin....@hotmail.com
> CC: sr-users@lists.sip-router.org
> Subject: Re: [SR-Users] gmake: *** [cfg.tab.h] Broken Pipe while make 
> kamailio on solaris 10
> 
> On Jun 02, 2010 at 08:32, JinKevin <kevin....@hotmail.com> wrote:
> > 
> > 
> > 
> > Hi Andrei,
> > 
> > 
> > 
> > gcc -dM -E -x c /dev/null
> > #define __sparc__ 1
> > 
> [...]
> > 
> > 
> > isainfo -n
> > sparcv9
> > 
> > 
> > 
> > isainfo -b
> > 64
> > 
> > uname -m
> > sun4u
> 
> Now I remembered :-)
> The problem on sparcv9 is that you can build either sparc32 or sparc64
> code. The make system tries to use the configured compiler and use its
> default architecture, in this case sparc32.
> This changed from older ser or kamailio version, where IIRC
> 64 bits was always used on sparcv9 (the isainfo arch was used).
> The change was needed for better cross-compiler support, snow leopard
> (boots 32 bits kernel, but gcc is configured to produce 64 bit
> binaries).
> 
> So if you have all the needed 64 bits libs installed, you should compile
> for sparc64.
> Either make config CC_EXTRA_OPTS=-m64 or
> make config ARCH=sparc64
> should do it (don't forget to re-run it after any make proper).
> 
> 
> [...]
> > 
> > And bison is also installed, 
> > 
> > yacc -V 
> 
> 
> I couldn't reproduce the yacc/bison problem.
> For me it compiles flawlessly on an old sparcv9 (solaris 9, bison
> 1.875d).
> 
> Could you try running:
> yacc -d -b cfg cfg.y
> by hand and see what happens? (any error? cfg.tab.h and cfg.tab.c
> created?)
>

 

It just reports "Broken Pipe"

$ yacc -d -b cfg cfg.y
Broken Pipe

 

If I removed the bison , then got some other error as below:

$ yacc -d -b cfg cfg.y
"cfg.y", line 103: fatal: invalid escape, or illegal reserved word: expect


Thanks,

Kevin

                                          
_________________________________________________________________
SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to