Compiling nginx-0.8.21 fail under linux-2.4.18

objs/src/core/ngx_open_file_cache.o: In function
`ngx_open_and_stat_file’:
/home/box/nginx-0.8.21/src/core/ngx_open_file_cache.c:531: warning:
posix_fadvise64 is not implemented and will always fail

Linux nginxbox 2.4.18-19.7.xsmp #1 SMP Thu Dec 12 07:56:58 EST 2002 i686
unknown

it is ok with nginx-0.8.16.

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

On Wed, Oct 28, 2009 at 09:33:36PM -0400, testking wrote:

objs/src/core/ngx_open_file_cache.o: In function `ngx_open_and_stat_file’:
/home/box/nginx-0.8.21/src/core/ngx_open_file_cache.c:531: warning: posix_fadvise64 is not implemented and will always fail

Linux nginxbox 2.4.18-19.7.xsmp #1 SMP Thu Dec 12 07:56:58 EST 2002 i686 unknown

it is ok with nginx-0.8.16.

Try the attached patch.

make is ok , but when i start nginx , “Segmentation fault”

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

On Thu, Oct 29, 2009 at 09:05:15PM -0400, testking wrote:

make is ok , but when i start nginx , “Segmentation fault”

Could you show backtrace of core file ?

how to show it ?

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