You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Graham Leggett <mi...@sharp.fm> on 2005/09/01 18:56:31 UTC

APR-util build failure on Solaris

Hi all,

Using Sun's SUNWSpro compiler to build apr-util v1.2.1, the build bombs
out like so:

/bin/bash /tmp/apr-1.2.1/libtool --silent --mode=compile cc -g -mt  
-DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE   -I/tmp/apr-util-1.2.1/include
-I/tmp/apr-util-1.2.1/include/private  -I/tmp/apr-1.2.1/include 
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include  -o
dbd/apr_dbd.lo -c dbd/apr_dbd.c && touch dbd/apr_dbd.lo
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: syntax
error before or at: /
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: syntax
error before or at: apr_dbd_datum_t
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159:
warning: undefined or missing type for: apr_dbd_datum_t
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: cannot
recover from previous errors
cc: acomp failed for dbd/apr_dbd.c
make[1]: *** [dbd/apr_dbd.lo] Error 1
make[1]: Leaving directory `/tmp/apr-util-1.2.1'
make: *** [all-recursive] Error 1
/bin/bash /tmp/apr-1.2.1/libtool --silent --mode=compile cc -g -mt  
-DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE   -I/tmp/apr-util-1.2.1/include
-I/tmp/apr-util-1.2.1/include/private  -I/tmp/apr-1.2.1/include 
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include  -o
dbd/apr_dbd.lo -c dbd/apr_dbd.c && touch dbd/apr_dbd.lo
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: syntax
error before or at: /
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: syntax
error before or at: apr_dbd_datum_t
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159:
warning: undefined or missing type for: apr_dbd_datum_t
"/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: cannot
recover from previous errors
cc: acomp failed for dbd/apr_dbd.c
make: *** [dbd/apr_dbd.lo] Error 1

Regards,
Graham
--


Re: APR-util build failure on Solaris

Posted by Jeff Trawick <tr...@gmail.com>.
On 9/1/05, Graham Leggett <mi...@sharp.fm> wrote:
> Hi all,
> 
> Using Sun's SUNWSpro compiler to build apr-util v1.2.1, the build bombs
> out like so:
> 
> /bin/bash /tmp/apr-1.2.1/libtool --silent --mode=compile cc -g -mt
> -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -D_LARGEFILE64_SOURCE   -I/tmp/apr-util-1.2.1/include
> -I/tmp/apr-util-1.2.1/include/private  -I/tmp/apr-1.2.1/include
> -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include  -o
> dbd/apr_dbd.lo -c dbd/apr_dbd.c && touch dbd/apr_dbd.lo
> "/tmp/apr-util-1.2.1/include/private/apr_dbd_internal.h", line 159: syntax
> error before or at: /

is that the C++ comment delimiter?  delete the line
(subsequently fixed)