[Date Prev][Date Next] [Chronological] [Thread] [Top]

getfilter.c Compiling Error



Greetings ALL,

I am trying to compile openldap on a Sparc 20 with SunOs 4.1.4 with gcc 2.7.2.

When doing a make I get these error:

getfilter.c: In function `ldap_init_getfilter_buf':
getfilter.c:92: `regex_t' undeclared (first use this function)
getfilter.c:92: (Each undeclared identifier is reported only once
getfilter.c:92: for each function it appears in.)
getfilter.c:92: parse error before `re'
getfilter.c:122: `re' undeclared (first use this function)
getfilter.c: In function `ldap_getfirstfilter':
getfilter.c:229: `regex_t' undeclared (first use this function)
getfilter.c:229: parse error before `re'
getfilter.c:241: `re' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `getfilter.lo'
Current working directory /opt/test/ldap/libraries/libldap
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /opt/test/ldap/libraries
*** Error code 1
make: Fatal error: Command failed for target `all-common'


Does this mean I have to install a later version of gcc, or is there a work
around?

Thanks
--------------------------------------------------------------------------
Joe Novielli  x.7703  Email: jnoviell@matrox.com
MIS Department 
Matrox Electronic Systems Inc. http://www.matrox.com 
1055 St-Régis Tel: (514) 822-6000  x. 7703
Dorval, Québec Fax: (514) 822-6262 
Canada, H9P 2T4 
--------------------------------------------------------------------------