You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hawq.apache.org by qiutongxin <42...@qq.com> on 2017/05/02 09:01:53 UTC

error infomaton when make

hi,all
     After the step of ./configure --prefix=/soft/server/hawq --with-python --with-java ,I execute "make -j8",then some error appears:


     libchurl.c:308:14: warning: no previous prototype for ‘churl_init’ [-Wmissing-prototypes]
 CHURL_HANDLE churl_init(const char* url, CHURL_HEADERS headers)
              ^
In file included from libchurl.c:32:0:
libchurl.c: In function ‘get_dest_address’:
libchurl.c:614:46: error: ‘CURLINFO_PRIMARY_PORT’ undeclared (first use in this function)
   CURLE_OK == curl_easy_getinfo(curl_handle, CURLINFO_PRIMARY_PORT, &dest_port) &&
                                              ^
libchurl.c:614:46: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [libchurl.o] Error 1
make[4]: Leaving directory `/soft/server/incubator-hawq/src/backend/access/external'
make[3]: *** [external-recursive] Error 2
make[3]: Leaving directory `/soft/server/incubator-hawq/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/soft/server/incubator-hawq/src/backend/catalog'
make[2]: Leaving directory `/soft/server/incubator-hawq/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/soft/server/incubator-hawq/src'
make: *** [all] Error 2


can you help me ?


Thanks !

Re: error infomaton when make

Posted by Wen Lin <wl...@pivotal.io>.
Hi, Qiutongxin

Have you installed libcurl-devel before build?
https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install

Regards!

On Tue, May 2, 2017 at 5:01 PM, qiutongxin <42...@qq.com> wrote:

> hi,all
>      After the step of ./configure --prefix=/soft/server/hawq
> --with-python --with-java ,I execute "make -j8",then some error appears:
>
>      libchurl.c:308:14: warning: no previous prototype for ‘churl_init’
> [-Wmissing-prototypes]
>  CHURL_HANDLE churl_init(const char* url, CHURL_HEADERS headers)
>               ^
> In file included from libchurl.c:32:0:
> libchurl.c: In function ‘get_dest_address’:
> libchurl.c:614:46: error: ‘CURLINFO_PRIMARY_PORT’ undeclared (first use in
> this function)
>    CURLE_OK == curl_easy_getinfo(curl_handle, CURLINFO_PRIMARY_PORT,
> &dest_port) &&
>                                               ^
> libchurl.c:614:46: note: each undeclared identifier is reported only once
> for each function it appears in
> make[4]: *** [libchurl.o] Error 1
> make[4]: Leaving directory `/soft/server/incubator-hawq/
> src/backend/access/external'
> make[3]: *** [external-recursive] Error 2
> make[3]: Leaving directory `/soft/server/incubator-hawq/
> src/backend/access'
> make[2]: *** [access-recursive] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/soft/server/incubator-hawq/
> src/backend/catalog'
> make[2]: Leaving directory `/soft/server/incubator-hawq/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/soft/server/incubator-hawq/src'
> make: *** [all] Error 2
>
> can you help me ?
>
> Thanks !
>
>