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)
make -f objs/Makefile
make[1]: Entering directory `/home/install/nginx/nginx-0.6.31'
gcc -c -O -pipe -O3 -W -Werror -I src/core -I src/event -I
src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_files.o \
src/os/unix/ngx_files.c
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 function)
src/os/unix/ngx_files.c:164: error: (Each undeclared identifier is
reported only once
src/os/unix/ngx_files.c:164: error: for each function it appears in.)
make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
make[1]: Leaving directory `/home/install/nginx/nginx-0.6.31'
make: *** [build] Error 2
something, one not being a programmer at all, could fix/tune up??
and without changing default compiler directives in Makefile I get the same
i found there is /usr/include/stdio.h and ./bits/stdio_lim.h
tried gcc -I and below are results of -print-seach-dirs
install: /usr/lib/gcc/x86_64-redhat-linux/4.3.0/
programs:
=/usr/libexec/gcc/x86_64-redhat-linux/4.3.0/:/usr/libexec/gcc/x86_64-redhat-linux/4.3.0/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.3.0/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../x86_64-redhat-linux/bin/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../x86_64-redhat-linux/bin/
libraries:
=/usr/lib/gcc/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../x86_64-redhat-linux/lib/x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../x86_64-redhat-linux/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../x86_64-redhat-linux/4.3.0/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/:/lib/x86_64-redhat-linux/4.3.0/:/lib/../lib64/:/usr/lib/x86_64-redhat-linux/4.3.0/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../x86_64-redhat-linux/lib/:/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../:/lib/:/usr/lib/
please advise?
cheers
___________________________________________________________
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html