Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile with icc compiler howto
Добрый день.
Подскажите, пожалуйста что я делаю не так. Я пытаюсь собрать nginx
компилятором icc
#make clean
#CC="icc" CXX="icpc" ./configure --with-pcre=../pcre-5.0 --with-zlib=../zlib-1.2.1
#make
.......
icc -c -O -Ob2 -ipo -ipo_obj -w1 -wd181 -wd269 -Werror -g -I src/core
-I src/event -I src/event/modules -I src/os/unix -I ../pcre-5.0 -I
../zlib-1.2.1 -I objs
-o objs/src/os/unix/ngx_setproctitle.o src/os/unix/ngx_setproctitle.c
src/os/unix/ngx_setproctitle.c(63): error #167: argument of type "char
*" is incompatible with parameter of type "u_char={__u_char={unsigned
char}} *"
ngx_cpystrn(p, environ[i], size);
^
src/os/unix/ngx_setproctitle.c(63): error #167: argument of type "char
*" is incompatible with parameter of type "u_char={__u_char={unsigned
char}} *"
ngx_cpystrn(p, environ[i], size);
^
compilation aborted for src/os/unix/ngx_setproctitle.c (code 2)
make[1]: *** [objs/src/os/unix/ngx_setproctitle.o] Ошибка 2
make[1]: Leaving directory `/root/nginx/nginx-0.1.20'
make: *** [build] Ошибка 2
#
Спасибо
--
С наилучшими пожеланиями.
Денис Филиппов, denis@xxxxxxxx
|