From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 19:11:51 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B36416A402 for ; Thu, 12 Apr 2007 19:11:51 +0000 (UTC) (envelope-from andy@brightpla.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 51CF713C4BD for ; Thu, 12 Apr 2007 19:11:51 +0000 (UTC) (envelope-from andy@brightpla.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 391C5217561; Thu, 12 Apr 2007 14:50:59 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 12 Apr 2007 14:50:55 -0400 X-Sasl-enc: ogzefUTCb4xSJ7DhP57CVQNxQrRIB6Iahb4kKVpVa5EG 1176403854 Received: from [192.168.12.207] (host2.bright.cust.sover.net [209.198.64.106]) by mail.messagingengine.com (Postfix) with ESMTP id 38F3FA65; Thu, 12 Apr 2007 14:50:54 -0400 (EDT) Message-ID: <461E7F8E.7050802@brightpla.net> Date: Thu, 12 Apr 2007 14:50:54 -0400 From: Andy Rossmeissl User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: ale@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: php5-ldap-5.2.1_3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 19:11:51 -0000 Hi Alex, When installing the php5-ldap extension from ports I receive the following: ===> Building for php5-ldap-5.2.1_3 /bin/sh /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/libtool --mode=compile cc -DLDAP_DEPRECATED=1 -I. -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -DPHP_ATOM_INC -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/include -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/main -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -funroll-loops -march=pentium4 -c /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c -o ldap.lo mkdir .libs cc -DLDAP_DEPRECATED=1 -I. -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -DPHP_ATOM_INC -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/include -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/main -I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -funroll-loops -march=pentium4 -c /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c -fPIC -DPIC -o .libs/ldap.o /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:81: warning: parameter names (without types) in function declaration /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: `ldap' undeclared here (not in a function) /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: initializer element is not constant /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: (near initialization for `ldap_module_entry.post_deactivate_func') /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:182: error: initializer element is not constant /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:182: error: (near initialization for `ldap_module_entry.globals_id') /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:183: warning: initialization makes integer from pointer without a cast /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:184: warning: initialization makes integer from pointer without a cast /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: excess elements in struct initializer /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: (near initialization for `ldap_module_entry') /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: excess elements in struct initializer /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: (near initialization for `ldap_module_entry') /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:186: warning: excess elements in struct initializer /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:186: warning: (near initialization for `ldap_module_entry') /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c: In function `PHP_GINIT_FUNCTION': /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:234: error: invalid type argument of `->' *** Error code 1 Stop in /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap. *** Error code 1 Any ideas? Thanks, Andy -- Andy Rossmeissl Principal, Bright Planet 36 Main Street, Middlebury, VT 05753 aim: brightplanetandy office: (800) 442-1521 cell: (802) 989-5015 http://brightpla.net