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
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
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
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