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

(ITS#7281) [cxx sasl] Gentoo build 2.4.31-r1 gcc-4.7 SaslInteractionHandler.cpp



Full_Name: David Kredba
Version: 2.4.31
OS: GNU/Linux-3.4.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (94.112.13.17)


make[2]: Entering directory
`/var/tmp/portage/net-nds/openldap-2.4.31-r1/work/openldap-2.4.31/contrib/ldapc++/src'
/bin/sh ../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I.   -I../../include  -I/usr/include/db4.8
-DLDAP_CONNECTIONLESS -I../../../include   -O2 -pipe -ggdb -march=native
-D_GNU_SOURCE -c -o SaslInteractionHandler.lo SaslInteractionHandler.cpp
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include
-I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -I../../../include -O2 -pipe -ggdb
-march=native -D_GNU_SOURCE -c SaslInteractionHandler.cpp  -fPIC -DPIC -o
.libs/SaslInteractionHandler.o
SaslInteractionHandler.cpp: In member function ‘virtual void
DefaultSaslInteractionHandler::handleInteractions(const
std::list<SaslInteraction*>&)&#8217;:
SaslInteractionHandler.cpp:56:27: error: &#8216;STDIN_FILENO&#8217; was not
declared in this scope
SaslInteractionHandler.cpp:67:27: error: &#8216;STDIN_FILENO&#8217; was not
declared in this scope
SaslInteractionHandler.cpp:85:23: error: &#8216;STDIN_FILENO&#8217; was not
declared in this scope
make[2]: *** [SaslInteractionHandler.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-nds/openldap-2.4.31-r1/work/openldap-2.4.31/contrib/ldapc++/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/net-nds/openldap-2.4.31-r1/work/openldap-2.4.31/contrib/ldapc++/src'
make: *** [all-recursive] Error 1
 * ERROR: net-nds/openldap-2.4.31-r1 failed (compile phase):
 *   emake failed

I tried to add someof Google suggested header files (unistd.h etc) but no luck.

Thank you.