ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
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


  • To: Igor Sysoev <nginx-ru@xxxxxxxxx>
  • Subject: Compile with icc compiler howto
  • From: "Denis O.Philippov" <denis@xxxxxxxx>
  • Date: Tue, 22 Feb 2005 13:09:55 +0300

Добрый день.

Подскажите, пожалуйста что я делаю не так. Я пытаюсь собрать 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






 




Copyright © Lexa Software, 1996-2009.