Also works perfectly for Solaris. I can now compile bash 4.1 under
Solaris 8 or 9.
Thanks for answer.
Yann
Greg Wooledge a écrit :
On Thu, Jan 07, 2010 at 09:03:19AM -0500, Chet Ramey wrote:
*** ../bash-4.1/builtins/printf.def 2009-11-20 15:31:23.0 -0500
--- builtins/printf.def 2
On Thu, Jan 07, 2010 at 09:03:19AM -0500, Chet Ramey wrote:
> *** ../bash-4.1/builtins/printf.def 2009-11-20 15:31:23.0 -0500
> --- builtins/printf.def 2010-01-07 08:50:06.0 -0500
> ***
> *** 173,177
>
> #if !HAVE_VSNPRINTF
> ! extern int vsnprintf __P(
On 1/7/10 8:57 AM, Yann Rouillard wrote:
> "./printf.def", line 175: identifier redeclared: vsnprintf
> current : function(pointer to char, unsigned int, pointer to const char,
> ...) returning int
> previous: function(pointer to char, unsigned int, pointer to const char,
> pointer to void) return
Greg Wooledge a écrit :
On Thu, Jan 07, 2010 at 12:22:12PM +0100, Yann Rouillard wrote:
./printf.def:175: error: conflicting types for 'vsnprintf'
Maybe you could first send me the config.log/config.h generated on
Solaris 8 so I can compare with mine ?
It might be more useful to compare you
On Thu, Jan 07, 2010 at 12:22:12PM +0100, Yann Rouillard wrote:
> ./printf.def:175: error: conflicting types for 'vsnprintf'
> Maybe you could first send me the config.log/config.h generated on
> Solaris 8 so I can compare with mine ?
It might be more useful to compare your stdio.h header file i
Chet Ramey a écrit :
>> ...
Description:
bash 4.1 can't be compiled under Solaris 8 and Solaris 9, the
compilation stops at a vsnprintf redefinition error. This happens
because the vsnprintf native function is not detected as being standard
compliant (it returns -1 in case of overflow) by the
On 1/6/10 9:54 AM, Yann Rouillard wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: sparc
> OS: solaris2.8
> Compiler: /opt/studio/SOS11/SUNWspro/bin/cc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
> -DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.8
Compiler: /opt/studio/SOS11/SUNWspro/bin/cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.8' -DCONF_MACHTYPE='sparc-sun-solaris2.8'
-DCONF_VENDOR='sun' -DLOCA