PHP 4.0 Bug #3971: Compile Failure with --with-snmp
| From: | jaime at wheelman dot org | Date: | Wed, 29 Mar 2000 23:45:20 +0000 |
| Subject: | PHP 4.0 Bug #3971: Compile Failure with --with-snmp | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17368@lists.php.net to get a copy of this message | ||
From: jaime@wheelman.org
Operating system: FreeBSD 3.4-stable
PHP version: 4.0 Latest CVS (29/03/2000)
PHP Bug Type: Compile Failure
Bug description: Compile Failure with --with-snmp
Note - Building with php4-latest from today (03291445). Did not have problems compiling (same
configure) with a previous php4-latest
Running ucd-snmp 4.0.1
My configure:
./configure --with-config-file-path=/usr/local/etc/php --enable-safe-mode --disable-debug
--with-exec-dir=/usr/local/etc/php/bin --with-apxs --with-mod_charset --with-ftp
--with-gd=/usr/local --with-imap --enable-trans-sid --enable-ucd-snmp-hack --with-regex=apache
--enable-sysvsem --enable-sysvshm --enable-wddx --enable-xml --with-gdbm=/usr/local --with-ndbm
--with-dbase --with-mm --with-tsrm-pthreads --with-openssl --with-jpeg-dir=/usr/local --with-mysql
--with-zlib=/usr --with-snmp --enable-memory-limit
gmake output: (snmp part)
Making all in snmp
gmake[2]: Entering directory `/data/work/web/php4-200003291445/ext/snmp'
gmake[3]: Entering directory `/data/work/web/php4-200003291445/ext/snmp'
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/data/work/web/php4-200003291445/ext/snmp -I../.. -I../../Zend -I/data/work/web/php4-200003291445
-I/data/apache/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/gd
-I/data/work/web/php4-200003291445/ext/mysql/libmysql -I/usr/local/include/ucd-snmp
-I/data/work/web/php4-200003291445/ext/xml/expat/xmltok
-I/data/work/web/php4-200003291445/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -D_REENTRANT
-D_THREAD_SAFE -g -O2 -c snmp.c
snmp.c: In function `php_if_snmp_set_quick_print':
snmp.c:366: parse error before `int'
snmp.c:367: `set_val' undeclared (first use this function)
snmp.c:367: (Each undeclared identifier is reported only once
snmp.c:367: for each function it appears in.)
gmake[3]: *** [snmp.lo] Error 1
gmake[3]: Leaving directory `/data/work/web/php4-200003291445/ext/snmp'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/data/work/web/php4-200003291445/ext/snmp'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/data/work/web/php4-200003291445/ext'
gmake: *** [all-recursive] Error 1