Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 08:21:00 GMT
From:      Sergey <Jam_myaso@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168331: php5-snmp
Message-ID:  <201205250821.q4P8L0gV061095@red.freebsd.org>
Resent-Message-ID: <201205250830.q4P8U5if026788@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168331
>Category:       ports
>Synopsis:       php5-snmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 25 08:30:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sergey
>Release:        FreeBSD 8.2-RELEASE
>Organization:
Edgestile
>Environment:
FreeBSD sedeu3.edgestile.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Cannot build php5-snmp:
# make install clean
===>  Building for php5-snmp-5.4.3
/bin/sh /usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/libtool --mode=compile cc  -I. -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp -DPHP_ATOM_INC -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/include -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/main -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp -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/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -O2 -pipe -fno-strict-aliasing   -c /usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c -o snmp.lo
 cc -I. -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp -DPHP_ATOM_INC -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/include -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/main -I/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp -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/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c  -fPIC -DPIC -o .libs/snmp.o
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:417: error: 'PHP_FE_END' undeclared here (not in a function)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:1945: error: expected ';', ',' or ')' before '*' token
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:1987: error: expected ';', ',' or ')' before '*' token
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2025: error: expected ';', ',' or ')' before '*' token
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2325: error: initializer element is not constant
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2325: error: (near initialization for 'php_snmp_class_methods[9].fname')
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c: In function 'zm_startup_snmp':
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2367: error: 'php_snmp_read_property' undeclared (first use in this function)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2367: error: (Each undeclared identifier is reported only once
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2367: error: for each function it appears in.)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2367: warning: assignment from incompatible pointer type
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2368: error: 'php_snmp_write_property' undeclared (first use in this function)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2368: warning: assignment from incompatible pointer type
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2369: error: 'php_snmp_has_property' undeclared (first use in this function)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2369: warning: assignment from incompatible pointer type
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c: At top level:
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2462: error: 'ZEND_MOD_END' undeclared here (not in a function)
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2463: error: initializer element is not constant
/usr/ports/net-mgmt/php5-snmp/work/php-5.4.3/ext/snmp/snmp.c:2463: error: (near initialization for 'snmp_module_deps[1].name')
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/net-mgmt/php5-snmp.
>How-To-Repeat:
#portsnap fetch
#portsnap extract
#cd /usr/ports/net-mgmt/php5-snmp
#make install clean
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205250821.q4P8L0gV061095>