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

2005-05-03 Thread yuri_you2003 at yahoo dot com

--- Additional Comments From yuri_you2003 at yahoo dot com  2005-05-04 
02:29 ---
Subject: Re:  libiberty/regex.c:49:25: error: sys/types.h: No such file or 
directory

What is a combined build?

--- pinskia at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
> 
> --- Additional Comments From pinskia at gcc dot
> gnu dot org  2005-05-04 01:27 ---
> (In reply to comment #2)
> 
> Oh you need to do a combine build.
> 
> -- 
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21365
> 
> --- You are receiving this mail because: ---
> You reported the bug, or are watching the reporter.
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 


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


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

2005-05-03 Thread yuri_you2003 at yahoo dot com

--- Additional Comments From yuri_you2003 at yahoo dot com  2005-05-03 
19:56 ---
Subject: Re:  libiberty/regex.c:49:25: error: sys/types.h: No such file or 
directory


The failure is not on the cygwin compiler,
I believe the missing headers are not part of the
standard gcc headers.

The gcc package compiles libiberty twice,
once in the directory ./libiberty using the gcc
from cygwin, and once in ./sh3-elf/libiberty,
in this second compilation it uses the xgcc compiler,
the executable was just build as part of the gcc
package. As such I would expect the headers to be
a part of the newly compiled gcc.

I can find the missing header file names in the source
directory 'fixincludes', but these headers do not go
anywhere, they just stay there. It seems there is
something wrong with the 'fixincludes' directory

--- pinskia at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
> 
> --- Additional Comments From pinskia at gcc dot
> gnu dot org  2005-05-03 19:09 ---
> This area in the file has not changed in a while.
> I would assume it would be included with the
> standard headers.
> Anyways this is either a bug in cygwin's installer
> or your install of cygwin.
> 
> -- 
>What|Removed
> |Added
>

>  Status|UNCONFIRMED
> |RESOLVED
>  Resolution|   
> |WORKSFORME
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21365
> 
> --- You are receiving this mail because: ---
> You reported the bug, or are watching the reporter.
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 


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


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

2005-05-03 Thread yuri_you2003 at yahoo dot com
'
../.././../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  from?
Which package is suppose to install ?

-- 
   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