Thanks to all who replied! I used Sean's stubs, added my own for readlink()
and symlink(), implemented rindex() and index() and managed to compile and
link everything.
Somehow I feel there's got to be an easier way :-)
Sean MacLennan wrote:
I had the same problem in 21.2-b3. The *pwent functions seem to be
used
for username completion which is not very usefull under NT. I solved it
with the following dummy functions at the top of dired.c
static struct passwd *getpwent() { return NULL; }
static void setpwent() {}
static void endpwent() {}
Hope this helps.
Sean
> -----Original Message-----
> From: greg(a)alphatech.com [SMTP:greg@alphatech.com]
> Sent: Friday, October 16, 1998 12:57 PM
> To: Stefan Tilkov
> Cc: xemacs-beta(a)xemacs.org; xemacs-nt(a)xemacs.org
> Subject: Re: Link error in 21.2-b2/NT
>
> >>>>> "Stefan" == Stefan Tilkov <stilcom(a)gmx.net>
writes:
> Stefan>
> Stefan> Please forgive me if this has already been answered - I joined
> the list
> Stefan> today and have found no solution to my problem in the archive.
>
> It hasn't - most of us are still working in the 21.0 tree, not 21.2.
>
> Stefan> I can't build 21.2-b2 under NT, I could build 21.2-b1 with no
> problems.
> ...
> Stefan> dired.c
> Stefan> ..\src\dired.c(603) : warning C4013: 'endpwent' undefined;
> assuming
> Stefan> extern return
>
> Apparently NT does not have these functions used by my username
> completion patch. Those functions can be ifdeffed out under windows,
> or maybe there are equivalents. I'm not an NT user.