You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ian Holsman <ia...@cnet.com> on 2001/07/16 21:54:08 UTC

APR is borked

/bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-I../../include -I../../include/arch/unix -I../../include/arch/unix  -c
sockets.c && touch sockets.lo
sockets.c:385:1: warning: pasting "->" and "cntxt" does not give a valid
preprocessing token
sockets.c:385:1: warning: pasting ")" and "socket" does not give a valid
preprocessing token
sockets.c:385:1: warning: pasting "socket" and "," does not give a valid
preprocessing token
sockets.c:387:1: warning: pasting "->" and "cntxt" does not give a valid
preprocessing token
sockets.c:387:1: warning: pasting ")" and "socket" does not give a valid
preprocessing token
sockets.c:387:1: warning: pasting "socket" and "," does not give a valid
preprocessing token

--
Ian Holsman          IanH@cnet.com
Performance Measurement & Analysis
CNET Networks   -   (415) 364-8608


Re: APR is borked

Posted by Ian Holsman <ia...@cnet.com>.
ok... 2 more

open.c 
make[2]: Entering directory
`/usr/local/src/httpd-2.0/srclib/apr/file_io/unix'
/bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -pthrea
d   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE   
-I../../include -I../../include/arch/unix -I../../include/arch/unix  -c
open.c && touch open.l
o
open.c: In function `apr_os_file_put':
open.c:230: structure has no member named `inherit'
open.c: In function `apr_file_unset_inherit':
open.c:265: too many arguments to function `apr_pool_cleanup_kill'


sockets.c
/bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -pthrea
d   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE   
-I../../include -I../../include/arch/unix -I../../include/arch/unix  -c
sockets.c && touch soc
kets.lo
sockets.c: In function `apr_socket_create':
sockets.c:165: warning: passing arg 4 of `apr_pool_cleanup_register'
makes pointer from intege
r without a cast
sockets.c:166: void value not ignored as it ought to be
sockets.c:166: parse error before `)'
sockets.c: In function `apr_socket_unset_inherit':
sockets.c:387: too many arguments to function `apr_pool_cleanup_kill'
make[1]: *** [sockets.lo] Error 1
make[1]: Leaving directory
`/usr/local/src/httpd-2.0/srclib/apr/network_io/unix'
make: *** [all-recursive] Error 1




On 16 Jul 2001 13:22:22 -0700, rbb@covalent.net wrote:
> 
> This is obviously due to the APR_SET_INHERIT macro I committed.  I
> unfortunately, am not hitting this error.  :-(  I was hitting other errors
> however, and I am about to commit a fix for all of those.
> 
> Ryan
> 
> On 16 Jul 2001, Ian Holsman wrote:
> 
> > /bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent
> > --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2
> > -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
> > -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c
> > sockets.c && touch sockets.lo
> > sockets.c:385:1: warning: pasting "->" and "cntxt" does not give a valid
> > preprocessing token
> > sockets.c:385:1: warning: pasting ")" and "socket" does not give a valid
> > preprocessing token
> > sockets.c:385:1: warning: pasting "socket" and "," does not give a valid
> > preprocessing token
> > sockets.c:387:1: warning: pasting "->" and "cntxt" does not give a valid
> > preprocessing token
> > sockets.c:387:1: warning: pasting ")" and "socket" does not give a valid
> > preprocessing token
> > sockets.c:387:1: warning: pasting "socket" and "," does not give a valid
> > preprocessing token
> >
> > --
> > Ian Holsman          IanH@cnet.com
> > Performance Measurement & Analysis
> > CNET Networks   -   (415) 364-8608
> >
> >
> >
> 
> 
> _____________________________________________________________________________
> Ryan Bloom                        	rbb@apache.org
> Covalent Technologies			rbb@covalent.net
> -----------------------------------------------------------------------------
--
Ian Holsman          IanH@cnet.com
Performance Measurement & Analysis
CNET Networks   -   (415) 364-8608


Re: APR is borked

Posted by rb...@covalent.net.
This is obviously due to the APR_SET_INHERIT macro I committed.  I
unfortunately, am not hitting this error.  :-(  I was hitting other errors
however, and I am about to commit a fix for all of those.

Ryan

On 16 Jul 2001, Ian Holsman wrote:

> /bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent
> --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2
> -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
> -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c
> sockets.c && touch sockets.lo
> sockets.c:385:1: warning: pasting "->" and "cntxt" does not give a valid
> preprocessing token
> sockets.c:385:1: warning: pasting ")" and "socket" does not give a valid
> preprocessing token
> sockets.c:385:1: warning: pasting "socket" and "," does not give a valid
> preprocessing token
> sockets.c:387:1: warning: pasting "->" and "cntxt" does not give a valid
> preprocessing token
> sockets.c:387:1: warning: pasting ")" and "socket" does not give a valid
> preprocessing token
> sockets.c:387:1: warning: pasting "socket" and "," does not give a valid
> preprocessing token
>
> --
> Ian Holsman          IanH@cnet.com
> Performance Measurement & Analysis
> CNET Networks   -   (415) 364-8608
>
>
>


_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------