httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc G. Fournier" <scra...@hub.org>
Subject shm.h problem with current CVS ...
Date Thu, 10 Jan 2002 02:10:02 GMT

FreeBSD System ...

gmake[4]: Entering directory `/usr/local/src/httpd-2.0/srclib/apr/shmem/unix'
/bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc
-g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../../include -I../../i
nclude/arch -I../../include/arch/unix  -c shm.c && touch shm.lo
In file included from shm.c:55:
../../include/arch/unix/shm.h:100: syntax error
shm.c:97: syntax error
shm.c:163: syntax error
gmake[4]: *** [shm.lo] Error 1
gmake[4]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/shmem/unix'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/shmem/unix'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/httpd-2.0/srclib'
gmake: *** [all-recursive] Error 1

looking at line 100, though, nothing stands out:

struct apr_shm_t {
    apr_pool_t *pool;
    void *base;          /* base real address */
    void *usable;        /* base usable address */
    apr_size_t reqsize;  /* requested segment size */
    apr_size_t realsize; /* actual segment size */
    const char *filename;      /* NULL if anonymous */
#if APR_USE_SHMEM_MMAP_TMP || APR_USE_SHMEM_MMAP_SHM || APR_USE_SHMEM_MMAP_ZERO
    apr_file_t *file;
#endif
#if APR_USE_SHMEM_MMAP_ANON
    /* Nothing else. */
#endif
#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON
    int shmid;          /* shmem ID returned from shmget() */
#endif
};



Mime
View raw message