On 5/19/08, Pawel Eljasz <peljasz@yahoo.co.uk> wrote:
hi dear all,
I get bellow during 0.6.31 compilation on fedora9 2.6.25-14.fc9.x86_64, gcc
version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
...
src/os/unix/ngx_files.c: In function 'ngx_write_chain_to_file':
src/os/unix/ngx_files.c:164: error: 'IOV_MAX' undeclared (first use in this
I don't believe the problem is with gcc 4.3.
The IOV_MAX macro is defined in several libc or system headers on my
Fedora 7 system, so you may find that you are missing a required
header file #include statement.
Note that gcc 4.3 has tightened up closer to standards and is finding
more errors in non-conforming code. The loki library is a case in
point.
If you can't fix the assumed missing header, you will need to query
someone familiar with the nginx code--there is probably a mailing list
for that package.