From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ni8he-00087V-OF for qemu-devel@nongnu.org; Thu, 18 Feb 2010 10:54:10 -0500 Received: from [199.232.76.173] (port=38329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ni8he-00087N-66 for qemu-devel@nongnu.org; Thu, 18 Feb 2010 10:54:10 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ni8hd-0000pX-CE for qemu-devel@nongnu.org; Thu, 18 Feb 2010 10:54:09 -0500 Received: from mail-pz0-f194.google.com ([209.85.222.194]:48181) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ni8hd-0000pP-1T for qemu-devel@nongnu.org; Thu, 18 Feb 2010 10:54:09 -0500 Received: by pzk32 with SMTP id 32so227130pzk.4 for ; Thu, 18 Feb 2010 07:54:07 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Roy Tam Date: Thu, 18 Feb 2010 23:53:47 +0800 Message-ID: <473191351002180753w5d1b9d61wac73b4a2e667b1b1@mail.gmail.com> Subject: Re: [Qemu-devel] Errors while building qemu Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Taimoor Mirza Cc: qemu-devel@nongnu.org 2010/2/18 Taimoor Mirza : > Hi all, > > I've been getting following errors while building qemu 0.11.1 and 0.12.2 on > my Redhat machine. > > block/curl.c:80: error: syntax error before "curl_socket_t" > block/curl.c:82: warning: function declaration isn't a prototype > block/curl.c: In function `curl_sock_cb': > block/curl.c:84: error: `action' undeclared (first use in this function) > block/curl.c:84: error: (Each undeclared identifier is reported only once > block/curl.c:84: error: for each function it appears in.) > block/curl.c:85: error: `CURL_POLL_IN' undeclared (first use in this > function) > block/curl.c:86: error: `fd' undeclared (first use in this function) > block/curl.c:86: error: `s' undeclared (first use in this function) > block/curl.c:88: error: `CURL_POLL_OUT' undeclared (first use in this > function) > block/curl.c:91: error: `CURL_POLL_INOUT' undeclared (first use in this > function ) > block/curl.c:95: error: `CURL_POLL_REMOVE' undeclared (first use in this > functio n) > block/curl.c: In function `curl_multi_do': > block/curl.c:212: warning: implicit declaration of function > `curl_multi_socket_a ll' > block/curl.c: In function `curl_open': > block/curl.c:381: warning: implicit declaration of function > `curl_multi_setopt' > block/curl.c:381: error: `CURLMOPT_SOCKETDATA' undeclared (first use in this > fun ction) > block/curl.c:382: error: `CURLMOPT_SOCKETFUNCTION' undeclared (first use in > this function) > make: *** [block/curl.o] Error 1 > > Can anyone tell me the reason? > Do you have libcurl devel library? Try rebuild with "--disable-curl" switch. > > > ________________________________ > Hotmail: Powerful Free email with security by Microsoft. Get it now.