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

Re: installation problems (ITS#392)



Which version of OpenLDAP?
What configuration flags are you using?
Which compiler are you using?
What is the value of the following environment variables:
	CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS
	(and any others that might affect your compiler and linker)


Xavier FOSSOUO <fossouo@cm.refer.org> wrote:
>Hi,
>I'm having problem compiling ldap (openldap-stable.tgz) on my
>computer,
>an
>i686-pc-linux-gnu with Redhat distribution of linux.
>
>I send you a file containing the outputs errors messages and
>warnings
>of
>the make command,
>Please help me check what's going wrong and set up the ldap on my 
>computer.
>
>Thanks
>
>Xavier
>
>
>----------------------------------------------------------------------
>In file included from ../../include/ac/signal.h:15,
>                 from go500gw.c:19:
>/usr/include/signal.h:271: warning: `struct sigcontext' declared
>inside parameter list
>/usr/include/signal.h:271: warning: its scope is only this
>definition
>or declaration,
>/usr/include/signal.h:271: warning: which is probably not what you
>want.
>/usr/include/signal.h:272: warning: `struct sigcontext' declared
>inside parameter list
>go500gw.c: In function `set_socket':
>go500gw.c:316: `SOL_SOCKET' undeclared (first use this function)
>go500gw.c:316: (Each undeclared identifier is reported only once
>go500gw.c:316: for each function it appears in.)
>go500gw.c:316: `SO_REUSEADDR' undeclared (first use this function)
>make[2]: *** [go500gw.o] Error 1
>In file included from ../../include/ac/signal.h:15,
>                 from daemon.c:14:
>/usr/include/signal.h:271: warning: `struct sigcontext' declared
>inside parameter list
>/usr/include/signal.h:271: warning: its scope is only this
>definition
>or declaration,
>/usr/include/signal.h:271: warning: which is probably not what you
>want.
>/usr/include/signal.h:272: warning: `struct sigcontext' declared
>inside parameter list
>daemon.c: In function `slapd_daemon':
>daemon.c:106: `SOL_SOCKET' undeclared (first use this function)
>daemon.c:106: (Each undeclared identifier is reported only once
>daemon.c:106: for each function it appears in.)
>daemon.c:106: `SO_REUSEADDR' undeclared (first use this function)
>daemon.c:246: `FIONBIO' undeclared (first use this function)
>make[4]: *** [daemon.o] Error 1
>make[3]: *** [all-local-srv] Error 2
>make[2]: *** [all-common] Error 2
>
>

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>