GNU bug report logs - #18454
Improve performance when -P (PCRE) is used in UTF-8 locales

Previous Next

Package: grep;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 12 Sep 2014 01:26:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 18454 <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Vincent Lefevre <vincent <at> vinc17.net>, 18454 <at> debbugs.gnu.org
Subject: Re: bug#18454: Improve performance when -P (PCRE) is used in UTF-8
 locales
Date: Wed, 17 Sep 2014 23:17:50 +0900
Thanks for many improvements.  I applied six patches to grep and tried to
compile it, but after the sixth patch, I recevied 'SEEK_DATA' undeclared
error.  I looked for it on CentOS 5.10, but I couldn't find it in standard
header files (glibc 2.5.1) and gnulib files.

==
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib    -g -O2 -MT
searchutils.o -MD -MP -MF $depbase.Tpo -c -o searchutils.o  searchutils.c && \
mv -f $depbase.Tpo $depbase.Po
grep.c: In function 'fillbuf':
grep.c:718: error: 'SEEK_DATA' undeclared (first use in this function)
grep.c:718: error: (Each undeclared identifier is reported only once
grep.c:718: error: for each function it appears in.)
Makefile:1309: recipe for target 'grep.o' failed
make[2]: *** [grep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/b/grep-2.20/src'
Makefile:1238: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/b/grep-2.20'
Makefile:1179: recipe for target 'all' failed
make: *** [all] Error 2





This bug report was last modified 3 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.