php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6086 url_scanner.c undeclared identifiers
Submitted: 2000-08-10 20:33 UTC Modified: 2000-09-04 19:23 UTC
From: mark dot faine at msfc dot nasa dot gov Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (10/08/2000) OS: Solaris 2.6
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: mark dot faine at msfc dot nasa dot gov
New email:
PHP Version: OS:

 

 [2000-08-10 20:33 UTC] mark dot faine at msfc dot nasa dot gov
Compile failure


/temp/php4/TSRM  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTR
ANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads  -c url_scanner.c            
url_scanner.c: In function `url_attr_addon':                                    
url_scanner.c:63: `core_globals' undeclared (first use in this function)        
url_scanner.c:63: (Each undeclared identifier is reported only once             
url_scanner.c:63: for each function it appears in.)                             
url_scanner.c: In function `url_adapt':                                         
url_scanner.c:88: `basic_globals' undeclared (first use in this function)       
url_scanner.c:108: warning: unreachable code at beginning of switch statement   
make[3]: *** [url_scanner.lo] Error 1                                           
make[3]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[2]: *** [all-recursive] Error 1                                            
make[2]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/raidb4/temp/php4/ext'                              
make: *** [all-recursive] Error 1      

Thanks 
Mark                                         

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-14 06:28 UTC] hholzgra@php.net
do you (or anybody else) still see this problem?

there was a short period of time when url_scanner.h
was not up to date in cvs, but i had it fixed 
_before_ 10/8/2000 i think ... ??!?
 [2000-08-17 08:20 UTC] mark dot faine at msfc dot nasa dot gov
Still getting this problem, here is where the make fails:

/bin/sh /raidb4/temp/php4/libtool --silent --mode=compile gcc  -DHAVE_CONFIG_H -
I. -I/raidb4/temp/php4/ext/standard -I/raidb4/temp/php4 -I/raidb4/temp/php4/main
 -I/home/web_server/netscape/suitespot/include -I/raidb4/temp/php4/Zend -I/raidb
4/temp/php4 -I/home1/app/oracle/product/732/rdbms/public -I/home1/app/oracle/pro
duct/732/rdbms/demo -I/home1/app/oracle/product/732/network/public -I/raidb4/tem
p/php4/ext/xml/expat/xmltok -I/raidb4/temp/php4/ext/xml/expat/xmlparse -I/raidb4
/temp/php4/TSRM  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTR
ANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads  -c url_scanner.c            
url_scanner.c: In function `url_attr_addon':                                    
url_scanner.c:63: `core_globals' undeclared (first use in this function)        
url_scanner.c:63: (Each undeclared identifier is reported only once             
url_scanner.c:63: for each function it appears in.)                             
url_scanner.c: In function `url_adapt':                                         
url_scanner.c:88: `basic_globals' undeclared (first use in this function)       
url_scanner.c:108: warning: unreachable code at beginning of switch statement   
make[3]: *** [url_scanner.lo] Error 1                                           
make[3]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[2]: *** [all-recursive] Error 1                                            
make[2]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/raidb4/temp/php4/ext'                              
make: *** [all-recursive] Error 1                                               
starbase#                                                                       
 [2000-08-17 09:41 UTC] hholzgra@php.net
have added #include "php_globals.h" in
url_scanner.c just to be sure

if this still doesn't help then reopen 
with full configure line and output 
 [2000-08-18 08:43 UTC] mark dot faine at msfc dot nasa dot gov
Still get this problem:

/bin/sh /raidb4/temp/php4/libtool --silent --mode=compile gcc  -DHAVE_CONFIG_H -
I. -I/raidb4/temp/php4/ext/standard -I/raidb4/temp/php4 -I/raidb4/temp/php4/main
 -I/home/web_server/netscape/suitespot/include -I/raidb4/temp/php4/Zend -I/raidb
4/temp/php4 -I/home1/app/oracle/product/732/rdbms/public -I/home1/app/oracle/pro
duct/732/rdbms/demo -I/home1/app/oracle/product/732/network/public -I/raidb4/tem
p/php4/ext/xml/expat/xmltok -I/raidb4/temp/php4/ext/xml/expat/xmlparse -I/raidb4
/temp/php4/TSRM  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTR
ANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads  -c url_scanner.c            
url_scanner.c: In function `url_attr_addon':                                    
url_scanner.c:64: `core_globals' undeclared (first use in this function)        
url_scanner.c:64: (Each undeclared identifier is reported only once             
url_scanner.c:64: for each function it appears in.)                             
url_scanner.c: In function `url_adapt':                                         
url_scanner.c:89: `basic_globals' undeclared (first use in this function)       
url_scanner.c:109: warning: unreachable code at beginning of switch statement   
make[3]: *** [url_scanner.lo] Error 1                                           
make[3]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[2]: *** [all-recursive] Error 1                                            
make[2]: Leaving directory `/raidb4/temp/php4/ext/standard'                     
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/raidb4/temp/php4/ext'                              
make: *** [all-recursive] Error 1

My configure line:

./configure 
--with-nsapi=/home/web_server/netscape/suitespot
--with-oracle
--enable-sigchild
--enable-experimental-zts
--enable-libgcc
--enable-magic-quotes
--enable-track-vars
--enable-trans-sid
--with-openssl
--disable-debug
--enable-calendar
--without-mysql
--enable-ftp


                                               
 [2000-08-18 09:00 UTC] hholzgra@php.net
could you please try to biuld it once without
   
     --enable-experimental-zts
 [2000-09-04 19:23 UTC] sniper@php.net
No feedback. Please try latest CVS or snapshot from http://snaps.php.net/
and reopen this bug report if problem still exists. 
(And don't use --enable-experimental-zts )

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 10:00:01 2026 UTC