php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2 hash_environment
Submitted: 1998-01-25 17:23 UTC Modified: 2009-11-03 10:36 UTC
Votes:12
Avg. Score:3.9 ± 1.0
Reproduced:6 of 10 (60.0%)
Same Version:5 (83.3%)
Same OS:5 (83.3%)
From: eschmid at delos dot lf dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS OS: Debian 1.3/Linux 2.0.29
Private report: No CVE-ID: None
 [1998-01-25 17:23 UTC] eschmid at delos dot lf dot net
Many thanks to my last problem.

I?ve forgotten to 'make install' and failed on compiling
apache. I recompiled the recent php and got this:

marliesle# make
bison -p php -v -d language-parser.y
gcc -O2 -I.   -I/usr/local/apachen/src/main -I/usr/local/apachen/src/os/unix -I/usr/local/apachen/src/ap     -I/usr/local/include/mysql   -I/usr/local/pgsql/include  -g -Wall     -c language-parser.tab.c -o language-parser.tab.o
flex -Pphp -olanguage-scanner.c -i language-scanner.lex
gcc -O2 -I.   -I/usr/local/apachen/src/main -I/usr/local/apachen/src/os/unix -I/usr/local/apachen/src/ap     -I/usr/local/include/mysql   -I/usr/local/pgsql/include  -g -Wall   -w -c language-scanner.c
gcc -O2 -I.   -I/usr/local/apachen/src/main -I/usr/local/apachen/src/os/unix -I/usr/local/apachen/src/ap     -I/usr/local/include/mysql   -I/usr/local/pgsql/include  -g -Wall     -c main.c -o main.o
main.c: In function `hash_environment':
main.c:992: dereferencing pointer to incomplete type
main.c:995: dereferencing pointer to incomplete type
make: *** [main.o] Error 1
marliesle# 

Hopefully someone can fix this?

I?m sure I have done several autoconf?s and autoheader?s to 
get away from that @STRONGHOLD@

To do not fill the BTS myself, can someone make msql, mysql
and pgsql test?s working. With 'make test' these test's 
aren?t tested. 

Egon

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-26 14:35 UTC] rasmus
Ok, fixed.  This was caused by an Apache change.  The patch is at:

    http://ca.php.net/cvsweb.cgi/main.c?r1=1.306&r2=1.307

and

    http://ca.php.net/cvsweb.cgi/functions/info.c?r1=1.37&r2=1.38
 [2002-04-11 10:41 UTC] sander@php.net
This is not a bug. Please double-check the documentation available
at http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
 [2002-04-11 10:45 UTC] sander@php.net
Oops, reclosing :)
 [2002-04-11 10:45 UTC] rasmus@php.net
Stop messing with old bugs Sander
 [2009-12-17 12:10 UTC] svn@php.net
Automatic comment from SVN on behalf of seld
Revision: http://svn.php.net/viewvc/?view=revision&revision=292247
Log: Fixes SQL query in example #2 of mysql_stat, fixes bug #43313
 [2009-12-19 12:05 UTC] svn@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=292327
Log: Changed example #2 in preg_replace() to have the arrays initialized before writing to them.
 [2010-07-03 02:34 UTC] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=300959
Log: Fixed bug#51667 (improve consistency of rendering methodsynopsis and fieldsynopsis)
# Well, part#2 of it, part#1 and part#3 still left
 [2010-12-20 19:30 UTC] bng5@php.net
Automatic comment from SVN on behalf of bng5
Revision: http://svn.php.net/viewvc/?view=revision&revision=306512
Log: Corrección en ejemplo #2 y referencias a ejemplo.php
 [2011-03-21 03:58 UTC] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=309491
Log: - Make fclose() actually close stream, even when the resource refcount is > 1.
  This reverts the fix for bug #24557.
- Make php_stream_free delete the stream from the resources list, not merely
  decrease its refcount, as a single call to zend_list_delete does.
#Not worth the risk merging to 5.3. While change #2 may prevent some segfaults,
#a quick and dirty survey to the codebase only showed calls to php_stream_close
#or php_stream_free on streams allocated in the same function, which would have
#refcount == 1. May be reconsidered.
 [2011-04-04 10:44 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=309942
Log: Grammar tweak. I'd have linked example #2 if I could have figured out the magic
incantation to make it work, but alas.
 [2011-07-28 21:16 UTC] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=313903
Log: - Fix #55301 (sybase part, take #2) check if malloc succeded
 [2011-12-18 12:50 UTC] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=321123
Log: This wasn't a snapshot release. try#2 PhD 1.1.2 with correct stability
 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7819b62cc849d2f5a59935fff30fb1ef439ac75
Log: - Fix #55301 (sybase part, take #2) check if malloc succeded
 [2012-07-22 05:44 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=326763
Log: Adding test case for issue #2 + fix version test
 [2012-07-24 00:45 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=326788
Log: add missing test case for  foreach / iterator cf issue #2
 [2012-07-24 00:45 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=326789
Log: fix int_to_int foreach loop, cf issue #2
 [2012-07-24 00:46 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=326790
Log: fix github issue #2 test case
 [2012-07-24 00:46 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=326791
Log: fix typo in github issue #2 test case
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7819b62cc849d2f5a59935fff30fb1ef439ac75
Log: - Fix #55301 (sybase part, take #2) check if malloc succeded
 [2012-10-14 21:22 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=328026
Log: fix some segfault when removing zval ref, now using Z_DELREF_P. relates to github issue #2
 [2012-10-14 23:18 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=328027
Log: fix some segfault in iterator. relates to github issue #2
 [2012-10-15 01:10 UTC] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&revision=328028
Log: Fix github issue #2 (segfault on iterator for STRING_TO_* types)
 [2012-11-08 02:21 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=328279
Log: Update example 2 of ZipArchive::getStream().

Fixes doc bug #63461 (Error in example code #2).
 [2013-07-18 07:55 UTC] adasdfdsd at ahoo dot com
das
 [2013-07-18 07:55 UTC] adasdfdsd at ahoo dot com
das
 [2013-07-18 07:55 UTC] adasdfdsd at ahoo dot com
das
 [2013-07-18 07:55 UTC] adasdfdsd at ahoo dot com
das
 [2013-11-17 09:37 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7819b62cc849d2f5a59935fff30fb1ef439ac75
Log: - Fix #55301 (sybase part, take #2) check if malloc succeded
 [2019-03-09 09:36 UTC] jhdxr@php.net
Automatic comment from SVN on behalf of jhdxr
Revision: http://svn.php.net/viewvc/?view=revision&revision=346984
Log: sync with en version
remove php 4.x out-of-date contents
fix #77712 	Wrong syntax for WWW-Authenticate header in example #2
 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of rquadling
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=66975055a5f5992889af15582b04f764c212441a
Log: Fix #46869 ___callStatic rather than __callStatic in example #2 title
 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of jhdxr
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=bdde48c20963a947194afa64f5d107581e6669d2
Log: sync with en version remove php 4.x out-of-date contents fix #77712 	Wrong syntax for WWW-Authenticate header in example #2
 [2021-02-03 17:18 UTC] julionc@php.net
Automatic comment on behalf of julionc
Revision: http://git.php.net/?p=doc/es.git;a=commit;h=159b2eda5b96bf41ffe9b24ecb97ec0aaa552933
Log: Fix #73579[ES] Wrong example #2 initialization
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 10:01:27 2024 UTC