You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by jean-frederic clere <jf...@gmail.com> on 2007/07/11 14:29:07 UTC
atomics on PPC Linux.
Hi,
I have tried to compile on PPC Linux and I have the following error:
+++
/bin/sh /home/jclere/apr-trunk/libtool --silent --mode=compile gcc -g
-O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE
-I./include -I/home/jclere/apr-trunk/include/arch/unix
-I./include/arch/unix -
I/home/jclere/apr-trunk/include -o atomic/unix/ppc.lo -c
atomic/unix/ppc.c && t
ouch atomic/unix/ppc.lo
atomic/unix/ppc.c: In function `apr_atomic_xchgptr':
atomic/unix/ppc.c:189: error: `PPC_SYNC' undeclared (first use in this
function)
atomic/unix/ppc.c:189: error: (Each undeclared identifier is reported
only once
atomic/unix/ppc.c:189: error: for each function it appears in.)
atomic/unix/ppc.c:189: error: syntax error before string constant
make[1]: *** [atomic/unix/ppc.lo] Error 1
+++
Any hints? Is someone working on it?
Cheers
Jean-Frederic
Re: atomics on PPC Linux.
Posted by Davi Arnaut <da...@haxent.com.br>.
jean-frederic clere wrote:
> Hi,
>
> I have tried to compile on PPC Linux and I have the following error:
> +++
> /bin/sh /home/jclere/apr-trunk/libtool --silent --mode=compile gcc -g
> -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE
> -I./include -I/home/jclere/apr-trunk/include/arch/unix
> -I./include/arch/unix -
> I/home/jclere/apr-trunk/include -o atomic/unix/ppc.lo -c
> atomic/unix/ppc.c && t
> ouch atomic/unix/ppc.lo
> atomic/unix/ppc.c: In function `apr_atomic_xchgptr':
> atomic/unix/ppc.c:189: error: `PPC_SYNC' undeclared (first use in this
> function)
> atomic/unix/ppc.c:189: error: (Each undeclared identifier is reported
> only once
> atomic/unix/ppc.c:189: error: for each function it appears in.)
> atomic/unix/ppc.c:189: error: syntax error before string constant
> make[1]: *** [atomic/unix/ppc.lo] Error 1
> +++
>
> Any hints? Is someone working on it?
>
Sorry, that was a subtle mis-merge on my part. Fixed now.
--
Davi Arnaut