Hello gentlemen,
Make produces warnings and errors when trying to build v1.7.1 from source.
I have even tried with the latest sqlite source, but with no luck:
./configure --with-ssl --enable-javahl --with-jdk=/usr/lib/jvm/jdk1.6.0_29/
--prefix=/usr/local/subversion-1.7.1
--with-sqlite=./sqlite-amalgamation/sqlite3.c
Here are the error messages
In file included from subversion/libsvn_subr/sqlite.c:32:0:
subversion/libsvn_subr/internal_statements.h:6:3: warning: missing
terminating " character [enabled by default]
subversion/libsvn_subr/internal_statements.h:8:4: warning: missing
terminating " character [enabled by default]
subversion/libsvn_subr/internal_statements.h:7:2: error: expected identifier
or '(' before string constant
subversion/libsvn_subr/internal_statements.h:7:2: error: missing terminating
" character
In file included from ./subversion/include/private/svn_sqlite.h:33:0,
from subversion/libsvn_subr/sqlite.c:34:
./subversion/include/private/svn_token.h:43:3: warning: data definition has
no type or storage class [enabled by default]
./subversion/include/private/svn_token.h:53:42: error: expected ';', ',' or
')' before '*' token
./subversion/include/private/svn_token.h:67:51: error: expected ';', ',' or
')' before '*' token
./subversion/include/private/svn_token.h:75:48: error: expected ';', ',' or
')' before '*' token
./subversion/include/private/svn_token.h:82:44: error: expected ';', ',' or
')' before '*' token
./subversion/include/private/svn_token.h:89:43: error: expected ';', ',' or
')' before '*' token
In file included from subversion/libsvn_subr/sqlite.c:34:0:
./subversion/include/private/svn_sqlite.h:207:46: error: expected ';', ','
or ')' before '*' token
./subversion/include/private/svn_sqlite.h:280:48: error: expected ';', ','
or ')' before '*' token
subversion/libsvn_subr/sqlite.c:57:1: error: missing terminating " character
subversion/libsvn_subr/sqlite.c:57:1: error: expected expression before ','
token
subversion/libsvn_subr/sqlite.c: In function 'vbindf':
subversion/libsvn_subr/sqlite.c:289:29: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
subversion/libsvn_subr/sqlite.c:289:30: error: 'map' undeclared (first use
in this function)
subversion/libsvn_subr/sqlite.c:289:30: note: each undeclared identifier is
reported only once for each function it appears in
subversion/libsvn_subr/sqlite.c:315:19: error: expected ')' before
'svn_token_map_t'
subversion/libsvn_subr/sqlite.c:316:13: error: implicit declaration of
function 'svn_sqlite__bind_token' [-Werror=implicit-function-declaration]
subversion/libsvn_subr/sqlite.c:316:13: warning: initialization makes
pointer from integer without a cast [enabled by default]
subversion/libsvn_subr/sqlite.c: At top level:
subversion/libsvn_subr/sqlite.c:386:46: error: expected ';', ',' or ')'
before '*' token
subversion/libsvn_subr/sqlite.c:503:48: error: expected ';', ',' or ')'
before '*' token
cc1: some warnings being treated as errors
make: *** [subversion/libsvn_subr/sqlite.lo] Error 1
thanks
Received on 2011-10-24 15:47:48 CEST