curl-users
Problem to building curl_lib on VDSP
Date: Tue, 8 Jan 2008 15:47:30 +0530
Hi all;
I have taken source and header file from curl-7.17.1\lib &
curl-7.17.1\include\curl and put on newly created project on VDSP4.5 (only
.c and .h file)and added to source and header folder of VDSP. Later I set
preprocessor as follows
_USRDLL,BUILDING_LIBCURL,CURL_DISABLE_LDAP,DPRINTF_DEBUG
And I put in Additional include directory option ../,./include,
And compiled, I got the error are given below.
"setup_once.h", line 165: cc0020: error: identifier "Error" is undefined
Error Missing_definition_of_macro_sread
^
"setup_once.h", line 196: cc0065: error: expected a ";"
Error Missing_definition_of_macro_swrite
^
"setup_once.h", line 226: cc0012: {D} warning: parsing restarts here after
previous syntax error
typedef unsigned char bool;
^
"include\curl/curl.h", line 106: cc0020: error: identifier "off_t" is
undefined
typedef off_t curl_off_t;
^
"sys/time.h", line 8: cc0101: error: "timeval" has already been declared in
the current scope
struct timeval {
^
"include\curl/multi.h", line 132: cc0020: error: identifier "fd_set" is
undefined
fd_set *read_fd_set,
^
"include\curl/multi.h", line 133: cc0020: error: identifier "fd_set" is
undefined
fd_set *write_fd_set,
^
"include\curl/multi.h", line 134: cc0020: error: identifier "fd_set" is
undefined
fd_set *exc_fd_set,
^
"hostip.h", line 243: cc0020: error: identifier "in_addr_t" is undefined
Curl_addrinfo *Curl_ip2addr(in_addr_t num, const char *hostname, int
port);
^
"urldata.h", line 775: cc0020: error: identifier "ssize_t" is undefined
ssize_t upload_present;
^
"sslgen.h", line 45: cc0020: error: identifier "ssize_t" is undefined
ssize_t Curl_ssl_send(struct connectdata *conn,
^
"sslgen.h", line 49: cc0020: error: identifier "ssize_t" is undefined
ssize_t Curl_ssl_recv(struct connectdata *conn, /* connection data */
^
"version.c", line 161: cc0020: error: identifier "OS" is undefined
OS, /* as found by configure or set by hand at build-time */
^
12 errors detected in the compilation of "version.c".
cc3089: fatal error: Compilation failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.
I want to know how to compile, set the preprocessor and include option.
And how I can add our VDK supported OS and where (in which header file) I
will add.
How I can remove this error.
Thnx
Regards,
Ajeet
-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of
curl-users-request_at_cool.haxx.se
Sent: Monday, January 07, 2008 4:30 PM
To: curl-users_at_cool.haxx.se
Subject: curl-users Digest, Vol 29, Issue 4
Send curl-users mailing list submissions to
curl-users_at_cool.haxx.se
To subscribe or unsubscribe via the World Wide Web, visit
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
or, via email, send a message with subject or body 'help' to
curl-users-request_at_cool.haxx.se
You can reach the person managing the list at
curl-users-owner_at_cool.haxx.se
When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-users digest..."
Today's Topics:
1. Re: [PATCH] SOCKS4a support (Daniel Stenberg) (Daniel Stenberg)
----------------------------------------------------------------------
Message: 1
Date: Sun, 6 Jan 2008 12:13:46 +0100 (CET)
From: Daniel Stenberg <daniel_at_haxx.se>
Subject: Re: [PATCH] SOCKS4a support (Daniel Stenberg)
To: curl users <curl-users_at_cool.haxx.se>
Message-ID: <Pine.LNX.4.64.0801061212110.6865_at_yvahk3.pbagnpgbe.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Fri, 4 Jan 2008, autrelandes-curl_at_yahoo.fr wrote:
> Please find enclosed a second proposition of a much simpler patch (file
> main.diff). I changed the set_so_keepalive function into a set_keepalive
> function.
(his patch is found in the mail that never reached the users list, only the
library list => http://curl.haxx.se/mail/lib-2008-01/att-0038/main.diff)
I'm interested in opinions and feedback from others on the usability and
desire for these three new options Eric's patch provides. Thoughts?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html ------------------------------ _______________________________________________ curl-users mailing list curl-users_at_cool.haxx.se http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users End of curl-users Digest, Vol 29, Issue 4 *****************************************Received on 2008-01-08