This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fedora9 with its gcc 4.3 doesn't compile nginx 0.6.3x while fedora8 with gcc 4.1.2 does


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.

-Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]