On Sat, Jun 05, 2010 at 12:10:34PM +0000, Jay K wrote: > extern int vsnprintf __P((char *, size_t, const char *, ...)) > __attribute__((__format__ (printf, 3, 4))); > -----------^ > cc: Error: ./printf.def, line 175: In this declaration, the type of > "vsnprintf" is not compatible with the type of a previous declaration of > "vsnprintf" at line number 212 in file /usr/include/stdio.h. (notcompat)
You didn't say which version of the bash source you're using. There was a fix for vsnprintf issues in the first patch for bash 4.1. See http://ftp.gnu.org/pub/gnu/bash/bash-4.1-patches/ for the patches.