php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3971 Compile Failure with --with-snmp
Submitted: 2000-03-29 18:45 UTC Modified: 2000-04-01 23:59 UTC
From: jaime at wheelman dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (29/03/2000) OS: FreeBSD 3.4-stable
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jaime at wheelman dot org
New email:
PHP Version: OS:

 

 [2000-03-29 18:45 UTC] jaime at wheelman dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-01 23:59 UTC] sterling at cvs dot php dot net
Fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Feb 06 16:00:02 2026 UTC