This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/21365] New: libiberty/regex.c:49:25: error: sys/types.h: No such file or directory


This is BASH 2.05b - DISPLAY on
Tue May  3 11:29:07 PST 2005
bash-2.05b$ cd f:/temp/obj1/
bash-2.05b$ ls
Makefile               config.cache  config.status*  gcc/   libcpp/     
multilib.out  sh3-elf/
build-i686-pc-cygwin/  config.log    fixincludes/    intl/  libiberty/  
serdep.tmp
bash-2.05b$ make all
make[1]: Entering directory `/cygdrive/f/temp/obj1/libiberty'
make[2]: Entering directory `/cygdrive/f/temp/obj1/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/f/temp/obj1/libiberty/testsuite'
make[1]: Leaving directory `/cygdrive/f/temp/obj1/libiberty'
make[1]: Entering directory `/cygdrive/f/temp/obj1/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/f/temp/obj1/fixincludes'
make[1]: Entering directory `/cygdrive/f/temp/obj1/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/f/temp/obj1/intl'
make[1]: Entering directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/libiberty'
make[2]: Entering directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/libiberty/testsuite'
make[1]: Leaving directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/libiberty'
make[1]: Entering directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/f/temp/obj1/build-i686-pc-
cygwin/fixincludes'
make[1]: Entering directory `/cygdrive/f/temp/obj1/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/cygdrive/f/temp/obj1/libcpp'
make[1]: Entering directory `/cygdrive/f/temp/obj1/gcc'
if [ -f fixhdr.ready ] ; then \
        true; \
else \
        echo timestamp > fixhdr.ready; \
fi
make \
  CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes  -fno-common " \
  CONFIG_H="config.h  auto-host.h .././../gcc-4.1-
20050424/gcc/../include/ansidecl.h .././../gcc-4.1-20050424/gcc/config
/i386/xm-cygwin.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/cygdrive/f/temp/obj1/gcc'
make GCC_FOR_TARGET="/cygdrive/f/temp/obj1/./gcc/xgcc -
B/cygdrive/f/temp/obj1/./gcc/ -B/superH/sh3-elf/bin/ -B/superH/sh
3-elf/lib/ -isystem /superH/sh3-elf/include -isystem /superH/sh3-elf/sys-
include" \
  AR_FOR_TARGET="sh3-elf-ar" \
  AR_CREATE_FOR_TARGET="sh3-elf-ar  rc" \
  AR_EXTRACT_FOR_TARGET="sh3-elf-ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes  -fno-common " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="loser-" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wol
d-style-definition  -isystem ./include   -g  -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc "  \
  MULTILIB_CFLAGS="" T= crt1.o crti.o crtn.o crtbegin.o crtend.o crtbeginS.o 
crtendS.o
make[3]: Entering directory `/cygdrive/f/temp/obj1/gcc'
make[3]: `crti.o' is up to date.
make[3]: `crtn.o' is up to date.
make[3]: `crtend.o' is up to date.
make[3]: `crtbeginS.o' is up to date.
make[3]: `crtendS.o' is up to date.
make[3]: Leaving directory `/cygdrive/f/temp/obj1/gcc'
make[2]: Leaving directory `/cygdrive/f/temp/obj1/gcc'
echo timestamp > stmp-multilib
make[1]: Leaving directory `/cygdrive/f/temp/obj1/gcc'
Checking multilib configuration...
multilib.out is unchanged
make[1]: Entering directory `/cygdrive/f/temp/obj1/sh3-elf/libiberty'
if [ x"" != x ]; then \
  /cygdrive/f/temp/obj1/./gcc/xgcc -B/cygdrive/f/temp/obj1/./gcc/ -B/superH/sh3-
elf/bin/ -B/superH/sh3-elf/lib/ -isystem
 /superH/sh3-elf/include -isystem /superH/sh3-elf/sys-include -c -
DHAVE_CONFIG_H -O2 -g -O2  -I. -I../.././../gcc-4.1-20
050424/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-
prototypes  ../.././../gcc-4.1-20050424/libiber
ty/regex.c -o pic/regex.o; \
else true; fi
/cygdrive/f/temp/obj1/./gcc/xgcc -B/cygdrive/f/temp/obj1/./gcc/ -B/superH/sh3-
elf/bin/ -B/superH/sh3-elf/lib/ -isystem /
superH/sh3-elf/include -isystem /superH/sh3-elf/sys-include -c -DHAVE_CONFIG_H -
O2 -g -O2  -I. -I../.././../gcc-4.1-2005
0424/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-
prototypes ../.././../gcc-4.1-20050424/libiberty/
regex.c -o regex.o
../.././../gcc-4.1-20050424/libiberty/regex.c:49:25: error: sys/types.h: No 
such file or directory
../.././../gcc-4.1-20050424/libiberty/regex.c:128: warning: function 
declaration isn't a prototype
../.././../gcc-4.1-20050424/libiberty/regex.c:128: warning: conflicting types 
for built-in function 'malloc'
../.././../gcc-4.1-20050424/libiberty/regex.c:129: warning: function 
declaration isn't a prototype
../.././../gcc-4.1-20050424/libiberty/regex.c:156:25: error: strings.h: No such 
file or directory
In file included from ../.././../gcc-4.1-
20050424/libiberty/../include/xregex.h:26,
                 from ../.././../gcc-4.1-20050424/libiberty/regex.c:191:
../.././../gcc-4.1-20050424/libiberty/../include/xregex2.h:357: error: expected 
specifier-qualifier-list before 'size_t'

../.././../gcc-4.1-20050424/libiberty/../include/xregex2.h:444: error: expected 
declaration specifiers or '...' before '
size_t'
../.././../gcc-4.1-20050424/libiberty/../include/xregex2.h:537: error: expected 
declaration specifiers or '...' before '
size_t'
../.././../gcc-4.1-20050424/libiberty/../include/xregex2.h:538: warning: ISO 
C90 does not support 'static' or type quali
fiers in parameter array declarators
../.././../gcc-4.1-20050424/libiberty/../include/xregex2.h:541: error: 
expected '=', ',', ';', 'asm' or '__attribute__'
before 'xregerror'
../.././../gcc-4.1-20050424/libiberty/regex.c:194:20: error: ctype.h: No such 
file or directory
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'init_syntax_once':
../.././../gcc-4.1-20050424/libiberty/regex.c:282: warning: implicit 
declaration of function 'bzero'
../.././../gcc-4.1-20050424/libiberty/regex.c:282: warning: incompatible 
implicit declaration of built-in function 'bzer
o'
../.././../gcc-4.1-20050424/libiberty/regex.c:285: warning: implicit 
declaration of function 'isalnum'
../.././../gcc-4.1-20050424/libiberty/regex.c: At top level:
../.././../gcc-4.1-20050424/libiberty/regex.c:406: error: expected declaration 
specifiers or '...' before 'size_t'
In file included from ../.././../gcc-4.1-20050424/libiberty/regex.c:636:
../.././../gcc-4.1-20050424/libiberty/regex.c:2281: error: expected declaration 
specifiers or '...' before 'size_t'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'byte_regex_compile':
../.././../gcc-4.1-20050424/libiberty/regex.c:2316: error: 'size' undeclared 
(first use in this function)
../.././../gcc-4.1-20050424/libiberty/regex.c:2316: error: (Each undeclared 
identifier is reported only once
../.././../gcc-4.1-20050424/libiberty/regex.c:2316: error: for each function it 
appears in.)
../.././../gcc-4.1-20050424/libiberty/regex.c:2399: error: 'struct 
re_pattern_buffer' has no member named 'fastmap_accur
ate'
../.././../gcc-4.1-20050424/libiberty/regex.c:2400: error: 'struct 
re_pattern_buffer' has no member named 'not_bol'
../.././../gcc-4.1-20050424/libiberty/regex.c:2400: error: 'struct 
re_pattern_buffer' has no member named 'not_eol'
../.././../gcc-4.1-20050424/libiberty/regex.c:2408: error: 'struct 
re_pattern_buffer' has no member named 're_nsub'
../.././../gcc-4.1-20050424/libiberty/regex.c:2437: warning: implicit 
declaration of function 'free'
../.././../gcc-4.1-20050424/libiberty/regex.c:3122: warning: incompatible 
implicit declaration of built-in function 'bze
ro'
../.././../gcc-4.1-20050424/libiberty/regex.c:3251: warning: implicit 
declaration of function 'strcmp'
../.././../gcc-4.1-20050424/libiberty/regex.c:3278: warning: implicit 
declaration of function 'isalpha'
../.././../gcc-4.1-20050424/libiberty/regex.c:3280: warning: implicit 
declaration of function 'iscntrl'
../.././../gcc-4.1-20050424/libiberty/regex.c:3282: warning: implicit 
declaration of function 'isdigit'
../.././../gcc-4.1-20050424/libiberty/regex.c:3283: warning: implicit 
declaration of function 'isprint'
../.././../gcc-4.1-20050424/libiberty/regex.c:3283: warning: implicit 
declaration of function 'isspace'
../.././../gcc-4.1-20050424/libiberty/regex.c:3284: warning: implicit 
declaration of function 'islower'
../.././../gcc-4.1-20050424/libiberty/regex.c:3287: warning: implicit 
declaration of function 'ispunct'
../.././../gcc-4.1-20050424/libiberty/regex.c:3289: warning: implicit 
declaration of function 'isupper'
../.././../gcc-4.1-20050424/libiberty/regex.c:3290: warning: implicit 
declaration of function 'isxdigit'
../.././../gcc-4.1-20050424/libiberty/regex.c:3655: error: 'struct 
re_pattern_buffer' has no member named 're_nsub'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'byte_compile_range':
../.././../gcc-4.1-20050424/libiberty/regex.c:4485: warning: signed and 
unsigned type in conditional expression
../.././../gcc-4.1-20050424/libiberty/regex.c:4495: warning: signed and 
unsigned type in conditional expression
../.././../gcc-4.1-20050424/libiberty/regex.c:4495: warning: signed and 
unsigned type in conditional expression
../.././../gcc-4.1-20050424/libiberty/regex.c: In 
function 'byte_re_compile_fastmap':
../.././../gcc-4.1-20050424/libiberty/regex.c:4580: warning: incompatible 
implicit declaration of built-in function 'bze
ro'
../.././../gcc-4.1-20050424/libiberty/regex.c:4581: error: 'struct 
re_pattern_buffer' has no member named 'fastmap_accur
ate'
../.././../gcc-4.1-20050424/libiberty/regex.c:4582: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:4591: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:4616: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:4694: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:4788: warning: implicit 
declaration of function 'bcopy'
../.././../gcc-4.1-20050424/libiberty/regex.c:4788: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:4795: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:4833: warning: implicit 
declaration of function 'abort'
../.././../gcc-4.1-20050424/libiberty/regex.c:4833: warning: incompatible 
implicit declaration of built-in function 'abo
rt'
../.././../gcc-4.1-20050424/libiberty/regex.c:4848: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'byte_re_search_2':
../.././../gcc-4.1-20050424/libiberty/regex.c:5044: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:5064: error: 'struct 
re_pattern_buffer' has no member named 'fastmap_accur
ate'
../.././../gcc-4.1-20050424/libiberty/regex.c:5150: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c:5189: error: 'struct 
re_pattern_buffer' has no member named 'can_be_null'
../.././../gcc-4.1-20050424/libiberty/regex.c: In 
function 'byte_re_match_2_internal':
../.././../gcc-4.1-20050424/libiberty/regex.c:5610: error: 'size_t' undeclared 
(first use in this function)
../.././../gcc-4.1-20050424/libiberty/regex.c:5610: error: expected ';' 
before 'num_regs'
../.././../gcc-4.1-20050424/libiberty/regex.c:5613: warning: ISO C90 forbids 
mixed declarations and code
../.././../gcc-4.1-20050424/libiberty/regex.c:5689: error: 'struct 
re_pattern_buffer' has no member named 're_nsub'
../.././../gcc-4.1-20050424/libiberty/regex.c:5691: error: 'num_regs' 
undeclared (first use in this function)
../.././../gcc-4.1-20050424/libiberty/regex.c:5973: error: 'struct 
re_pattern_buffer' has no member named 'no_sub'
../.././../gcc-4.1-20050424/libiberty/regex.c:5976: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c:5988: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c:5990: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c:6745: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:6810: warning: implicit 
declaration of function 'bcmp'
../.././../gcc-4.1-20050424/libiberty/regex.c:6829: error: 'struct 
re_pattern_buffer' has no member named 'not_bol'
../.././../gcc-4.1-20050424/libiberty/regex.c:6831: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:6845: error: 'struct 
re_pattern_buffer' has no member named 'not_eol'
../.././../gcc-4.1-20050424/libiberty/regex.c:6850: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:6899: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:6956: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:7019: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:7185: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:7198: warning: incompatible 
implicit declaration of built-in function 'bco
py'
../.././../gcc-4.1-20050424/libiberty/regex.c:7419: warning: incompatible 
implicit declaration of built-in function 'abo
rt'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xre_set_registers':
../.././../gcc-4.1-20050424/libiberty/regex.c:4892: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c:4899: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c: At top level:
../.././../gcc-4.1-20050424/libiberty/regex.c:7763: error: expected declaration 
specifiers or '...' before 'size_t'
../.././../gcc-4.1-20050424/libiberty/regex.c: In 
function 'xre_compile_pattern':
../.././../gcc-4.1-20050424/libiberty/regex.c:7770: error: 'struct 
re_pattern_buffer' has no member named 'regs_allocate
d'
../.././../gcc-4.1-20050424/libiberty/regex.c:7775: error: 'struct 
re_pattern_buffer' has no member named 'no_sub'
../.././../gcc-4.1-20050424/libiberty/regex.c:7778: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:7785: error: 'length' undeclared 
(first use in this function)
../.././../gcc-4.1-20050424/libiberty/regex.c:7785: warning: passing argument 3 
of 'byte_regex_compile' makes pointer fr
om integer without a cast
../.././../gcc-4.1-20050424/libiberty/regex.c:7785: error: too many arguments 
to function 'byte_regex_compile'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xre_comp':
../.././../gcc-4.1-20050424/libiberty/regex.c:7817: warning: return discards 
qualifiers from pointer target type
../.././../gcc-4.1-20050424/libiberty/regex.c:7837: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:7844: warning: implicit 
declaration of function 'strlen'
../.././../gcc-4.1-20050424/libiberty/regex.c:7844: warning: incompatible 
implicit declaration of built-in function 'str
len'
../.././../gcc-4.1-20050424/libiberty/regex.c:7844: warning: passing argument 3 
of 'byte_regex_compile' makes pointer fr
om integer without a cast
../.././../gcc-4.1-20050424/libiberty/regex.c:7844: error: too many arguments 
to function 'byte_regex_compile'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xre_exec':
../.././../gcc-4.1-20050424/libiberty/regex.c:7860: warning: incompatible 
implicit declaration of built-in function 'str
len'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xregcomp':
../.././../gcc-4.1-20050424/libiberty/regex.c:7934: warning: implicit 
declaration of function 'tolower'
../.././../gcc-4.1-20050424/libiberty/regex.c:7945: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:7948: error: 'struct 
re_pattern_buffer' has no member named 'newline_ancho
r'
../.././../gcc-4.1-20050424/libiberty/regex.c:7950: error: 'struct 
re_pattern_buffer' has no member named 'no_sub'
../.././../gcc-4.1-20050424/libiberty/regex.c:7959: warning: incompatible 
implicit declaration of built-in function 'str
len'
../.././../gcc-4.1-20050424/libiberty/regex.c:7959: warning: passing argument 3 
of 'byte_regex_compile' makes pointer fr
om integer without a cast
../.././../gcc-4.1-20050424/libiberty/regex.c:7959: error: too many arguments 
to function 'byte_regex_compile'
../.././../gcc-4.1-20050424/libiberty/regex.c: At top level:
../.././../gcc-4.1-20050424/libiberty/regex.c:8000: error: expected declaration 
specifiers or '...' before 'size_t'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xregexec':
../.././../gcc-4.1-20050424/libiberty/regex.c:8006: warning: incompatible 
implicit declaration of built-in function 'str
len'
../.././../gcc-4.1-20050424/libiberty/regex.c:8007: error: 'struct 
re_pattern_buffer' has no member named 'no_sub'
../.././../gcc-4.1-20050424/libiberty/regex.c:8007: error: 'nmatch' undeclared 
(first use in this function)
../.././../gcc-4.1-20050424/libiberty/regex.c:8011: error: 'regex_t' has no 
member named 'not_bol'
../.././../gcc-4.1-20050424/libiberty/regex.c:8012: error: 'regex_t' has no 
member named 'not_eol'
../.././../gcc-4.1-20050424/libiberty/regex.c:8017: error: 'regex_t' has no 
member named 'regs_allocated'
../.././../gcc-4.1-20050424/libiberty/regex.c: At top level:
../.././../gcc-4.1-20050424/libiberty/regex.c:8063: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before 'xreg
error'
../.././../gcc-4.1-20050424/libiberty/regex.c: In function 'xregfree':
../.././../gcc-4.1-20050424/libiberty/regex.c:8119: error: 'struct 
re_pattern_buffer' has no member named 'fastmap_accur
ate'
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/cygdrive/f/temp/obj1/sh3-elf/libiberty'
make: *** [all-target-libiberty] Error 2
bash-2.05b$


Where am I suppose to include <sys/types.h> from?
Which package is suppose to install <sys/types.h>?

-- 
           Summary: libiberty/regex.c:49:25: error: sys/types.h: No such
                    file or directory
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yuri_you2003 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: cygwin
GCC target triplet: sh3-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21365


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]