Welcome! Log In Create A New Profile


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

August 23, 2012 09:20PM
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 ‘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 .
Subject Author Posted

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

guangpigu August 23, 2012 09:20PM

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

kamenzhen September 12, 2012 03:18AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 197
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready