php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6004 compile failure in zendscanner
Submitted: 2000-08-07 08:48 UTC Modified: 2000-09-03 07:35 UTC
From: david at switch dot be Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: solaris 8 sparc 64bit
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at switch dot be
New email:
PHP Version: OS:

 

 [2000-08-07 08:48 UTC] david at switch dot be
when i try and compile php on a solaris 8 with the forte c compiler (latest version of workshop) i get following errors:
Making all in Zend
/bin/sh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I..   -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1  -mt -c zend-scanner-cc.cc
"./zend-scanner.l", line 91: Error: stdiobuf is not defined.
"./zend-scanner.l", line 94: Error: Type name expected instead of "stdiobuf".
"./zend-scanner.l", line 94: Error: No storage class or type for this declaration.
"./zend-scanner.l", line 94: Error: "," expected instead of "*".
"./zend-scanner.l", line 93: Error: istream is not a direct base class of istdiostream.
"./zend-scanner.l", line 93: Error: Cannot use __FILE* to initialize int.
"./zend-scanner.l", line 93: Error: Formal argument sb of type std::basic_streambuf<char, std::char_traits<char>>* in call to std::basic_ios<char, std::char_traits<char>>::init(std::basic_streambuf<char, std::char_traits<char>>*) is being passed int*.
"./zend-scanner.l", line 204: Error: stdiofile is not a member of std::basic_streambuf<char, std::char_traits<char>>.
"./zend-scanner.l", line 463: Warning: String literal converted to char* in formal argument new_compiled_filename in call to zend_set_compiled_filename(char*).
"./zend-scanner.l", line 1169: Warning: String literal converted to char* in assignment.
"zend-scanner-cc.cc", line 4925: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*.
"zend-scanner-cc.cc", line 5029: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5133: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5206: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5220: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5340: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5461: Error: Cannot assign istream* to std::basic_istream<char, std::char_traits<char>>*.
"zend-scanner-cc.cc", line 5472: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5481: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5512: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*.
"zend-scanner-cc.cc", line 5574: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
"zend-scanner-cc.cc", line 5588: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*).
11 Error(s) and 11 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `zend-scanner-cc.lo'
Current working directory /apps/tmp/php-4.0.1pl2/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 08:34 UTC] sniper@php.net
Please provide your configure line for php4.

--Jani
 [2000-08-17 02:22 UTC] sniper@php.net
No feedback from user.

--Jani
 [2000-08-17 02:22 UTC] sniper@php.net
No feedback from user.

--Jani
 [2000-08-17 13:56 UTC] sniper@php.net
User feedback:

./configure --prefix=/apps/nse/php --with-nsapi=/apps/nse --with-mysql --with-config-file-path=/apps/nse/php/conf

---
 
I have no clue whatsoever what is happening here. I'm just compiling php4 in Solaris8 with gcc but
I use Apache, not netscape iplanet and I didn't get those compile errors. I'm using PHP4 (latest CVS). 

So please try out more recent version of php (from snaps.php.net or CVS) and also try to using gcc instead
of Forte cc. 

(I don't have that compiler in this system yet..)

--Jani

 [2000-09-03 07:35 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC