[PHP-users 11102] Re: php-4.2.1のインストールについて

Shuzo Aratani php-users@php.gr.jp
Fri, 25 Oct 2002 18:52:54 +0900


こんばんわ。
あらたにです。

先日過去ログを検索したところ、過去ログに同様のエラーが発生しており、
そこに記載されたアドバイスに従って対処すると、同じエラーは出なくなりました。
ありがとうございます、加藤さん。

しかし、また、./buildconf、./configure、makeを行なったところ、次のようなエ
ラーが発生しました。

以下、そのエラーです。

なお、途中は省略しています。

Making all in ldap
gcc -I. -I/usr/local/src/php-4.2.1/ext/ldap -I/usr/local/src/php-4.2.1/main 
-I/u
sr/local/src/php-4.2.1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/mozi
lla/
dist/SunOS5.7_sparc_DBG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/lib
mysq
l -I/usr/local/pgsql/include -I/usr/local/src/php-4.2.1/ext/xml/expat  -D_PO
SIX_
PTHREAD_SEMANTICS -I/usr/local/src/php-4.2.1/TSRM -g -O2  -c ldap.c && touch
lda
p.lo
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2084,
                 from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
                 from /usr/local/src/php-4.2.1/Zend/zend.h:48,
                 from /usr/local/src/php-4.2.1/main/php.h:34,
                 from ldap.c:32:
/usr/include/stdlib.h:60: warning: empty declaration
In file included from
/usr/local/src/php-4.2.1/Zend/../main/php_config.h:2088,
                 from /usr/local/src/php-4.2.1/Zend/zend_config.h:1,
                 from /usr/local/src/php-4.2.1/Zend/zend.h:48,
                 from /usr/local/src/php-4.2.1/main/php.h:34,
                 from ldap.c:32:
/usr/include/sys/types.h:339: warning: empty declaration
/usr/include/sys/types.h:475: warning: empty declaration
/usr/include/sys/types.h:476: warning: empty declaration
ldap.c: In function `_get_lderrno':
ldap.c:448: dereferencing pointer to incomplete type
ldap.c: In function `php_set_opts':
ldap.c:531: dereferencing pointer to incomplete type
ldap.c:540: dereferencing pointer to incomplete type
ldap.c:549: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `ldap.lo'
Current working directory /usr/local/src/php-4.2.1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.2.1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.2.1/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

度々申し訳ありませんが、アドバイス頂けませんか?
よろしくお願い致します。