From: Dibyendu Majumdar (dibyendu_at_mazumdar.demon.co.uk)
Date: Thu Mar 25 1999 - 23:13:43 GMT
Ian Edwards wrote: > On 25-Mar-99 Chris Siebenmann wrote: > > Is there a prerelease snapshot of the upcomming release available, > > for interested people to bang on on various platforms and to fix any > > loose ends? > > http://www.concerto.demon.co.uk/UPS/ups-3.34beta.tar.gz > Hello Ian, Build on RedHat 5.2 failed. I have attached the following: ifdefs.h errors (error messages from make) Looks like missing defines in /usr/include/elf.h. For info: the previous snapshot (ups-3.33-03) built fine. Regards /* ifdefs.h. Generated automatically by configure. */ /* $Id: ifdefs.h.in,v 1.1 1999/03/05 16:20:45 ian Exp ian $ */ /* ifdefs.h - #defines of symbols based on predefined macros */ /* Copyright 1991 Mark Russell, University of Kent at Canterbury. * * You can do what you like with this source code as long as * you don't try to make money out of it and you include an * unaltered copy of this message (including the copyright). */ /* * Reworked for AutoConf * Ian Edwards <ian_at_concerto.demon.co.uk> */ /* @(#)ifdefs.h 1.16 25/5/95 (UKC) */ #ifndef IFDEFS_H_INCLUDED #define IFDEFS_H_INCLUDED /* --------------------------------------------------------------------------- * These symbols are used in a lot of the code. * * ARCH_SUN3 - Sun 3 (Motorola 68000 based) * * ARCH_SUN4 - Sun 4 (SPARC) * ARCH_SPARC - any SPARC (not currently used) * * ARCH_SUN386 - Sun 386i (obsolete) * * ARCH_CLIPPER - Clipper * * ARCH_386 - any Intel x86 * ARCH_LINUX386 - Linux (x86) * ARCH_BSDI386 - should be BSD/OS (x86), actually any BSD (x86) * ARCH_FREEBSD386 - FreeBSD (x86) * * ARCH_MIPS - any MIPS * ARCH_MIPS_MIPS - MIPS MIPS * ARCH_ULTRIX_MIPS - Digital Ultrix MIPS * * OS_BSD - supports most BSD routines * OS_BSD44 - derived from BSD4.4-Lite (not SunOS !) * OS_SVR4 - supports System V release 4 features * OS_SUNOS - any SunOS * OS_ULTRIX - Digital Ultrix * --------------------------------------------------------------------------- */ #define HOST_CPU "i586" #define HOST_VENDOR "pc" #define HOST_OS "linux-gnu" #define THIS_ARCH "i586-pc-linux-gnu" #define LONG_LONG_FMT "ll" #define LONG_DOUBLE_FMT ".12L" /* --------------------------------------------------------------------------- * One of these ARCH_... definitions should be set. * --------------------------------------------------------------------------- */ /* #undef ARCH_SUN386 */ /* #undef ARCH_SUN3 */ /* #undef ARCH_SUN4 */ /* #undef ARCH_386 */ /* #undef ARCH_FREEBSD386 */ /* #undef ARCH_BSDI386 */ #define ARCH_LINUX386 1 /* #undef ARCH_CLIPPER */ /* #undef ARCH_MIPS_ULTRIX */ /* #undef ARCH_MIPS_MIPS */ /* #undef ARCH_VAX */ /* --------------------------------------------------------------------------- * One of these OS_... definitions should be set. * --------------------------------------------------------------------------- */ /* #undef OS_SUNOS_3 */ /* #undef OS_SUNOS_4 */ /* #undef OS_SUNOS_5 */ /* #undef OS_FREEBSD */ /* #undef OS_BSD44 */ #define OS_LINUX 1 /* #undef OS_RSICOS */ /* #undef OS_ULTRIX */ /* --------------------------------------------------------------------------- * FreeBSD 2.2.x has started to diverge from other BSDs on Intel x86, * ARCH_FREEBSD386 is *only* used to flag these. * --------------------------------------------------------------------------- */ #if (ARCH_FREEBSD386) #define ARCH_BSDI386 1 #endif /* --------------------------------------------------------------------------- * Any 386 ? * --------------------------------------------------------------------------- */ #if (ARCH_BSDI386) || (ARCH_LINUX386) #define ARCH_386 1 #endif /* --------------------------------------------------------------------------- * MIPS_MIPS : original MIPS running RISC/os, also works for Sony NewsOS. * MIPS_ULTRIX : Digital Ultrix ran the processor in 'little endian' mode. * --------------------------------------------------------------------------- */ #if (ARCH_MIPS_MIPS) || (ARCH_MIPS_ULTRIX) #define ARCH_MIPS 1 #endif /* --------------------------------------------------------------------------- * OS ? * --------------------------------------------------------------------------- */ #if (OS_SUNOS_3) || (OS_SUNOS_4) || (OS_SUNOS_5) #define OS_SUNOS 1 #define OS_BSD 1 #endif #if (OS_SUNOS_5) || (OS_LINUX) #define OS_SVR4 1 #endif #if (OS_FREEBSD) #define OS_BSD44 1 #endif #if (OS_BSD44) #define OS_BSD 1 #endif /* * =========================================================================== * The following are initially 0 and get set to 1 by 'configure' * =========================================================================== */ /* ANSI C headers ? (use instaed of __STDC__) */ #define STDC_HEADERS 1 /* ELF ? */ #define WANT_ELF 1 #define HAVE_A_OUT_H 1 #define HAVE_AR_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ELF_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MEMORY_H 1 #define HAVE_NDIR_H 0 #define HAVE_NETDB_H 1 #define HAVE_POLL_H 1 #define HAVE_PTRACE_H 0 #define HAVE_PWD_H 0 #define HAVE_SIGNAL_H 0 #define HAVE_STAB_H 1 #define HAVE_STRING_H 1 #define HAVE_STROPTS_H 0 #define HAVE_TERMIOS_H 1 #define HAVE_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VARARGS_H 1 #define HAVE_VFORK_H 0 #define HAVE_LINUX_ELF_H 1 #define HAVE_MACHINE_CPU_H 0 #define HAVE_MACHINE_FRAME_H 0 #define HAVE_MACHINE_INST_H 0 #define HAVE_MACHINE_REG_H 0 #define HAVE_MACHINE_TSS_H 0 #define HAVE_MACHINE_MACHPARAM_H 0 #define HAVE_MACHINE_VMPARAM_H 0 #define HAVE_SYS_CORE_H 0 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_ERRNO_H 1 #define HAVE_SYS_FAULT_H 0 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_FRAME_H 0 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_NDIR_H 0 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_PROCFS_H 1 #define HAVE_SYS_PTRACE_H 1 #define HAVE_SYS_REG_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_SYS_UCONTEXT_H 0 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_VMPARAM_H 0 #define HAVE_SYS_WAIT_H 1 #define HAVE_X_WINDOWS 1 /* The right <time.h> is included later. */ #define TIME_WITH_SYS_TIME 1 #define TM_IN_SYS_TIME 0 /* Routines */ #define HAVE_GETPGRP 1 #define GETPGRP_VOID 1 #define HAVE_SETPGRP 1 #define SETPGRP_VOID 1 #define SETVBUF_REVERSED 0 #define HAVE_BCOPY 1 #define HAVE_FLOCK 1 #define HAVE_GETMNTENT 1 #define HAVE_MEMCMP 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_MMAP 1 #define HAVE_POLL 1 #define HAVE_PTRACE 1 #define HAVE_PUTENV 1 #define HAVE_REMOVE 1 #define HAVE_RENAME 1 #define HAVE_SELECT 1 #define HAVE_STRCHR 1 #define HAVE_STRCOLL 1 #define HAVE_STRERROR 1 #define HAVE_STRTOD 1 #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_STRFTIME 1 #define HAVE_SYMLINK 1 #define HAVE_UTIME_NULL 1 #define HAVE_WAIT3 1 #define HAVE_VPRINTF 1 #define HAVE_DOPRNT 0 /* Most of these are for the C interpreter. */ #define HAVE_CTYPE_FUNCTIONS 1 #define HAVE_FEOF_FUNCTIONS 1 #define HAVE_SYS_ERRLIST 1 #define HAVE_SYS_NERR 1 #define HAVE_GLOBAL_CTYPE 0 #define HAVE_GLOBAL_IOB 0 #define GLOBAL_CTYPE 0 #define GLOBAL_IOB 0 #define NAME_CTYPE "" #define NAME_IOB "" #define HAVE_GETC_HELPER 1 #define GETC_HELPER __uflow #define GETC_H_NAME "__uflow" #define HAVE_PUTC_HELPER 1 #define PUTC_HELPER __overflow #define PUTC_H_NAME "__overflow" #define HAVE_PEEKC_HELPER 1 #define PEEKC_HELPER __underflow #define PEEKC_H_NAME "__underflow" #define HAVE_GETDTABLESIZE_DECL 1 #define HAVE_GETRUSAGE_DECL 1 #define HAVE_KILLPG_DECL 1 #define HAVE_SETLINEBUF_DECL 1 #define HAVE_SRANDOM_DECL 1 #define HAVE_SYS_ERRLIST_DECL 1 #define HAVE_SYS_NERR_DECL 1 #define HAVE_UTIMES_DECL 1 #define HAVE_WAIT3_DECL 1 /* Most of these are for the C interpreter. */ #define HAVE_ADJTIME 1 #define HAVE_ATEXIT 1 #define HAVE_BSEARCH 1 #define HAVE_CLOCK 1 #define HAVE_DIFFTIME 1 #define HAVE_FGETPOS 1 #define HAVE_FSETPOS 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETS 1 #define HAVE_GETDTABLESIZE 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETPWNAM 0 #define HAVE_GETTIMEOFDAY 1 #define HAVE_KILLPG 1 #define HAVE_LABS 1 #define HAVE_SEEKDIR 1 #define HAVE_SETGROUPS 1 #define HAVE_SETGRENT 1 #define HAVE_SETLINEBUF 1 #define HAVE_SETVBUF 1 #define HAVE_SIGADDSET 1 #define HAVE_SIGEMPTYSET 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SOCKET 1 #define HAVE_SRANDOM 1 #define HAVE_TMPFILE 1 #define HAVE_UTIMES 1 #define HAVE__XUSTAT 0 #define HAVE___ASSERT 0 #define HAVE___ASSERT_FAIL 1 #define HAVE___BUILTIN_NEXT_ARG 1 #define HAVE___ERRNO_LOCATION 1 #define HAVE___ERROR 1 /* Extras requested in the C interpreter ? */ #define WANT_LL 0 #define WANT_LDBL 0 #define HAVE_LIBM 0 #define WANT_MATH 0 #define WANT_OLD_LINK 0 /* Misc. */ #define STAT_MACROS_BROKEN 0 #define SYS_SIGLIST_DECLARED 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_RESTARTABLE_SYSCALLS 1 #define HAVE_DEFINED_ENVIRON 0 /* Set for Motorola and SPARC, not for Intel and VAX. */ #define WORDS_BIGENDIAN 0 #define IS_BIG_ENDIAN WORDS_BIGENDIAN #define C_PREPROCESSOR "gcc -E" /* Also defines vfork = vfork if vfork() works vfork = fork if vfork() does not work __CHAR_UNSIGNED__ if char is unsigned */ #define VFORK vfork #define GETGROUPS_T gid_t #define GID_T gid_t #define MODE_T mode_t #define SIZE_T size_t #define OFF_T off_t #define PID_T pid_t #define UID_T uid_t #define RETSIGTYPE void #define const const #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG_DOUBLE 12 #define __CHAR_UNSIGNED__ 0 #define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_LONG SIZEOF_LONG_LONG /* * =========================================================================== * Our definitions start here... * =========================================================================== */ #include <stdio.h> /* 'autoconf' suggests :- */ #if HAVE_UNISTD_H # include <sys/types.h> # include <unistd.h> #elif HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef _POSIX_VERSION /* Code for POSIX.1 systems. */ #endif /* 'autoconf' suggests :- */ #if STDC_HEADERS # include <string.h> #else # if HAVE_STRING_H # include <string.h> # endif # if HAVE_MEMORY_H # include <memory.h> # endif # ifndef HAVE_STRCHR # define strchr index # define strrchr rindex # endif char *strchr (), *strrchr (); # ifndef HAVE_MEMCPY # define memcpy(d, s, n) bcopy ((s), (d), (n)) # endif # ifndef HAVE_MEMMOVE # define memmove(d, s, n) bcopy ((s), (d), (n)) # endif #endif /* 'autoconf' suggests :- */ #if HAVE_DIRENT_H # include <dirent.h> # define NAMLEN(dirent) strlen((dirent)->d_name) #else # define dirent direct # define NAMLEN(dirent) (dirent)->d_namlen # if HAVE_SYS_NDIR_H # include <sys/ndir.h> # endif # if HAVE_SYS_DIR_H # include <sys/dir.h> # endif # if HAVE_NDIR_H # include <ndir.h> # endif #endif /* 'autoconf' suggests :- */ #if TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> #else # if HAVE_SYS_TIME_H # include <sys/time.h> # else # include <time.h> # endif #endif /* 'autoconf' suggests :- */ #if HAVE_SYS_WAIT_H # include <sys/wait.h> #endif #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif #endif /* * --------------------------------------------------------------------------- * Fix-ups through macros... * --------------------------------------------------------------------------- */ #include <errno.h> #if !HAVE_STRERROR extern char *sys_errlist[]; extern int sys_nerr; /* As we have just declared them ... */ #define HAVE_SYS_ERRLIST_DECL 1 #define HAVE_SYS_NERR_DECL 1 #define strerror(n) \ (((n) >= 0 && (n) < sys_nerr) ? sys_errlist[n] : "unknown error") #endif /* END */ ao_elfcore.c: In function `get_note_info': ao_elfcore.c:209: `NT_PRXREG' undeclared (first use this function) ao_elfcore.c:209: (Each undeclared identifier is reported only once ao_elfcore.c:209: for each function it appears in.) ao_elfcore.c:210: `NT_PLATFORM' undeclared (first use this function) ao_elfcore.c:211: `NT_AUXV' undeclared (first use this function) make[1]: *** [ao_elfcore.o] Error 1 make: *** [ups] Error 2
This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:32 GMT