php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17670 make fails on php4-200206091500
Submitted: 2002-06-09 20:05 UTC Modified: 2002-06-09 21:16 UTC
From: colin dot harford at mail dot su dot ualberta dot ca Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2002-06-09 OS: OpenBSD 3.1-current
Private report: No CVE-ID: None
 [2002-06-09 20:05 UTC] colin dot harford at mail dot su dot ualberta dot ca
Trying to setup with:

./configure --with-apxs2=/var/opt/apache2/bin/apxs --with-mysql=/var/opt/db/mysql/ --enable-bcmath --with-gd=php --enable-debug --with-zlib --enable-sockets

Get this error:


var_unserializer.re:273: warning: label `yy1' defined but not used
var_unserializer.re:222: warning: `marker' might be used uninitialized in this function
var_unserializer.re:237: warning: `yyaccept' might be used uninitialized in this function
/bin/sh /root/php4-200206091500/libtool --mode=compile gcc  -Iext/standard/ -I/root/php4-200206091500/ext/standard/ -DPHP_ATOM_INC -I/root/php4-200206091500/include -I/root/php4-200206091500/main -I/root/php4-200206091500 -I/opt/apache2/include -I/root/php4-200206091500/Zend -I/root/php4-200206091500/ext/gd/libgd -I/usr/local/include -I/var/opt/db/mysql//include/mysql -I/root/php4-200206091500/ext/xml/expat  -I/root/php4-200206091500/TSRM -g -O2 -pthread -Wall -DZTS  -prefer-pic -c /root/php4-200206091500/ext/standard/ftok.c -o ext/standard/ftok.lo
gcc -Iext/standard/ -I/root/php4-200206091500/ext/standard/ -DPHP_ATOM_INC -I/root/php4-200206091500/include -I/root/php4-200206091500/main -I/root/php4-200206091500 -I/opt/apache2/include -I/root/php4-200206091500/Zend -I/root/php4-200206091500/ext/gd/libgd -I/usr/local/include -I/var/opt/db/mysql//include/mysql -I/root/php4-200206091500/ext/xml/expat -I/root/php4-200206091500/TSRM -g -O2 -pthread -Wall -DZTS -c /root/php4-200206091500/ext/standard/ftok.c   -fPIC -DPIC -o ext/standard/ftok.lo
/bin/sh /root/php4-200206091500/libtool --mode=compile gcc  -Iext/standard/ -I/root/php4-200206091500/ext/standard/ -DPHP_ATOM_INC -I/root/php4-200206091500/include -I/root/php4-200206091500/main -I/root/php4-200206091500 -I/opt/apache2/include -I/root/php4-200206091500/Zend -I/root/php4-200206091500/ext/gd/libgd -I/usr/local/include -I/var/opt/db/mysql//include/mysql -I/root/php4-200206091500/ext/xml/expat  -I/root/php4-200206091500/TSRM -g -O2 -pthread -Wall -DZTS  -prefer-pic -c /root/php4-200206091500/ext/standard/aggregation.c -o ext/standard/aggregation.lo
gcc -Iext/standard/ -I/root/php4-200206091500/ext/standard/ -DPHP_ATOM_INC -I/root/php4-200206091500/include -I/root/php4-200206091500/main -I/root/php4-200206091500 -I/opt/apache2/include -I/root/php4-200206091500/Zend -I/root/php4-200206091500/ext/gd/libgd -I/usr/local/include -I/var/opt/db/mysql//include/mysql -I/root/php4-200206091500/ext/xml/expat -I/root/php4-200206091500/TSRM -g -O2 -pthread -Wall -DZTS -c /root/php4-200206091500/ext/standard/aggregation.c   -fPIC -DPIC -o ext/standard/aggregation.lo
yacc -p zend -v -d /root/php4-200206091500/Zend/zend_language_parser.y -o Zend/zend_language_parser.c
usage: yacc [-dlrtv] [-b file_prefix] [-o outputfile] [-p symbol_prefix] filename
*** Error code 1

Stop in /root/php4-200206091500 (line 363 of Makefile).


In the make file:


(361)Zend/zend_language_parser.h: Zend/zend_language_parser.c
(362)Zend/zend_language_parser.c: /root/php4-200206091500/Zend/zend_language_parser.y
(363)  $(YACC) -p zend -v -d /root/php4-200206091500/Zend/zend_language_parser.y -o $@ Zend/zend_ini



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-09 20:59 UTC] colin dot harford at mail dot su dot ualberta dot ca
had to change topic... ./configure works, make is what fails...

Sry.

CH
 [2002-06-09 21:07 UTC] mfischer@php.net
What version of yacc are you using (yacc --version should do it)
 [2002-06-09 21:10 UTC] colin dot harford at mail dot su dot ualberta dot ca
I have been able to get make to work by adding packages:

autoconf-2.52.tgz
automake-1.4-p5.tgz
bison-1.32.tgz
libtool-1.3.5p3.tgz

However, I am unable to start apache:

# /opt/apache2/bin/apachectl start
/usr/libexec/ld.so: Undefined symbol "_gdFontGiant" in httpd:/opt/apache2/modules/libphp4.so
/opt/apache2/bin/apachectl start: httpd could not be started
 [2002-06-09 21:16 UTC] colin dot harford at mail dot su dot ualberta dot ca
yacc --version does not work..

# yacc --version
usage: yacc [-dlrtv] [-b file_prefix] [-o outputfile] [-p symbol_prefix] filename

Whatever version of yacc is included with OpenBSD...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 02:00:01 2026 UTC