Welcome! Log In Create A New Profile

Advanced

php-fpm will not build on solaris 10 (libfpm_la-fpm_shm_slots.c)

Posted by wega3k 
php-fpm will not build on solaris 10 (libfpm_la-fpm_shm_slots.c)
October 15, 2009 12:03PM
Can anyone shed any light on this? I'm attempting to build php-fpm-0.6.5.3.1 on Solaris 10. I am building with SunCC. When it gets to 'libfpm_la-fpm_shm_slots.lo' it fails with the following...

[code]
"fpm_atomic.h", line 35: warning: parameter in inline asm statement unused: %2
"fpm_shm_slots.h", line 18: warning: unnamed struct member
"fpm_shm_slots.c", line 116: improper member use: lock
"fpm_shm_slots.c", line 125: improper member use: lock
cc: acomp failed for fpm_shm_slots.c
gmake[2]: *** [libfpm_la-fpm_shm_slots.lo] Error 1
gmake[2]: Leaving directory `/build/php-fpm-0.6-5.3.1/fpm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/build/php-fpm-0.6-5.3.1'
gmake: *** [all] Error 2
[/code]
Re: php-fpm will not build on solaris 10 (libfpm_la-fpm_shm_slots.c)
October 15, 2009 12:52PM
This thread:

http://forum.maxmind.com/viewtopic.php?t=1196&sid=fd7c6027003af4b7dcf218f2984a09bb

suggests you should add "-features=extensions" to the CFLAGS for SunCC

Otherwise should check rev22295 in Wireshark
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1708

Best regards,

dreamcat4
dreamcat4@gmail.com

On Thu, Oct 15, 2009 at 5:03 PM, wega3k <nginx-forum@nginx.us> wrote:
>
> Can anyone shed any light on this? I'm attempting to build php-fpm-0.6.5.3.1 on Solaris 10. I am building with SunCC. When it gets to 'libfpm_la-fpm_shm_slots.lo' it fails with the following...
>
>
> "fpm_atomic.h", line 35: warning: parameter in inline asm statement unused: %2
> "fpm_shm_slots.h", line 18: warning: unnamed struct member
> "fpm_shm_slots.c", line 116: improper member use: lock
> "fpm_shm_slots.c", line 125: improper member use: lock
> cc: acomp failed for fpm_shm_slots.c
> gmake[2]: ***  Error 1
> gmake[2]: Leaving directory `/build/php-fpm-0.6-5.3.1/fpm'
> gmake[1]: ***  Error 1
> gmake[1]: Leaving directory `/build/php-fpm-0.6-5.3.1'
> gmake: ***  Error 2
>
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,14030,14030#msg-14030
>
>
Re: php-fpm will not build on solaris 10 (libfpm_la-fpm_shm_slots.c)
October 16, 2009 07:26PM
Thanks for the idea dreamcat, but -features=extensions didn't help :(
Re: php-fpm will not build on solaris 10 (libfpm_la-fpm_shm_slots.c)
October 17, 2009 05:40AM
Then try the other idea or use GCC.

On Sat, Oct 17, 2009 at 12:26 AM, wega3k <nginx-forum@nginx.us> wrote:
>
> Thanks for the idea dreamcat, but  -features=extensions didn't help :(
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,14030,14447#msg-14447
>
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready