cURL / Mailing Lists / curl-library / Single Mail


Re: Try to compile at Digital Unix

From: Daniel Stenberg <>
Date: Tue, 27 Nov 2001 10:02:56 +0100 (MET)

On Tue, 27 Nov 2001, Dimitris Sarris wrote:

Thanks for your mail. I'll comment inlined, below your comments.

> I have recently downloaded cURL in order to execute some FTP transfers.
> My platform is Digital Unix (Tru64 v.0D)
> I run configure with the following options:
> --prefix=<whatever> --without-ssl
> Then, I run make but the following warnings and errors appeared:
> cc: Warning: ftp.c, line 1510: In this statement, the referenced
> type of the pointer value "&conn->resume_from" is "int", which is not
> compatible with "long".

This has been fixed in the CVS version. "resume_from" shall be a ssize_t.

It would be neat if you'd get a recent version from CVS (or a recent
pre-release) and re-tried. All your mentioned details (should) have been

> cc: Warning: ftp.c, line 1682: In this statement, the referenced
> type of the pointer value "&foundsize" is "int", which is not compatible
> with "long".
> (ptrmismatch)
> result = ftp_getsize(conn, ftp->file, &foundsize);
> ----------------------------------------------^

The same here. foundsize should be a ssize_t.

> cc: Error: ftp.c, line 1918: In this declaration, the type of
> "Curl_ftpsendf" is not compatible with the type of a previous
> declaration of "Curl_ftpsendf" at line
> number 31 in file ftp.h.
> (no tcompat)
> CURLcode Curl_ftpsendf(struct connectdata *conn,

Plain mistake. That function should be declared to return a CURLcode.

> I manually edited the following files in order to overcome the above
> errors:


> Are these changes valid?

They are perfect changes.

> Then, I tried to perform the tests (make test) but the following error
> appeared:
> No suffix list.
> No suffix list.
> No suffix list.
> LOCK: -f test1
> || ln -s ./test* .
> sh: syntax error at line 1: `||' unexpected
> Do I have to fix something here?

Uh. Obviously this needs to be fixed... I've not seen this problem before. If
you could dig up some more on why this happens and possible how to fix it,
I'd be grateful.

The test suite is unfortunately not as portable as the rest of curl. I need
assistance to make it so!

Generally though, if you make it compile and build, it works.

> P.S. Your implementation is really amazing!

Thank you!

    Daniel Stenberg -- curl groks URLs --
Received on 2001-11-27