Compilation of Nginx on Solris 10 as 64bit

arin nginx-forum at nginx.us
Wed Oct 7 23:38:49 MSD 2009


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[1]: ***  Error 1
make[1]: 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 :)


Arin 


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/
HZ=
TERM=xterm
SHELL=/usr/local/bin/bash
OLDPWD=/export/home/arin/nginx-0.7.62/objs
LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib:/opt/mysql/mysql/lib
PATH=/opt/sunstudio12.1/bin:/opt/mysql/mysql/bin:/usr/sbin:/usr/bin:/usr/local/bin:.:/usr/ccs/bin:
MAIL=/var/mail/root
PWD=/export/home/arin/nginx-0.7.62
TZ=Europe/Berlin
SHLVL=1
HOME=/
CFLAGS= -I/usr/local/include -I /usr/local/include/ncurses -I/usr/sfw/include
LOGNAME=root
CC=/opt/sunstudio12.1/bin/cc
_=/usr/bin/env

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,11617,11924#msg-11924






More information about the nginx mailing list