Compiling Grep Chapter 6

David thunderbolt01 at
Mon Mar 18 12:56:11 PST 2002

Hi All,

While compiling grep-2.5 it fails with these last few lines.

dfa.c:2929: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfafree':
dfa.c:2995: `MB_CUR_MAX' undeclared (first use in this function)
make[2]: *** [dfa.o] Error 1
make[2]: Leaving directory `/usr/src/grep-2.5/src'
make[1]: *** [all recursive] Error 1
make[1]: Leaving directory `/usr/src/grep-2.5'
make: *** [all] Error 2

Any ideas what went wrong and how to fix it?
I'm using gcc-3.0.4 if it makes any difference.

Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.
ID # 123538

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list