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

**URL:** <https://www.ruby-forum.com/t/help-mplicit-declaration-of-function-pread-pwrite/222328>\
**Category:** NGINX\
**Created:** [August 27, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/help-mplicit-declaration-of-function-pread-pwrite/222328 "2012-08-27T13:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 27, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/help-mplicit-declaration-of-function-pread-pwrite/222328/1 "2012-08-27T13:59:47Z")

</div>

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:

> **[help:mplicit declaration of function ‘pread’ ‘pwrite’](https://forum.nginx.org/read.php?2,230079,230079#msg-230079)**
>
> 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:
