> > 
> > I've got the _a9 sources, and I was able to compile - but apache crashed.
> 
> There are known issues with _a9.  I would suggest ignoring it completely.

Ok, good to know. I'll stay with the CVS then.


> > Now I'm trying to get apache2.0 using anonymous CVS, and I get:
> > 
> > ap_buckets_file.c && touch ap_buckets_file.lo
> > ap_buckets_file.c: In function `file_read':
> > ap_buckets_file.c:104: warning: passing arg 5 of `apr_mmap_create' makes
> > integer from pointer without a cast
> > ap_buckets_file.c:104: too few arguments to function `apr_mmap_create'
> 
> This is really odd.  Line 104 on my machine is a declaration of a status
> variable.  Line 105 is a call to apr_mmap_create, but that call is
> correct.  I would be interested in actually seeing the code on your
> machine.


According to CVS, it's version 1.10 ( and it is the latest ). The code is:

#ifdef AP_USE_MMAP_FILES
    if ((e->length >= MMAP_THRESHOLD)
        && (e->length < MMAP_LIMIT)) {
        /* we need to protect ourselves in case we die while we've got the
         * file mmapped */
        apr_status_t status;
        if ((status = apr_mmap_create(&mm, f, a->offset, e->length,
NULL)) != APR_SUCCESS) {
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ line 104
            mm = NULL;
        }
    }

I checked on locus, and the top version for ap_bucket_file.c is 1.10, and 
the code seems to be identical.

Could you also check if your version is commited/updated ?

> > I'm using RedHat linux, and I did a clean cvs checkout.
> > 
> > Can anyone build Apache2.0 with .so support on Linux and make the binary
> > available ( please add --with-debug ) ? If you are able to run it, what
> > glibc do you use ? 
> 
> I am running Mandrake 7.1, with glibc2, and I can build it.  I will try to
> make the binary available tonight.  I have to figure out the problem on
> locus before I do much else, but I will try to publish something within an
> hour.

I have glibc2.1.91, if you do a build I'll try it on my machine, if it'll
not work I'll try to figure out what exact version of glibc you have and
see if I can update mine.

BTW, the crash happened with _a9, the latest CVS may work ( but doesn't
compile )


Costin

Reply via email to