* [Qemu-devel] Errors while building qemu
@ 2010-02-18 15:46 Taimoor Mirza
2010-02-18 15:53 ` Roy Tam
0 siblings, 1 reply; 4+ messages in thread
From: Taimoor Mirza @ 2010-02-18 15:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]
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?
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
[-- Attachment #2: Type: text/html, Size: 3291 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Errors while building qemu
2010-02-18 15:46 [Qemu-devel] Errors while building qemu Taimoor Mirza
@ 2010-02-18 15:53 ` Roy Tam
2010-02-19 12:22 ` Luiz Capitulino
0 siblings, 1 reply; 4+ messages in thread
From: Roy Tam @ 2010-02-18 15:53 UTC (permalink / raw)
To: Taimoor Mirza; +Cc: qemu-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Errors while building qemu
2010-02-18 15:53 ` Roy Tam
@ 2010-02-19 12:22 ` Luiz Capitulino
2010-03-02 10:51 ` Taimoor Mirza
0 siblings, 1 reply; 4+ messages in thread
From: Luiz Capitulino @ 2010-02-19 12:22 UTC (permalink / raw)
To: Roy Tam; +Cc: Taimoor Mirza, qemu-devel
On Thu, 18 Feb 2010 23:53:47 +0800
Roy Tam <roytam@gmail.com> wrote:
> 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.
Taimoor, please, let us know if you don't have libcurl installed,
because in this case it's a bug (assuming that you didn't pass
--enable-curl).
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [Qemu-devel] Errors while building qemu
2010-02-19 12:22 ` Luiz Capitulino
@ 2010-03-02 10:51 ` Taimoor Mirza
0 siblings, 0 replies; 4+ messages in thread
From: Taimoor Mirza @ 2010-03-02 10:51 UTC (permalink / raw)
To: lcapitulino, roytam; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 2882 bytes --]
I've not passed any switch to enable or disable libcurl.
I just downloaded QEMU 0.12.2, ran "./configure" and then "make" which gives me errors
Also I've few questions
1) How can I enable or disable something?
2) How can I change config-host.h. Actually I want to configure gadget fs and for that I must have CONFIG_GADGETFS in config-host.h
Regards,
Taimoor
> Date: Fri, 19 Feb 2010 10:22:56 -0200
> From: lcapitulino@redhat.com
> To: roytam@gmail.com
> Subject: Re: [Qemu-devel] Errors while building qemu
> CC: mooni_mirza@hotmail.com; qemu-devel@nongnu.org
>
> On Thu, 18 Feb 2010 23:53:47 +0800
> Roy Tam <roytam@gmail.com> wrote:
>
> > 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.
>
> Taimoor, please, let us know if you don't have libcurl installed,
> because in this case it's a bug (assuming that you didn't pass
> --enable-curl).
>
>
>
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
[-- Attachment #2: Type: text/html, Size: 3643 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-02 10:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 15:46 [Qemu-devel] Errors while building qemu Taimoor Mirza
2010-02-18 15:53 ` Roy Tam
2010-02-19 12:22 ` Luiz Capitulino
2010-03-02 10:51 ` Taimoor Mirza
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).