[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Installation process: make failed
From: |
Allan . Pomeroy |
Subject: |
Installation process: make failed |
Date: |
Wed, 12 Dec 2001 12:15:45 -0500 |
Dear Sir/Madame,
I'm trying to build CVS on an RS/6000 running AIX 4.3.2 (which is on the
Tested platform list). I downloaded the source from a mirror site
(ftp://aeneas.mit.edu/pub/gnu/cvs/). The make fails, as follows. (Download
of the most current version from cvshome fails with the same output.)
============ Output of make ===============
making all in lib
gcc -I.. -I. -I../src -DHAVE_CONFIG_H -g -O -c vasprintf.c
In file included from
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2/2.5.8/include/sys/types.h:128,
from
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2/2.5.8/include/stdio.h:315,
from vasprintf.c:16:
/usr/include/sys/m_types.h:87: parse error before `kvmid_t'
/usr/include/sys/m_types.h:87: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:88: parse error before `kvmhandle_t'
/usr/include/sys/m_types.h:88: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:90: parse error before `vpn_t'
/usr/include/sys/m_types.h:90: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:92: parse error before `rpn_t'
/usr/include/sys/m_types.h:92: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:94: parse error before `ext_t'
/usr/include/sys/m_types.h:94: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:95: parse error before `vmsize_t'
/usr/include/sys/m_types.h:95: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:117: parse error before `ulong32int64_t'
/usr/include/sys/m_types.h:117: warning: no semicolon at end of struct or
union
/usr/include/sys/m_types.h:118: warning: data definition has no type or
storage class
/usr/include/sys/m_types.h:123: parse error before `}'
/usr/include/sys/m_types.h:123: warning: data definition has no type or
storage class
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
============ End of make output ===============
Do I have the right versions of the above header files? What am I doing
wrong?
I ran ./configure using the --prefix option to specify a directory other
than the default. The output follows. Also, listings of the offending
files are attached. Any help would be greatly appreciated!
Thanks in advance
Allan Pomeroy
Portsmouth, NH USA
================= Output of ./configure ==================
$ ./configure --prefix=/publishing/download/cvs/install
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... yes
checking for minix/config.h... no
checking for POSIXized ISC... no
checking whether cross-compiling... no
checking for working const... yes
checking for a BSD compatible install... /usr/bin/installbsd -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking whether make sets ${MAKE}... yes
checking for perl... /usr/local/bin/perl
checking for csh... /usr/bin/csh
checking whether #! works in shell scripts... yes
checking for ANSI C header files... no
checking for errno.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for utime.h... yes
checking for fcntl.h... yes
checking for ndbm.h... yes
checking for limits.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for sys/select.h... no
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for io.h... no
checking for direct.h... no
checking for sys/bsdtypes.h... no
checking for sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... no
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for -lx... no
checking return type of signal handlers... int
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_blksize in struct stat... no
checking for mkdir... yes
checking for rename... yes
checking for strstr... yes
checking for dup2... yes
checking for strerror... yes
checking for valloc... yes
checking for waitpid... yes
checking for memmove... yes
checking for vasprintf... no
checking for strtoul... yes
checking for fchmod... yes
checking for fsync... yes
checking for ftime... yes
checking for mktemp... yes
checking for putenv... yes
checking for vprintf... yes
checking for ftruncate... yes
checking for timezone... no
checking for getpagesize... yes
checking for initgroups... yes
checking for fchdir... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigvec... yes
checking for sigsetmask... yes
checking for sigblock... yes
checking for tempnam... yes
checking for tzset... yes
checking for readlink... yes
checking for wait3... yes
checking for vfork.h... no
checking for working vfork... no
checking whether closedir returns void... yes
checking for -lsec... no
checking for getspnam... no
checking whether utime accepts a null argument... no
checking for long file names... yes
checking for working fnmatch function... yes
checking for connect... yes
default place for krb4 is /usr/kerberos
checking for krb.h...
checking for krb_get_err_text... no
default place for GSSAPI is /usr/cygnus/kerbnet
checking for gssapi.h... no
checking for gssapi/gssapi.h... no
checking for gssapi/gssapi_generic.h... no
checking for gethostname... yes
checking for -lcrypt... yes
checking for crypt... yes
checking for cygwin32... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating zlib/Makefile
creating diff/Makefile
creating doc/Makefile
creating man/Makefile
creating tools/Makefile
creating tools/pcl-cvs/Makefile
creating contrib/Makefile
creating contrib/elib/Makefile
creating windows-NT/Makefile
creating windows-NT/SCC/Makefile
creating os2/Makefile
creating emx/Makefile
creating macintosh/Makefile
creating vms/Makefile
creating stamp-h
creating config.h
creating src/options.h
================= End of ./configure output ==================
================= Contents of
/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2/2.5.8/include/sys/types.h
==========
* COMPONENT_NAME: (INCSTD) Standard Include Files
*
* FUNCTIONS:
*
* ORIGINS: 3, 26, 27
*
* (C) COPYRIGHT International Business Machines Corp. 1985, 1990
* All Rights Reserved
* Licensed Materials - Property of IBM
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
*/
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* (#)types.h 7.1 (Berkeley) 6/4/86
*/
#ifndef _H_TYPES
#define _H_TYPES
#include <standards.h>
/*
*
* The ANSI and POSIX standards require that certain values be in
types.h.
* It also requires that if _ANSI_C_SOURCE or _POSIX_SOURCE is defined
* then ONLY those values are present. This header includes all the ANSI
* and POSIX required entries.
*
* Other entries are included in _ALL_SOURCE.
*
*/
#ifdef _ANSI_C_SOURCE
/*
* ANSI C required typedefs
*/
#ifndef _VA_LIST
#define _VA_LIST
typedef char * va_list;
#endif
#ifndef _PTRDIFF_T
#ifndef _PTRDIFF_T
#define _PTRDIFF_T
typedef int ptrdiff_t;
#endif
#ifndef _WCHAR_T
#define _WCHAR_T
typedef unsigned short wchar_t;
#endif
#ifndef _WCTYPE_T
#define _WCTYPE_T
typedef unsigned int wctype_t;
#endif
#ifndef _FPOS_T
#define _FPOS_T
typedef long fpos_t;
#endif
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
#endif
#ifndef _CLOCK_T
#define _CLOCK_T
typedef int clock_t;
#endif
#ifndef _SIZE_T
#define _SIZE_T
#ifndef _GCC_SIZE_T
#define _GCC_SIZE_T
typedef long unsigned int size_t;
#endif
#endif
#endif /* _ANSI_C_SOURCE */
#ifdef _POSIX_SOURCE
/*
* shorthand type definitions for unsigned storage classes
*/
typedef unsigned char uchar_t;
typedef unsigned short ushort_t;
typedef unsigned int uint_t;
typedef unsigned long ulong_t;
typedef signed int ssize_t;
/*
* standard AIX type definitions
*/
typedef struct { int r[1]; } * physadr_t;
typedef long level_t;
typedef long daddr_t; /* disk address */
typedef char * caddr_t; /* "core" (i.e. memory) address */
typedef ulong_t ino_t; /* inode number (filesystem) */
typedef short cnt_t;
typedef ulong_t dev_t; /* device number (major+minor) */
typedef long chan_t; /* channel number (minor's minor) */
typedef long off_t; /* file offset */
typedef long paddr_t;
typedef long key_t;
typedef long timer_t; /* timer id */
typedef short nlink_t;
typedef ulong_t mode_t; /* file mode */
typedef ulong_t uid_t; /* user ID */
typedef ulong_t gid_t; /* group ID */
typedef void * mid_t; /* module ID */
typedef int pid_t; /* process ID */
typedef char slab_t[12]; /* security label */
typedef long mtyp_t; /* ipc message type */
#ifndef _WINT_T
#define _WINT_T
typedef int wint_t; /* Wide character */
#endif
#include <sys/m_types.h> /* machine-dependent type definitions */
/* typedef and structure for signal mask */
/* This must correspond to the "struct sigset" structure in _ALL_SOURCE
below */
typedef struct sigset_t {
unsigned long losigs;
unsigned long hisigs;
} sigset_t;
typedef int signal_t;
#endif /* _POSIX_SOURCE */
#ifdef _ALL_SOURCE
#ifndef NULL
#undef NULL
#define NULL ((void *)0)
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
/*
* shorthand type definitions for unsigned storage classes
*/
typedef uchar_t uchar;
typedef ushort_t ushort;
typedef uint_t uint;
typedef ulong_t ulong;
typedef physadr_t physadr;
/* typedefs for BSD unsigned things */
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef struct _quad { long val[2]; } quad;
typedef long swblk_t;
#define NBBY 8 /* number of bits in a byte */
/* The sigset structure must correspond to sigset_t in _POSIX_SOURCE above
*/
struct sigset {
unsigned long losigs;
unsigned long hisigs;
};
/* typedef for the File System Identifier (fsid) */
struct fsid {
long val[2];
};
typedef struct fsid fsid_t;
#define fsid_dev val[0]
#define fsid_type val[1]
/* typedef for the File Identifier (fid) */
#define FHSIZE 32
#define MAXFIDSZ (FHSIZE - sizeof(fsid_t) - sizeof(uint_t))
struct fid {
uint_t fid_len;
char fid_data[MAXFIDSZ];
};
typedef struct fid fid_t;
struct fileid { /* this is for servers only! */
uint_t fid_len;
ino_t fid_ino;
uint_t fid_gen;
char fid_x[MAXFIDSZ - (sizeof(ino_t) + 2) - sizeof(uint_t)];
};
/* typedef for the File Handle (fhandle) */
struct fhandle {
char x[FHSIZE]; /* allows structure assignments */
};
struct filehandle { /* this is for servers only! */
fsid_t fh_fsid; /* filesystem id */
struct fileid fh_fid; /* file id */
};
typedef struct fhandle fhandle_t;
#define fh_dev fh_fsid.fsid_dev
#define fh_type fh_fsid.fsid_type
#define fh_len fh_fid.fid_len
#define fh_ino fh_fid.fid_ino
#define fh_gen fh_fid.fid_gen
/* structure and typedef for volume group IDs and physical volume IDs */
struct unique_id {
unsigned long word1;
unsigned long word2;
unsigned long word3;
unsigned long word4;
};
typedef struct unique_id unique_id_t;
#ifdef _BSD /* Berkeley source compatibility */
#include <sys/select.h>
/*
* The following macros, major(), minor() and makedev() are identical
* to the macros in <sys/sysmacros.h>. Any changes to either need to
* be reflected in the other.
*/
/* major part of a device */
#define major(x) (int)((unsigned)(x)>>16)
/* minor part of a device */
#define minor(x) (int)((x)&0xFFFF)
/* make a device number */
#define makedev(x,y) (dev_t)(((x)<<16) | (y))
#endif /* _BSD */
#endif /* _ALL_SOURCE */
#endif /* _H_TYPES */
================= End of types.h ===================
========= Contents of /usr/include/sys/m_types.h =========
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* bos43K src/bos/kernel/sys/POWER/m_types.h 1.15 */
/* */
/* Licensed Materials - Property of IBM */
/* */
/* (C) COPYRIGHT International Business Machines Corp. 1985,1993 */
/* All Rights Reserved */
/* */
/* US Government Users Restricted Rights - Use, duplication or */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* IBM_PROLOG_END_TAG */
/* @(#)77 1.15 src/bos/kernel/sys/POWER/m_types.h, sysproc, bos43K,
9816A_43K 4/7/98 13:10:43 */
/*
* COMPONENT_NAME: SYSPROC
*
* FUNCTIONS:
*
* ORIGINS: 27
*
*
* (C) COPYRIGHT International Business Machines Corp. 1985,1993
* All Rights Reserved
* Licensed Materials - Property of IBM
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
#ifndef _H_M_TYPES
#define _H_M_TYPES
#ifndef _H_STANDARDS
#include <standards.h>
#endif
/*
* XPG4.2 requires structure elements to be defined such that they do not
* pollute the namespace. Additional elements to these structures should
* be added after the "#endif", and always prepended with "__".
*/
typedef struct
#ifdef _ALL_SOURCE
label_t
#endif /* _ALL_SOURCE */
{ /* kernel jump buffer */
#ifdef _ALL_SOURCE
struct label_t *prev; /* chain to previous */
ulong_t iar; /* resume address */
ulong_t stack; /* stack pointer */
ulong_t toc; /* toc pointer */
ulong_t cr; /* non-volatile part of cr */
ulong_t intpri; /* priority level of the process */
ulong_t reg[19]; /* non-volatile regs (13..31) */
#else /* _ALL_SOURCE */
struct label_t *__prev; /* chain to previous */
ulong_t __iar; /* resume address */
ulong_t __stack; /* stack pointer */
ulong_t __toc; /* toc pointer */
ulong_t __cr; /* non-volatile part of cr */
ulong_t __intpri; /* priority level of the process */
ulong_t __reg[19]; /* non-volatile regs (13..31) */
#endif /* _ALL_SOURCE */
} label_t;
#if defined(__64BIT__) && !defined(_KERNEL)
typedef int vmid_t; /* virtual memory object ID */
#else
typedef long vmid_t; /* virtual memory object ID */
#endif
#if defined(__64BIT__) && !defined(_KERNEL)
typedef uint_t vmhandle_t; /* virtual memory handle */
#else
typedef ulong_t vmhandle_t; /* virtual memory handle */
#endif
#ifdef _32KERMODE
typedef uint_t kvmid_t; /* kernel's internal version */
typedef uint_t kvmhandle_t; /* kernel's internal version */
#else
typedef long32int64_t kvmid_t; /* kernel's internal version */
typedef ulong32int64_t kvmhandle_t; /* kernel's internal version */
#endif
typedef int32long64_t vpn_t; /* virtual page number */
typedef int kvpn_t; /* kernel's internal view of vpn*/
typedef int32long64_t rpn_t; /* real page number */
typedef int krpn_t; /* kernel's internal view of rpn*/
typedef int32long64_t ext_t; /* extended parameters */
typedef int32long64_t vmsize_t; /* size param */
typedef struct
#ifdef _ALL_SOURCE
vmaddr_t
#endif /* _ALL_SOURCE */
{ /* long-form virtual address */
#ifdef _ALL_SOURCE
vmhandle_t srval; /* segment reg contents */
caddr_t offset; /* offset within segment */
#else /* _ALL_SOURCE */
vmhandle_t __srval; /* segment reg contents */
caddr_t __offset; /* offset within segment */
#endif /* _ALL_SOURCE */
} vmaddr_t;
typedef struct
#ifdef _ALL_SOURCE
adspace_t
#endif /* _ALL_SOURCE */
{ /* address space mapping */
#ifdef _ALL_SOURCE
ulong32int64_t alloc; /* allocation flags */
kvmhandle_t srval[16]; /* contents of all seg regs */
#else /* _ALL_SOURCE */
ulong32int64_t __alloc; /* allocation flags */
kvmhandle_t __srval[16]; /* contents of all seg regs */
#endif /* _ALL_SOURCE */
} adspace_t;
#ifdef __64BIT_KERNEL
/*
* 64-bit kernel's view of a 32-bit defined adspace_t
*/
typedef struct adspace32_t
{ /* address space mapping */
ulong32int64_t alloc; /* allocation flags */
unsigned int srval[16]; /* contents of all seg regs */
} adspace32_t;
#endif
#endif /*_H_M_TYPES*/
========= End of /usr/include/sys/m_types.h =========
End of Message.
- Installation process: make failed,
Allan . Pomeroy <=