* Thom May ([EMAIL PROTECTED]) wrote :
> * Justin Erenkrantz ([EMAIL PROTECTED]) wrote :
> > I *really* need help testing this. Create atomic/linux/Makefile.in
> > atomic/linux/apr_atomic_linux.c from the fragments below and and
> > apply these patches.
> [...]
> >
> > I tried to keep the general idea of the code as close as I could to
> > the original FreeBSD code, but I did make a bunch of formatting
> > changes and attempted to verify the code as much as I could (well,
> > I didn't pay much attention to Alpha's ASM).
> >
> > Since I don't have access to a Linux/Alpha or Linux/Sparc box, I
> > don't know what the right processor #define would be - so I took
> > a guess.
> I can test this on Alpha and Sparc - probably tonight for the Sparc, later
> in the week for Alpha.
> Cheers,
> -Thom
vore% ./build/config.guess
sparc64-unknown-linux-gnu
[...]
make[1]: Entering directory `/home/thom/apr/atomic/linux'
/bin/sh /home/thom/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 -c
apr_atomic_linux.c && touch apr_atomic_linux.lo
apr_atomic_linux.c:331: warning: #warning Your platform is not supported
with processor-level atomics. Switching to generic fallback implementation.
In file included from apr_atomic_linux.c:339:
../unix/apr_atomic.c:69: redefinition of `apr_atomic_init'
../unix/apr_atomic.c:69: `apr_atomic_init' previously defined here
../unix/apr_atomic.c:87: redefinition of `apr_atomic_add'
../unix/apr_atomic.c:87: `apr_atomic_add' previously defined here
../unix/apr_atomic.c:99: redefinition of `apr_atomic_set'
../unix/apr_atomic.c:99: `apr_atomic_set' previously defined here
../unix/apr_atomic.c:111: redefinition of `apr_atomic_inc'
../unix/apr_atomic.c:111: `apr_atomic_inc' previously defined here
../unix/apr_atomic.c:123: redefinition of `apr_atomic_dec'
../unix/apr_atomic.c:123: `apr_atomic_dec' previously defined here
../unix/apr_atomic.c:140: redefinition of `apr_atomic_cas'
../unix/apr_atomic.c:140: `apr_atomic_cas' previously defined here
make[1]: *** [apr_atomic_linux.lo] Error 1
make[1]: Leaving directory `/home/thom/apr/atomic/linux'
make: *** [all-recursive] Error 1
Cheers,
-Thom
--
Thom May -> [EMAIL PROTECTED]
<joeyh> Subject: Shape shifting reptilians are about to achieve
complete control over this planet
<asuffield> they're coming to enslave our women and breed with our
tuna casserole