bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] compiling tar cvs using mingw


From: Paul Eggert
Subject: Re: [Bug-tar] compiling tar cvs using mingw
Date: 09 Sep 2003 16:22:42 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Gerry Reno <address@hidden> writes:

> extract.c:722: warning: assignment makes pointer from integer without a cast

This is due to a bug in the recent CVS checkins.  I think gray can fix
that.  You can ignore it for now.


>I ran into an error with waitpid.c saying pid_t was
> undefined so I included types.h

Don't you mean <sys/types.h>, not <types.h>?

When you ran 'configure', which pid_t did it find?


>  create.c couldn't find pwd.h and
> grp.h so I copied those from /usr/include

Isn't /usr/include part of the include path already?  If not,
perhaps you should just configure with CFLAGS=-I/usr/include.

Also, create.c includes pwd.h and grp.h only if MSDOS is 0.
Suppose you compile with -DMSDOS=1; does that fix things?


> extract.c:385: too many arguments to function `mkdir'
> ...
> It looks like the mingw io.h would define it with one arg.

Is this because there is no notion of permissions in DOS?

src/system.h includes io.h only if !defined _POSIX_VERSION && MSDOS,
so MSDOS must be nonzero.  But in that case why did create.c
include pwd.h and grp.h?

Does it work to include the following line after '# include <io.h>'
in src/system.h?

#define mkdir(file, mode) (mkdir) (file)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]