INN (2.2.1 and 2.2.2) compile problms

Dominique Kindt dominique.kindt at ufsia.ac.be
Wed Dec 15 08:36:24 UTC 1999


Sir,

While compiling INN (with gcc 2.95.2 and perl 5.00503) I constantly get this
error (both on versions 2.2.1 and 2.2.2)

gcc -I../include  -g -O2 -I/usr/lib/perl5/5.00503/i686-linux/CORE    -c
art.c
art.c: In function `ARTmakekeys':
art.c:1856: syntax error before `preg'
art.c:1873: `preg' undeclared (first use in this function)
art.c:1873: (Each undeclared identifier is reported only once
art.c:1873: for each function it appears in.)
art.c:1873: `REG_ICASE' undeclared (first use in this function)
art.c:1873: `REG_NOSUB' undeclared (first use in this function)
make: *** [art.o] Error 1

I cannot see what is wrong (I vi'ed the code) and there seems to be no
systax error at all!

<<

/* ---------------------------------------------------------------- */
    /* Prototype setup: Regex match preparation. */
    static      int     regex_lib_init = 0;
    static      regex_t preg;
    static      char    *elim_regexp =
"^\\([-+/0-9][-+/0-9]*\\|.*1st\\.............
>>


Could you please tell me what is wrong?

regards
__________________________________________________________

Dominique Kindt
System administrator - Webmaster
Group Hardware en Infrastructure
Computer Support Services - UFSIA - University of Antwerp
Prinsstraat 10
2000 Antwerpen

email: Dominique.Kindt at ufsia.ac.be
tel: 03/220.48.34
fax: 03/220.48.30
web: http://www.ufsia.ac.be



More information about the inn-workers mailing list