bug-bash
[Top][All Lists]
Advanced

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

Config problems on Solaris9


From: Hugh Sasse
Subject: Config problems on Solaris9
Date: Mon, 18 Apr 2005 16:41:58 +0100 (WEST)

Trying to build bash with the first 16 patches applied using this script
---------8<---------------
#!/bin/bash -x

CC=gcc
export CC
CXX=g++
export CXX
MAKE=/usr/local/bin/gmake
export MAKE

cd bash-3.0

./configure --enable-alias --enable-arith-for-command \
--enable-array-variables --enable-bang-history \
--enable-brace-expansion --enable-command-timing \
--enable-cond-command --enable-cond-regexp  --enable-debugger \
--enable-directory-stack --enable-extended-glob \
--enable-help-builtin --enable-history --enable-job-control \
--enable-multibyte --enable-net-redirections \
--enable-process-substitution --enable-progcomp --enable-readline \
--with-installed-readline

${MAKE} && ${MAKE} check
---------8<---------------
I get
---------8<---------------
gmake[1]: Entering directory `/export/home/Scratch/hgs/bash-3.0/lib/glob'
gcc -c  -DHAVE_CONFIG_H -DSHELL -I/usr/local/include -I. -I../.. -I../.. 
-I../../include -I../../lib  -mcpu=v9 glob.c
glob.c: In function `glob_vector':
glob.c:340: error: `DIR' undeclared (first use in this function)
glob.c:340: error: (Each undeclared identifier is reported only once
glob.c:340: error: for each function it appears in.)
glob.c:340: error: `d' undeclared (first use in this function)
glob.c:468: warning: assignment makes pointer from integer without a cast
glob.c:473: error: dereferencing pointer to incomplete type
glob.c:486: error: dereferencing pointer to incomplete type
glob.c:489: error: dereferencing pointer to incomplete type
glob.c:491: error: dereferencing pointer to incomplete type
glob.c:501: error: dereferencing pointer to incomplete type
glob.c:501: error: dereferencing pointer to incomplete type
gmake[1]: *** [glob.o] Error 1
gmake[1]: Leaving directory `/export/home/Scratch/hgs/bash-3.0/lib/glob'
gmake: *** [lib/glob/libglob.a] Error 1
brains hgs 172 %> ---------8<---------------

Config.h has

    6 #ifndef _CONFIG_H_
    7 #define _CONFIG_H_
   12 #define JOB_CONTROL 1
   15 #define ALIAS 1
   18 #define PUSHD_AND_POPD 1
   21 #define BRACE_EXPANSION 1
   24 #define READLINE 1
   27 #define BANG_HISTORY 1
   30 #define HISTORY 1
   33 #if defined (BRACE_EXPANSION) && defined (READLINE)
   34 #  define BRACE_COMPLETION
   35 #endif
   41 #define HELP_BUILTIN 1
   44 #define RESTRICTED_SHELL 1
   51 #define PROCESS_SUBSTITUTION 1
   54 #define PROMPT_STRING_DECODE 1
   57 #define SELECT_COMMAND 1
   60 #define COMMAND_TIMING 1
   63 #define ARRAY_VARS 1
   66 #define DPAREN_ARITHMETIC 1
   69 #define EXTENDED_GLOB 1
   72 #define COND_COMMAND 1
   75 #define COND_REGEXP
   78 #define ARITH_FOR_COMMAND 1
   81 #define NETWORK_REDIRECTIONS 1
   84 #define PROGRAMMABLE_COMPLETION 1
   90 #define DEBUGGER 1
   93 #define MEMSCRAMBLE 1
   98 #define ENABLE_NLS 1
  103 #include "config-top.h"
  113 #define HAVE_STRINGIZE 1
  116 #define HAVE_LONG_DOUBLE 1
  118 #define PROTOTYPES 1
  123 #define HAVE_LONG_LONG 1
  125 #define HAVE_UNSIGNED_LONG_LONG 1
  128 #define SIZEOF_INT 4
  131 #define SIZEOF_LONG 4
  134 #define SIZEOF_CHAR_P 4
  137 #define SIZEOF_DOUBLE 8
  140 #define SIZEOF_LONG_LONG 8
  144 #define DEFAULT_MAIL_DIRECTORY "/var/mail"
  155 #define _GNU_SOURCE 1
  158 #define STDC_HEADERS 1
  163 #define USING_BASH_MALLOC 1
  174 #define HAVE_ALLOCA 1
  177 #define HAVE_ALLOCA_H 1
  195 #define bits16_t short
  198 #define u_bits16_t unsigned short
  201 #define bits32_t int
  204 #define u_bits32_t unsigned int
  207 #define bits64_t double
  246 #define HAVE_QUAD_T 1
  248 #define RLIMTYPE rlim_t
  251 #define GETGROUPS_T gid_t
  259 #define WORDS_BIGENDIAN 1
  264 #define HAVE_DECL_SYS_SIGLIST 0
  268 #define UNDER_SYS_SIGLIST_DECLARED 1
  272 #define HAVE_UNDER_SYS_SIGLIST 1
  274 #define HAVE_SYS_ERRLIST 1
  276 #define HAVE_TZNAME 1
  281 #define HAVE_STRUCT_DIRENT_D_INO 1
  297 #define STRUCT_WINSIZE_IN_TERMIOS 1
  303 #define TERMIO_LDISC 1
  305 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  310 #define HAVE_TIMEVAL 1
  312 #define HAVE_STRUCT_TIMEZONE 1
  316 #define HAVE_GETPW_DECLS 1
  323 #define HAVE_DECL_CONFSTR 0
  325 #define HAVE_DECL_PRINTF 1
  327 #define HAVE_DECL_SBRK 1
  329 #define HAVE_DECL_STRCPY 1
  331 #define HAVE_DECL_STRSIGNAL 1
  333 #define HAVE_DECL_STRTOLD 0
  337 #define HAVE_MBSTATE_T 1
  341 #define HAVE_DECL_STRTOIMAX 0
  342 #define HAVE_DECL_STRTOL 1
  343 #define HAVE_DECL_STRTOLL 1
  344 #define HAVE_DECL_STRTOUL 1
  345 #define HAVE_DECL_STRTOULL 1
  346 #define HAVE_DECL_STRTOUMAX 0
  351 #define GETPGRP_VOID 1
  364 #define ULIMIT_MAXFDS 1
  366 #define CAN_REDEFINE_GETENV 1
  368 #define HAVE_STD_PUTENV 1
  370 #define HAVE_STD_UNSETENV 1
  377 #define HAVE_LANGINFO_CODESET 1
  382 #define HAVE_HASH_BANG_EXEC 1
  385 #define HAVE_DEV_FD 1
  388 #define DEV_FD_PREFIX "/dev/fd/"
  391 #define HAVE_DEV_STDIN 1
  397 #define RETSIGTYPE void
  400 #define VOID_SIGHANDLER 1
  406 #define HAVE_POSIX_SIGNALS 1
  419 #define HAVE_BCOPY 1
  422 #define HAVE_BZERO 1
  425 #define HAVE_CONFSTR 1
  428 #define HAVE_DLCLOSE 1
  431 #define HAVE_DLOPEN 1
  434 #define HAVE_DLSYM 1
  437 #define HAVE_DOPRNT 1
  440 #define HAVE_DUP2 1
  446 #define HAVE_GETCWD 1
  449 #define HAVE_GETDTABLESIZE 1
  452 #define HAVE_GETGROUPS 1
  455 #define HAVE_GETHOSTBYNAME 1
  458 #define HAVE_GETHOSTNAME 1
  461 #define HAVE_GETPAGESIZE 1
  464 #define HAVE_GETPEERNAME 1
  467 #define HAVE_GETRLIMIT 1
  470 #define HAVE_GETRUSAGE 1
  479 #define HAVE_GETTIMEOFDAY 1
  488 #define HAVE_ISASCII 1
  494 #define HAVE_ISGRAPH 1
  500 #define HAVE_ISPRINT 1
  503 #define HAVE_ISSPACE 1
  506 #define HAVE_ISXDIGIT 1
  509 #define HAVE_KILLPG 1
  512 #define HAVE_LSTAT 1
  515 #define HAVE_MBRLEN 1
  518 #define HAVE_MBRTOWC 1
  521 #define HAVE_MBSRTOWCS 1
  524 #define HAVE_MEMMOVE 1
  527 #define HAVE_MEMSET 1
  530 #define HAVE_MKFIFO 1
  533 #define HAVE_PATHCONF 1
  536 #define HAVE_PUTENV 1
  539 #define HAVE_READLINK 1
  542 #define HAVE_REGCOMP 1
  545 #define HAVE_REGEXEC 1
  548 #define HAVE_RENAME 1
  551 #define HAVE_SBRK 1
  554 #define HAVE_SELECT 1
  563 #define HAVE_SETLINEBUF 1
  566 #define HAVE_SETLOCALE 1
  572 #define HAVE_SETVBUF 1
  575 #define HAVE_SIGINTERRUPT 1
  578 #define HAVE_POSIX_SIGSETJMP 1
  581 #define HAVE_SNPRINTF 1
  584 #define HAVE_STRCASECMP 1
  587 #define HAVE_STRCHR 1
  590 #define HAVE_STRCOLL 1
  593 #define HAVE_STRERROR 1
  596 #define HAVE_STRFTIME 1
  599 #define HAVE_STRPBRK 1
  602 #define HAVE_STRSTR 1
  605 #define HAVE_STRTOD 1
  611 #define HAVE_STRTOL 1
  614 #define HAVE_STRTOLL 1
  617 #define HAVE_STRTOUL 1
  620 #define HAVE_STRTOULL 1
  626 #define HAVE_STRSIGNAL 1
  629 #define HAVE_SYSCONF 1
  632 #define HAVE_TCGETATTR 1
  635 #define HAVE_TCGETPGRP 1
  638 #define HAVE_TIMES 1
  641 #define HAVE_TTYNAME 1
  644 #define HAVE_TZSET 1
  647 #define HAVE_ULIMIT 1
  650 #define HAVE_UNAME 1
  659 #define HAVE_VPRINTF 1
  662 #define HAVE_VSNPRINTF 1
  665 #define HAVE_WAITPID 1
  668 #define HAVE_WAIT3 1
  674 #define HAVE_WCTOMB 1
  677 #define HAVE_WCWIDTH 1
  682 #define HAVE_ARPA_INET_H 1
  685 #define HAVE_DIRENT_H 1
  688 #define HAVE_DLFCN_H 1
  691 #define HAVE_GRP_H 1
  694 #define HAVE_INTTYPES_H 1
  697 #define HAVE_LANGINFO_H 1
  703 #define HAVE_LIMITS_H 1
  706 #define HAVE_LOCALE_H 1
  712 #define HAVE_NETDB_H 1
  715 #define HAVE_NETINET_IN_H 1
  718 #define HAVE_REGEX_H 1
  721 #define HAVE_STDLIB_H 1
  724 #define HAVE_STDARG_H 1
  727 #define HAVE_STRING_H 1
  730 #define HAVE_STRINGS_H 1
  733 #define HAVE_MEMORY_H 1
  736 #define HAVE_STDDEF_H 1
  745 #define HAVE_SYS_FILE_H 1
  751 #define HAVE_SYS_PARAM_H 1
  757 #define HAVE_SYS_PTEM_H 1
  760 #define HAVE_SYS_RESOURCE_H 1
  763 #define HAVE_SYS_SELECT_H 1
  766 #define HAVE_SYS_SOCKET_H 1
  769 #define HAVE_SYS_STAT_H 1
  772 #define HAVE_SYS_STREAM_H 1
  775 #define HAVE_SYS_TIME_H 1
  777 #define TIME_WITH_SYS_TIME 1
  780 #define HAVE_SYS_TIMES_H 1
  783 #define HAVE_SYS_TYPES_H 1
  786 #define HAVE_SYS_WAIT_H 1
  792 #define HAVE_TERMIO_H 1
  795 #define HAVE_TERMIOS_H 1
  798 #define HAVE_UNISTD_H 1
  804 #define HAVE_WCHAR_H 1
  807 #define HAVE_WCTYPE_H 1
  811 #define HAVE_LIBDL 1
  815 #define HAVE_LIBSOCKET 1
  837 #define _FILE_OFFSET_BITS 64
  847 #define GETCWD_BROKEN 1
  855 #define HAVE_ERRNO_H 1
  858 #define HAVE_FCNTL_H 1
  861 #define HAVE_MALLOC_H 1
  864 #define HAVE_STDIO_EXT_H 1
  867 #define HAVE_DCGETTEXT 1
  876 #define HAVE_MMAP 1
  879 #define HAVE_MUNMAP 1
  888 #define HAVE_STRCSPN 1
  891 #define HAVE_STRDUP 1
  904 #include "config-bot.h"
  906 #endif




reply via email to

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