From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhA04-0005uB-1I for qemu-devel@nongnu.org; Tue, 10 Mar 2009 18:00:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhA02-0005pD-1t for qemu-devel@nongnu.org; Tue, 10 Mar 2009 18:00:35 -0400 Received: from [199.232.76.173] (port=38894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhA01-0005ou-U7 for qemu-devel@nongnu.org; Tue, 10 Mar 2009 18:00:33 -0400 Received: from nf-out-0910.google.com ([64.233.182.187]:58532) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhA01-0002pf-Gs for qemu-devel@nongnu.org; Tue, 10 Mar 2009 18:00:33 -0400 Received: by nf-out-0910.google.com with SMTP id b11so518367nfh.12 for ; Tue, 10 Mar 2009 15:00:31 -0700 (PDT) Message-ID: <49B6E2F9.3020803@codemonkey.ws> Date: Tue, 10 Mar 2009 17:00:25 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Use of asprintf() breaks build on systems where asprintf() is not available References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, "Daniel P. Berrange" Palle Lyckegaard wrote: > Hi, > > A few source-files, e.g. vnc.c, makes use of the (non-portable?) > asprintf() function, which is not available in e.g. Solaris 10 and > certain builds of OpenSolaris. > > What would be the proper "qemu" way of solving this problem? Creating > a library with the functions not avilable on the host system or > replacing the non-portable use(s) of the function(s) with proper > portable function(s)? Dan, Can you send in a patch to add the gnulib asprintf() with an appropriate configure test? Regards, Anthony Liguori > Regards > Palle > > > >