Help:mplicit declaration of function ‘pread’ ‘pwrite’

when i want install nginx 1.2.3 on debian squeeze
there have a problem:
-o objs/src/os/unix/ngx_files.o
src/os/unix/ngx_files.c
cc1: warnings being treated as errors
src/os/unix/ngx_files.c: In function ‘ngx_read_file’:
src/os/unix/ngx_files.c:29: error: implicit declaration of function
‘pread’
src/os/unix/ngx_files.c: In function ‘ngx_write_file’:
src/os/unix/ngx_files.c:80: error: implicit declaration of function
‘pwrite’
make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
make[1]: Leaving directory `/root/nginx-1.2.3’
make: *** [build] Error 2

please help me .

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs