ПРОЕКТЫ 


  АРХИВ 


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]

nginx 1.1.8 не собирается clang на -CURRENT


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx 1.1.8 не собирается clang на -CURRENT
  • From: "vsharun" <nginx-forum@xxxxxxxx>
  • Date: Fri, 18 Nov 2011 04:02:01 -0500
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=fF/svsa54vXJ23JTmlO0Q3Frg1WxIRLuGqH5ptyOhzY=; b=LziCt5Mhw3LCgHCpOc0gZz+WDMYddyp+aW7cy6MlcJ3f26ztS/hAPCnqhoxiF++qyYMcWqDNWHIBjuX//s8sS6ob1u2YleURxVCD7/IzfNhkj1mNn0frXOHM7GYcbuSJ;

FreeBSD 10.0-CURRENT #2: Tue Nov  8 09:30:37 EET 2011

src/os/unix/ngx_files.c:470:1: error: expected parameter declarator
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:44: note: expanded from:
#define ngx_read_ahead(fd, n)    fcntl(fd, F_READAHEAD, (int) n)
                                           ^
/usr/include/fcntl.h:226:21: note: expanded from:
#define F_READAHEAD     15              /* read ahead */
                        ^
src/os/unix/ngx_files.c:470:1: error: expected ')'
src/os/unix/ngx_files.c:470:1: note: to match this '('
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:39: note: expanded from:
#define ngx_read_ahead(fd, n)    fcntl(fd, F_READAHEAD, (int) n)
                                      ^
src/os/unix/ngx_files.c:470:1: error: conflicting types for 'fcntl'
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:34: note: expanded from:
#define ngx_read_ahead(fd, n)    fcntl(fd, F_READAHEAD, (int) n)
                                 ^
/usr/include/fcntl.h:296:5: note: previous declaration is here
int     fcntl(int, int, ...);
        ^
3 errors generated.
*** Error code 1

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,218549,218549#msg-218549

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.