#23007 [Opn]: "`OnUpdateLong' undeclared here (not in a function)" during make
| From: | jay@php.net | Date: | Tue, 01 Apr 2003 20:27:08 +0000 |
| Subject: | #23007 [Opn]: "`OnUpdateLong' undeclared here (not in a function)" during make | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36938@lists.php.net to get a copy of this message | ||
ID: 23007
Updated by: jay@php.net
Reported By: joe at recompiled dot org
Status: Open
Bug Type: Compile Failure
Operating System: Mandrake 9.1
PHP Version: 4CVS-2003-04-01 (stable)
New Comment:
How did you pull down php4? OnUpdateLong is only in
HEAD/php5, not in the php4 branch. When you checkout php4,
make sure you use 'cvs co -r PHP_4_3 php4'.
J
Previous Comments:
------------------------------------------------------------------------
[2003-04-01 13:46:13] joe at recompiled dot org
Hi folks,
Having tons of trouble getting php4 to run on my new Mandrake 9.1
install. After getting an error I saw as fixed in cvs, I downloaded the
cvs php4 tree today and started into it. buildconf then 'configure
--with-apxs2=/usr/local/apache2/bin/apxs" then build:
===
[root@eversolej php4]# make
gcc -Iext/ctype/ -I/usr/src/programs/php4/ext/ctype/ -DPHP_ATOM_INC
-I/usr/src/programs/php4/include -I/usr/src/programs/php4/main
-I/usr/src/programs/php4 -I/usr/src/programs/php4/Zend
-I/usr/src/programs/php4/ext/xml/expat -I/usr/src/programs/php4/TSRM
-g -O2 -c /usr/src/programs/php4/ext/ctype/ctype.c -o
ext/ctype/ctype.o && echo > ext/ctype/ctype.lo
gcc -I/usr/src/programs/php4/ext/mysql/libmysql -Iext/mysql/
-I/usr/src/programs/php4/ext/mysql/ -DPHP_ATOM_INC
-I/usr/src/programs/php4/include -I/usr/src/programs/php4/main
-I/usr/src/programs/php4 -I/usr/src/programs/php4/Zend
-I/usr/src/programs/php4/ext/xml/expat -I/usr/src/programs/php4/TSRM
-g -O2 -c /usr/src/programs/php4/ext/mysql/php_mysql.c -o
ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo
/usr/src/programs/php4/ext/mysql/php_mysql.c:310: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:310: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:310: (near initialization
for `ini_entries[0].on_modify')
/usr/src/programs/php4/ext/mysql/php_mysql.c:310: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:310: (near initialization
for `ini_entries[0]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:311: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:311: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:311: (near initialization
for `ini_entries[1].on_modify')
/usr/src/programs/php4/ext/mysql/php_mysql.c:311: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:311: (near initialization
for `ini_entries[1]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:312: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:312: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:312: (near initialization
for `ini_entries[2].on_modify')
/usr/src/programs/php4/ext/mysql/php_mysql.c:312: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:312: (near initialization
for `ini_entries[2]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:313: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:313: (near initialization
for `ini_entries[3]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:314: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:314: (near initialization
for `ini_entries[4]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:315: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:315: (near initialization
for `ini_entries[5]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:316: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:316: (near initialization
for `ini_entries[6]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:317: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:317: (near initialization
for `ini_entries[7]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:318: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:318: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:318: (near initialization
for `ini_entries[8]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: `OnUpdateLong'
undeclared here (not in a function)
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: (near initialization
for `ini_entries[9].on_modify')
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:319: (near initialization
for `ini_entries[9]')
/usr/src/programs/php4/ext/mysql/php_mysql.c:320: initializer element
is not constant
/usr/src/programs/php4/ext/mysql/php_mysql.c:320: (near initialization
for `ini_entries[10]')
make: *** [ext/mysql/php_mysql.lo] Error 1
===
php5 from cvs builds just fine on the same box, so, I dunno if it's
something I'm doing wrong or a real bug... so, here you go. Let me know
if there's any info I can give you guys.
Thanks for everything you do! --je
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23007&edit=1