[gradsusr] problem compiling libdap
Huber Paúl Gilt López
huber.gilt at igp.gob.pe
Thu Jul 15 17:56:09 EDT 2010
John,
I remove the LIBDAP directory and start again, Im really sorry I have the
curl/curlbuild.h file, and I found that the line #include
curl/curlbuild.h, is already in the curl.h file. But I have these other
message:
What is going on, maybe I need to rebuild the curl library?
The file is curl/curlbuild.h wrong build?
And also I send you the curl/curlbuild.h file.
(The errors messages are in the end)
Thanks you,
Best regards,
Huber
g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I./gl -I./GNU
-I/home/huber/grads/supplibs/src/curl-7.19.6/include
-I/home/huber/grads/supplibs/src/libxml2-2.6.16/include/libxml2 -Wall -W
-Wcast-align -g -O2 -MT libdapclient_la-Connect.lo -MD -MP -MF
.deps/libdapclient_la-Connect.Tpo -c Connect.cc -o libdapclient_la-Connect.o
In file included from
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl.h:36,
from HTTPConnect.h:34,
from Connect.h:84,
from Connect.cc:54:
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:80:4:
error: #error "CURL_SIZEOF_LONG definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:85:4:
error: #error "CURL_TYPEOF_CURL_SOCKLEN_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:90:4:
error: #error "CURL_SIZEOF_CURL_SOCKLEN_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:95:4:
error: #error "CURL_TYPEOF_CURL_OFF_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:100:4:
error: #error "CURL_FORMAT_CURL_OFF_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:105:4:
error: #error "CURL_FORMAT_CURL_OFF_TU definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:110:4:
error: #error "CURL_FORMAT_OFF_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:115:4:
error: #error "CURL_SIZEOF_CURL_OFF_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:120:4:
error: #error "CURL_SUFFIX_CURL_OFF_T definition is missing!"
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:125:4:
error: #error "CURL_SUFFIX_CURL_OFF_TU definition is missing!"
In file included from
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl.h:35,
from HTTPConnect.h:34,
from Connect.h:84,
from Connect.cc:54:
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl/curlbuild.h:165
: error: 'CURL_TYPEOF_CURL_SOCKLEN_T' does not name a type
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl/curlbuild.h:171
: error: 'CURL_TYPEOF_CURL_OFF_T' does not name a type
In file included from
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl.h:36,
from HTTPConnect.h:34,
from Connect.h:84,
from Connect.cc:54:
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:86:
error: expected initializer before 'Error'
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:154:
error: 'curl_off_t' was not declared in this scope
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:154:
error: 'CURL_SIZEOF_CURL_OFF_T' was not declared in this scope
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:164:
error: 'curl_off_t' was not declared in this scope
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:174:
error: 'curl_socklen_t' was not declared in this scope
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:174:
error: 'CURL_SIZEOF_CURL_SOCKLEN_T' was not declared in this scope
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curlrules.h:184:
error: 'curl_socklen_t' was not declared in this scope
In file included from HTTPConnect.h:34,
from Connect.h:84,
from Connect.cc:54:
/home/huber/grads/supplibs/src/curl-7.19.6/include/curl/curl.h:191: error:
'curl_off_t' has not been declared
In file included from HTTPConnect.h:39,
from Connect.h:84,
from Connect.cc:54:
RCReader.h:134: warning: type qualifiers ignored on function return type
RCReader.h:138: warning: type qualifiers ignored on function return type
RCReader.h:142: warning: type qualifiers ignored on function return type
RCReader.h:146: warning: type qualifiers ignored on function return type
RCReader.h:150: warning: type qualifiers ignored on function return type
RCReader.h:154: warning: type qualifiers ignored on function return type
RCReader.h:163: warning: type qualifiers ignored on function return type
RCReader.h:179: warning: type qualifiers ignored on function return type
RCReader.h:219: warning: type qualifiers ignored on function return type
RCReader.h:243: warning: type qualifiers ignored on function return type
make[2]: *** [libdapclient_la-Connect.lo] Error 1
make[2]: Leaving directory `/home/huber/grads/supplibs/src/libdap-3.7.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/huber/grads/supplibs/src/libdap-3.7.8'
make: *** [all] Error 2
_____
De: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] En
nombre de Huddleston, John
Enviado el: jueves, 15 de julio de 2010 13:00
Para: GrADS Users Forum
Asunto: Re: [gradsusr] problem compiling libdap
Huber
#include <curl/curlbuild.h>
John Huddleston, PhD
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
On Behalf Of Huber Paúl Gilt López
Sent: Thursday, July 15, 2010 11:47 AM
To: 'GrADS Users Forum'
Subject: [gradsusr] problem compiling libdap
Hello,
I try to compile the DAPLIB library, but when I executed the make command, I
found many
undefined function like strcmp and mencpy so I added many include to
<cstring>, like this
In files
DDXParser.cc, Vector.cc, Error.cc, util.cc, parser-util.cc, dds.y,
RCReader.cc,
I Added this include line #include <cstring> at include files section
And in file GeoConstraint.cc
I Added this include line #include <algorithm> at include files section
But after that I found these errors, How can I include these missing symbols
like CURL_SIZEOF_LONG?
(Note: the errors are in the end)
Please help me,
Best regards,
Huber Paul Gilt Lopez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100715/4809b624/attachment-0003.html
More information about the gradsusr
mailing list