cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with curl compilation on VDK

From: Michal Marek <mmarek_at_suse.cz>
Date: Tue, 26 Feb 2008 14:05:25 +0100

> Daniel Stenberg Thanks allot to you. At time of compilation of curl
> lib. I faced problem in file netrc.c. Which are given below?
>
> Here pwd.h file is taken from internet.
...
>
> "pwd.h", line 28: cc0130: error: expected a "{"
>
> extern struct passwd *getpwuid (uid_t uid) __THROW;

Does your platform provide pwd.h and the getpw* functions? If yes, then
use the header provided by your platform, if not, then don't define
HAVE_PWD_H and HAVE_GETPWUID. The library should compile without these
features.

Michal
Received on 2008-02-26