|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2019-09-25 10:07 UTC] cmb@php.net
 
-Assigned To:
+Assigned To: cmb
  [2019-09-25 10:07 UTC] cmb@php.net
  [2019-10-20 11:54 UTC] cmb@php.net
 
-Summary: compile error
+Summary: compile error: 'LOCK_EX' undeclared
  [2019-10-20 11:55 UTC] cmb@php.net
  [2019-10-20 11:56 UTC] cmb@php.net
 
-Status: Assigned
+Status: Closed
  [2021-04-06 10:18 UTC] git@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Thu Oct 30 03:00:01 2025 UTC | 
Description: ------------ running: make /bin/sh /tmp/pear/temp/pear-build-defaultuserPfEDnG/dbase-7.0.0/libtool --mode=compile cc -I. -I/tmp/pear/temp/dbase -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserPfEDnG/dbase-7.0.0/include -I/tmp/pear/temp/pear-build-defaultuserPfEDnG/dbase-7.0.0/main -I/tmp/pear/temp/dbase -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/dbase/dbf_head.c -o dbf_head.lo mkdir .libs cc -I. -I/tmp/pear/temp/dbase -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserPfEDnG/dbase-7.0.0/include -I/tmp/pear/temp/pear-build-defaultuserPfEDnG/dbase-7.0.0/main -I/tmp/pear/temp/dbase -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/dbase/dbf_head.c -fPIC -DPIC -o .libs/dbf_head.o /tmp/pear/temp/dbase/dbf_head.c: In function 'dbf_open': /tmp/pear/temp/dbase/dbf_head.c:343:41: error: 'LOCK_EX' undeclared (first use in this function); did you mean 'CLOCK_TAI'? if (php_flock(fd, (o_flags == O_RDWR ? LOCK_EX : LOCK_SH))) { ^~~~~~~ CLOCK_TAI /tmp/pear/temp/dbase/dbf_head.c:343:41: note: each undeclared identifier is reported only once for each function it appears in /tmp/pear/temp/dbase/dbf_head.c:343:51: error: 'LOCK_SH' undeclared (first use in this function); did you mean 'CLOCK_TAI'? if (php_flock(fd, (o_flags == O_RDWR ? LOCK_EX : LOCK_SH))) { ^~~~~~~ CLOCK_TAI /tmp/pear/temp/dbase/dbf_head.c:349:17: error: 'LOCK_UN' undeclared (first use in this function); did you mean 'CLOCK_TAI'? php_flock(fd, LOCK_UN); ^~~~~~~ CLOCK_TAI make: *** [Makefile:193: dbf_head.lo] Error 1 ERROR: `make' failed Actual result: -------------- lowest version that compiled was 7.0.0beta1