You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/03/01 06:20:26 UTC

DO NOT REPLY [Bug 17357] - Large files cause incomplete directory listings

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17357

Large files cause incomplete directory listings

rick@knowleses.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From rick@knowleses.org  2003-03-01 05:20 -------
Thanks so much ... unfortunately the compile failed with those options. If this
is something wrong with my linux install, please just tell me and I'll try and
fix it myself, but otherwise I'd really appreciate your help.

This is the configure line as I entered it (cut and pasted):

CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure
--prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared

The make went ok for about 100 lines and then failed with:

/bin/sh /huge/public/software/apache/httpd-2.0.44/srclib/apr/libtool --silent
--mode=compile gcc -pthread  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE   -I../../include -I../../include/arch/unix
-I../../include/arch/unix  -c sendrecv.c && touch sendrecv.lo
In file included from ../../include/arch/unix/apr_arch_networkio.h:112,
                 from sendrecv.c:55:
/usr/include/sys/sendfile.h:26:3: #error "<sys/sendfile.h> cannot be used with
_FILE_OFFSET_BITS=64"
make[4]: *** [sendrecv.lo] Error 1

and then exited it's way back to the original folder.

The file /usr/include/sys/sendfile.h has the following lines in it:

#ifdef __USE_FILE_OFFSET64
# error "<sys/sendfile.h> cannot be used with _FILE_OFFSET_BITS=64"
#endif

which throw the error above. Something makes me think maybe I need more compile
options, eg something that would tell it to use a different sendfile header ...
or maybe there's an ifdef missing in the apr_arch_networkio.h file.

Anyway, sorry to reopen it, but there's still one or two things to do.

Thanks,

R

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org