qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Roy Tam <roytam@gmail.com>
To: Taimoor Mirza <mooni_mirza@hotmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Errors while building qemu
Date: Thu, 18 Feb 2010 23:53:47 +0800	[thread overview]
Message-ID: <473191351002180753w5d1b9d61wac73b4a2e667b1b1@mail.gmail.com> (raw)
In-Reply-To: <COL102-W24262E2B9E49AB0E8A4B4597470@phx.gbl>

2010/2/18 Taimoor Mirza <mooni_mirza@hotmail.com>:
> 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.

  reply	other threads:[~2010-02-18 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 15:46 [Qemu-devel] Errors while building qemu Taimoor Mirza
2010-02-18 15:53 ` Roy Tam [this message]
2010-02-19 12:22   ` Luiz Capitulino
2010-03-02 10:51     ` Taimoor Mirza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473191351002180753w5d1b9d61wac73b4a2e667b1b1@mail.gmail.com \
    --to=roytam@gmail.com \
    --cc=mooni_mirza@hotmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).