Hi Andrew,
I don't think so, there is an inclusion of what you mention, not
directly in the file which fails
besides, what I said, why it's just fine on fedora8 but not f9, and both
sets are pretty much
default distros, surely with regards to the compiler and related stuff
and to me, but with reservation I ain't a programmer,
declaration/definition of IOV_MAX is
in /usr/include/bits/stdio_lim.h
isn't it?
cheers
and Hi Tom,
I actually asked them before I posted here, and creator of the program
said that is
highly probable it's related to my build environment
the same code works on fedora8
cheers
and! I grabbed source version from devel repo, nginx-0.6.31-1.fc10.src.rpm
I could build a rpm from it on f9, so? what is that, fedora patches?
if yes, which part? if I may ask?
best regards
Pawel
Andrew Haley wrote:
Tom Browder wrote:
On 5/19/08, Pawel Eljasz <peljasz@xxxxxxxxxxx> 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.
Forgotten to #include <limits.h> ?
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com