kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
739 stars 253 forks source link

error: ‘IOV_MAX’ undeclared (first use in this function) #183

Closed KeithTt closed 7 years ago

KeithTt commented 7 years ago

OS: debian7

src/os/unix/ngx_files.c: In function ‘ngx_write_chain_to_file’:
src/os/unix/ngx_files.c:294:34: error: ‘IOV_MAX’ undeclared (first use in this function)
src/os/unix/ngx_files.c:294:34: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
make[1]: Leaving directory `/usr/local/src/tengine-2.2.0'
make: *** [build] Error 2

It works on Debian8, but all my prod servers are Debian7 ......what is the problem?

KeithTt commented 7 years ago

Resolved by upgrading gcc and libc. Close this issue.