You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Rogers, Donald" <Do...@openpolytechnic.ac.nz> on 2005/05/26 02:34:45 UTC

subversion 1.2.0 errors in make

I am trying to make Subversion 1.2.0 on a Linux box (not a distro), with Apache 2. I did 
	./configure --with-apxs=/usr/lib/apache/bin/apxs
	make clean 
	make

These 2 errors appear in the config.log. (The whole file zipped is attached.) Does anyone know how to fix them?

...
configure:2502: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2508: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

...

configure:5066: g++ -c -g -O2   -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:26: error: `exit' undeclared (first use this function)
conftest.cc:26: error: (Each undeclared identifier is reported only once for each function it appears in.)
...

Donald Rogers