php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17946 'MessagePack' undeclared
Submitted: 2002-06-24 09:44 UTC Modified: 2002-06-25 13:13 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dirkjan at arago dot utwente dot nl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0CVS-2002-06-24 OS: Linux 2.4.18/Debian unstable
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: dirkjan at arago dot utwente dot nl
New email:
PHP Version: OS:

 

 [2002-06-24 09:44 UTC] dirkjan at arago dot utwente dot nl
A clean cvs checkout configured by the following:
cd php4
make clean
./buildconf
./configure --with-apache=../../apache/apache_1.3.22/ -with-mysql --enable-track-vars --with-xslt-sablot --with-xml --with-dom --with-zlib-dir=/usr/lib --with-sysvem --with-gettext --with-mcal=/usr/local/mcal --enable-ftp --with-ldap --with-imap=/usr/local/www/c-client/ --with-tsrm-pthreads --with-pgsql --with-dom-xslt="/usr/local/libxslt/" --with-dom-exslt="/usr/local/libxslt/" --with-gd
# --with-iconv=/usr/lib/clisp/full --with-mm --enable-xslt

Gives this:gcc  -Iext/standard/ -I/usr/local/src/php-cvs/php4/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/src/php-cvs/php4/include -I/usr/local/src/php-cvs/php4/main -I/usr
local/src/php-cvs/php4 -I/usr/local/src/php-cvs/php4/Zend -I/usr/include/libxml
 -I/usr/local/libxslt//include -I/usr/local/www/c-client//include -I/usr/local/
cal/include -I/usr/include/postgresql -I/usr/local/src/php-cvs/php4/ext/xml/exp
t  -I/usr/local/src/php-cvs/php4/TSRM -g -O2  -c /usr/local/src/php-cvs/php4/ex
/standard/url_scanner.c -o ext/standard/url_scanner.o  && echo > ext/standard/u
l_scanner.lo
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c: In function `url_adapt'
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: `MessagePack' undeclared (first use in this function)
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: (Each undeclared identifier is reported only once
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: for each function i
 appears in.)
make: *** [ext/standard/url_scanner.lo] Error 1

I have no clue as the whole php4 directory doesn't even contain a MessagePack(rgrep MessagePack . returns nothing).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 10:06 UTC] dirkjan at arago dot utwente dot nl
It also does this with an empty ./configure ...
 [2002-06-24 10:53 UTC] sniper@php.net
I can't reproduce this. Please try to make a new checkout.
(how did you do it?)

Also, instead of 'make clean'  do './cvsclean'



 [2002-06-24 11:12 UTC] dirkjan at arago dot utwente dot nl
My ~/.cvsrc:
-----------------------------
cvs -z3
update -d -P
checkout -P
diff -u
-----------------------------
The checkout:
rm -rf php4
cvs -d :pserver:cvsread@cvs.php.net:/repository login
cvs -d :pserver:cvsread@cvs.php.net:/repository co php4
cd php4 
./buildconf
./configure
make
<-- lots of compiles -->
gcc  -Iext/standard/ -I/usr/local/src/php-cvs/php4/ext/standard/ -DPHP_ATOM_INC -I/usr/local/src/php-cvs/php4/include -I/usr/local/src/php-cvs/php4/main -I/usr/local/src/php-cvs/php4 -I/usr/local/src/php-cvs/php4/Zend -I/usr/local/src/php-cvs/php4/ext/xml/expat  -I/usr/local/src/php-cvs/php4/TSRM -g -O2  -c /usr/local/src/php-cvs/php4/ext/standard/url_scanner.c -o ext/standard/url_scanner.o  && echo > ext/standard/url_scanner.lo
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c: In function `url_adapt':
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: `MessagePack' undeclared (first use in this function)
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: (Each undeclared identifier is reported only once
/usr/local/src/php-cvs/php4/ext/standard/url_scanner.c:138: for each function it appears in.)
make: *** [ext/standard/url_scanner.lo] Error 1
 [2002-06-24 11:20 UTC] sniper@php.net
Which autoconf/libtool versions you have?
And you did 'rm -rf php4' before you made a new checkout?

 [2002-06-24 15:58 UTC] dirkjan at arago dot utwente dot nl
yes, I do a rm -rf php4 before the checkout. ./buildconf gives:
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.53 (ok)
buildconf: automake version 1.4-p5 (ok)
buildconf: libtool version 1.4.2a (ok)
rebuilding configure

The last one might be a problem, but debian doesn't supply any other version. Any ideas?
Oh, to be more complete:
> gcc --version
2.95.4
> make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
checkout from an hour ago.
 [2002-06-24 19:32 UTC] sniper@php.net
It does look more like bug in gcc. (2.95.4? This is some patched up Debian package? as the last release was 2.95.3)

Anyway, it's not a PHP bug.

 [2002-06-25 07:09 UTC] dirkjan at arago dot utwente dot nl
Ok, so I tried other gcc version:
> /usr/bin/gcc-3.0 --version
3.0.4
> /usr/bin/gcc-3.1 --version
gcc-3.1 (GCC) 3.1.1 20020606 (Debian prerelease)

These give rise to the same problem. Could this still be a gcc bug? If so, I'll ask on debian-gcc mailinglist.
 [2002-06-25 13:13 UTC] sniper@php.net
Or something really wierd going on with your system.
I can't reproduce it and you're the only one who
has reported it too.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC