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

guangpigu nginx-forum at
Fri Aug 24 01:20:22 UTC 2012

when i want install nginx 1.2.3 on debian squeeze
there have a problem:
		-o objs/src/os/unix/ngx_files.o \
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
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:,230079,230079#msg-230079

More information about the nginx mailing list