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

RE: compile svn-1.6.1 on aix 5.3 error

From: ZhongZhiwei <fszzw_at_sina.com>
Date: Fri, 24 Apr 2009 00:08:50 -0700 (PDT)

this problem is resolved.

just comment a line in subversion/svnserve/serve.c

#include <unistd.h> /* For getpid() */

> i success compile subversion-1.5.3 on aix 5.3 before, but now when i compile subversion-1.6.1 on aix 5.3, these are some errors like below. how to resolve this problem?
> cc -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -qlanglvl=extended -qHALT=E -D_LARGEFILE64_SOURCE -DNE_LFS -I./subversion/include -I./subversion -I/home/fnssvn/source/subversion-1.6.1/apr/include -I/home/fnssvn/source/subversion-1.6.1/apr-util/include -I/home/fnssvn/source/subversion-1.6.1/apr-util/xml/expat/lib -I/home/fnssvn/source/subversion-1.6.1/neon/src -I/home/fnssvn/local/include/neon -I/home/fnssvn/source/subversion-1.6.1/sqlite-amalgamation -I/home/fnssvn/local/include -o subversion/svnserve/serve.o -c subversion/svnserve/serve.c
> "subversion/svnserve/serve.c", line 1981.21: 1506-343 (S) Redeclaration of stat differs from previous declaration on line 320 of "/usr/include/sys/stat.h". "subversion/svnserve/serve.c", line 1981.21: 1506-050 (I) Return type "struct svn_error_t*" in redeclaration is not compatible with the previous return type "int".
> "subversion/svnserve/serve.c", line 1981.21: 1506-376 (I) Redeclaration of stat has a different number of fixed parameters than the previous declaration.
> "subversion/svnserve/serve.c", line 1981.21: 1506-377 (I) The type "struct svn_ra_svn_conn_st*" of parameter 1 differs from the previous type "const char*".
> make: 1254-004 The error code from the last command is 1.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-24 09:09:42 CEST

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