Patrick Lin wrote:
> 
> hi,
> i try to compil 2.0.13 on RH 7.0
> and i get this
> in the same machine 2.0.12 compil like a charm
> 
> gcc -c -I. -I.. -I. -I./../lib -I./../et -Iyes/include
> -I/usr/local/include  -I/usr/local/include  -DHAVE_CONFIG_H -I. -I. -g
> -O2 \
> comparator.c
> In file included from comparator.h:35,
>                  from comparator.c:37:
> /usr/include/regex.h:252:22: warning: "REG_EXTENDED" redefined
> /usr/local/include/hsregex.h:43:1: warning: this is the location of the
> previous definition

First, none of this code has changed since 1.6.25 (I wrote it).  Second,
I just compile 2.0.13 on my RH 7.0 notebook without any problems.  Your
problem is that /usr/local/include/hsregex.h is being included for some
reason and you don't need and/or want it.

Questions:

Are you using the exact some configuration settings for compiling both
2.0.12 and 2.0.13?

Did you just recently install a package which added
/usr/local/include/hsregex.h (I don't have any such animal on my RH 7.0
notebook)?

Can you check to see what .h file(s) is including it (neither configure
or the source looks for it directly)?

The bottom line is that you want to get /usr/local/include/hsregex.h out
of your includes.

Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to