[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

clean OSX build -- compile error.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-09-17 05:42:19 CEST

I'm trying to get Subversion (and all dependencies) built from scratch
on a brand new OSX 10.3.5 machine. Can someone help me out?

Here's what I've done:

* installed the XCode 1.5 packages (gives me gcc 3.3 toolchain)
* built and installed neon-0.24.7 tarball
* built and installed bdb-4.2.52 tarball
* build and installed httpd-2.0.51 (pointing its apr-util to BDB, of
course)
* in my new working copy of /trunk, run ./configure and make.

I've seen no obvious errors at any point in this process, until gcc
tries to compile libsvn_subr/io.c.
The error is freaky to me, since it's dealing with darwin kernel
headers. Any OSX folks have a clue here?

/bin/sh /Users/sussman/projects/svn/libtool --silent --mode=compile gcc
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DNEON_ZLIB -DNEON_SSL -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith
-Wwrite-strings -Wshadow -std=c89 -I./subversion/include
-I./subversion -I/usr/local/include/neon -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.2/include -o
subversion/libsvn_subr/io.lo -c subversion/libsvn_subr/io.c
In file included from /usr/include/libkern/OSByteOrder.h:35,
                  from /usr/include/architecture/byte_order.h:34,
                  from /usr/include/mach-o/loader.h:47,
                  from /usr/include/mach-o/dyld.h:34,
                  from /usr/local/apache2/include/apr_portable.h:162,
                  from subversion/libsvn_subr/io.c:48:
/usr/include/libkern/ppc/OSByteOrder.h:42: error: syntax error before
"uint16_t"
/usr/include/libkern/ppc/OSByteOrder.h:57: error: syntax error before
"uint32_t"
/usr/include/libkern/ppc/OSByteOrder.h:72: error: syntax error before
"uint64_t"
/usr/include/libkern/ppc/OSByteOrder.h:93: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:107: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:121: error: syntax error before
"void"
/usr/include/libkern/ppc/OSByteOrder.h:143: error: syntax error before
"uint16_t"
/usr/include/libkern/ppc/OSByteOrder.h:153: error: syntax error before
"uint32_t"
/usr/include/libkern/ppc/OSByteOrder.h:163: error: syntax error before
"uint64_t"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 17 05:42:32 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.