[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4674) openldap-stable-20060823 build fails on old Linux
Wow, that's about 9 years old. It was obsolete before the OpenLDAP
Project even existed.
You can safely workaround this:
#ifndef MSG_WAITALL
#define MSG_WAITALL 0
#endif
alguibert+bts@free.fr wrote:
> Full_Name: Alain Guibert
> Version: stable-20060823
> OS: Linux 2.0.40
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (84.7.238.96)
>
>
> Hello,
>
> On my old Linux box (Intel Pentium 200 MMX, Debian bo, kernel 2.0.40,
> gcc 2.7.2.1, libc 5.4.33, GNU ld cygnus-2.7.1) during OpenLDAP 2.3.27
> stable-20060823 build, make fails:
>
> | cc -g -O2 -I../../include -I../../include -c getpeereid.c -o
> getpeereid.o
> | getpeereid.c: In function `getpeereid':
> | getpeereid.c:106: warning: assignment makes pointer from integer without a
> cast
> | getpeereid.c:113: `MSG_WAITALL' undeclared (first use this function)
> | getpeereid.c:113: (Each undeclared identifier is reported only once
> | getpeereid.c:113: for each function it appears in.)
> | make[2]: *** [getpeereid.o] Error 1
> | make[2]: Leaving directory `/tmp/openldap-2.3.27/libraries/liblutil'
> | make[1]: *** [all-common] Error 1
> | make[1]: Leaving directory `/tmp/openldap-2.3.27/libraries'
> | make: *** [all-common] Error 1
>
>
> There is also a serie of harmless warnings about FD_SETSIZE redefinition:
>
> | cc -g -O2 -I../../include -I../../include -c csn.c -o csn.o
> | In file included from /usr/include/sys/time.h:6,
> | from ../../include/ac/time.h:21,
> | from csn.c:47:
> | /usr/include/linux/time.h:29: warning: `FD_SETSIZE' redefined
> | ../../include/ac/fdset.h:38: warning: this is the location of the previous
> definition
>
>
> Alain.
>
>
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/