David Parker <dparker <at> utica.edu> writes:
>
>
>
> I can confirm that compiling PHP under Sun Studio fails, although I'm
not sure why. I tried to compile PHP 5.6.17 on Solaris 10 x86 with Sun
Studio 12 (CC version 5.9) just using:
>
> ./configure
> make
>
> With no options other that a prefix. It failed in a different spot:
>
> http://pastebin.com/dyNaURpe
> - Dave
>
>
>
> >
> >
> Hello.
> I am working very hard at trying to fine a fix for this as I am
> experiencing it when trying 5.6.10 and 5.6.17. I get the many lines
of
> 'invalid white space' and then the failure for zend_language_scanner.
> I'm running Sparc Solaris 10, Sun CC 12.3.
> Any help would be appreciated.
> THnak you
> ...
> "Zend/zend_language_scanner.l", line 69: warning: invalid white space
> character in directive
> "Zend/zend_language_scanner.l", line 70: warning: function prototype
> parameters must have types
> "Zend/zend_language_scanner.l", line 70: warning: old-style
declaration
> or incorrect type for: SCNG
> "Zend/zend_language_scanner.l", line 70: cannot initialize function:
> SCNG
> "Zend/zend_language_scanner.l", line 70: undefined symbol: x
> "Zend/zend_language_scanner.l", line 70: cannot recover from previous
> errors
> cc: acomp failed for /tmp/php-5.6.9/Zend/zend_language_scanner.c
> *** Error code 1
> make: Fatal error: Command failed for target
> `Zend/zend_language_scanner.lo'
>
>
> --
> Dave ParkerSystems AdministratorUtica CollegeIntegrated Information
Technology Services(315) 792-3229Registered Linux User #408177
>
>
I looked at the file it is failing on and that section
send_language_scanner.c and the section where it fails is the same as in
the 5.5 version. I tried with gcc 4 and it worked but I can't use gcc.
One of these posts mentions a hints file being outdated but I don't know
where that file is.
I had no problems with 5.5, but the new 7.0.2 failed way before. I’m
hoping they fix that before I have to get there.
Thank you
Christine
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]