Compilation of Nginx on Solris 10 as 64bit
dmarquess at gmail.com
Thu Oct 8 01:54:11 MSD 2009
I haven't tried SunStudio 12.1, but I do know that nginx compiles
under Solaris 10 using GCC for SPARC, which uses the same code
generator as SunStudio.
On Wed, Oct 7, 2009 at 2:38 PM, arin <nginx-forum at nginx.us> wrote:
> I tried that either, won't work
> also I have tried to compile in 32bit mode (different env !!!)
> Undefined first referenced
> symbol in file
> ngx_atomic_fetch_add objs/src/core/ngx_resolver.o
> ngx_atomic_cmp_set objs/src/core/nginx.o
> ngx_cpu_pause objs/src/core/ngx_spinlock.o
> ld: fatal: Symbol referencing errors. No output written to objs/nginx
> make: *** Error 1
> make: Leaving directory `/export/home/arin/nginx-0.7.62'
> make: *** Error 2
> seems that we have problem with solaris and the current version of nginx
> WHAT VERSION OF NGINX is can be built with Solaris 10 (latest release ) and SunStudio 12.1 ?
> I will be happy to be the nginx QA (at least for the basic sanity of compilation and basic functionality test and some performance tests).
> for Solaris 10
> however I will need some help from the community as I'm new to nginx (not to solaris :)
> my 32 bit env is :
> bash-3.00# env
> LDFLAGS= -L/lib -L/usr/sfw/lib/ -L/usr/lib -R/usr/sfw/lib/ -R/lib/
> CFLAGS= -I/usr/local/include -I /usr/local/include/ncurses -I/usr/sfw/include
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,11617,11924#msg-11924
More information about the nginx