|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48578 Can't build 5.3 on FBSD 4.11
Submitted: 2009-06-17 08:02 UTC Modified: 2009-06-17 16:20 UTC
From: hannes dot magnusson at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.3CVS-2009-06-17 (snap) OS: FreeBSD 4.11
Private report: No CVE-ID: None
 [2009-06-17 08:02 UTC] hannes dot magnusson at gmail dot com
/bin/sh /usr/home/bjori/php5.3-200906170630/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/home/bjori/php5.3-200906170630/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/home/bjori/php5.3-200906170630/include -I/usr/home/bjori/php5.3-200906170630/main -I/usr/home/bjori/php5.3-200906170630 -I/usr/home/bjori/php5.3-200906170630/ext/date/lib -I/usr/home/bjori/php5.3-200906170630/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/home/bjori/php5.3-200906170630/ext/sqlite3/libsqlite -I/usr/home/bjori/php5.3-200906170630/TSRM -I/usr/home/bjori/php5.3-200906170630/Zend    -I/usr/local/include -g -O2  -c /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c -o ext/fileinfo/libmagic/cdf.lo
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:35: warning: `__used__' attribute directive ignored
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c: In function `cdf_read_sat':
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: `UINT32_MAX' undeclared (first use in this function)
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: (Each undeclared identifier is reported only once
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: for each function it appears in.)
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c: In function `cdf_read_property_info':
/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:700: `UINT32_MAX' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/bjori/php5.3-200906170630.

-bash-2.05b$ uname -a
FreeBSD 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue May  3 13:17:19 EDT 2005  i386
-bash-2.05b$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

Reproduce code:
./configure && make


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-17 16:20 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 12:01:26 2019 UTC