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

Compiling 1.2.1 with egcs 2.91.60



I'm getting errors compiling openldap:

macro `strdup' used without args

This compiles okay on an older box (egcs 2.7'ish), but the box I'm trying now is newer: glibc 2.1 based, egcs 2.91.60.

It seems to be the re-definition of strdup in include/ac/string.h on line 54.

Getting rid of this line seems to get past the strdup errors for me.

-Trevor