autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.5, 2.13, and Vim


From: Charles E. Campbell
Subject: Re: autoconf 2.5, 2.13, and Vim
Date: Mon, 11 Jun 2001 14:05:44 -0400 (EDT)

Hello!

A file called "auto/config.h" gets written; the relevant portion
is transcribed here:

 ---------------------------------------------------------------------
/* Define to `int' if <sys/types.h> doesn't define.  */
#define mode_t int

/* Define to `long' if <sys/types.h> doesn't define.  */
#define off_t long

/* Define to `long' if <sys/types.h> doesn't define.  */
#define pid_t int

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#define size_t unsigned

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef uid_t */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef gid_t */

/* Define to `long' if <sys/types.h> doesn't define.  */
#define ino_t long

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#define dev_t unsigned
 ---------------------------------------------------------------------

All these variables are typedef'd by <sys/types.h>, which vim
includes.  Consequently no vim source compiles; I need to go into
auto/config.h and get rid of the errant #defines.

Vim doesn't appear to include <inttypes.h> anywhere and, after checking
out the files under /usr/include/..., none of them include <inttypes.h>
either.  This is the first time I've had a problem with <sys/types.h>
conflicting with <inttypes.h>; looks like <inttypes.h> hasn't been
needed by any of the source I've ever compiled heretofore.

Regards,
Chip Campbell

 ---------------------------------------------------------------------
Thus saith Akim Demaille:
> 
> >>>>> "Charles" == Charles E Campbell <address@hidden> writes:
> 
> Charles> Thus saith Akim Demaille:
> >> Thanks, but it is config.log that we need.
> 
> Charles> OK, I'll send that uuencoded and gzipped....
> 
> Well, according to the logs, something is rotten on your architecture:
> you can't include both sys/types.h and inttypes.h.  Does it fail to
> compile?  If not, what is the problem?


-- 
        Charles E Campbell, Jr, PhD            _   __   __
        Goddard Space Flight Center           / /_/\_\_/ /
        address@hidden      /_/  \/_//_/
  PGP public key: http://www.erols.com/astronaut/pgp.html



reply via email to

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