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

serf build failure

From: Dan Christian <dchristian_at_google.com>
Date: 2007-06-08 22:59:59 CEST

I'm getting a compile failure with serf enabled. It looks like the order of
receiver and omit_log_text is different from the source to the header.

-Dan C

/home/dchristian/build-1/libtool --tag=CC --silent --mode=compile gcc
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-I/home/dchristian/include/apr-1 -I/home/dchristian/include/apr-1 -Wall
-g -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread
-Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG
-I./subversion/include -I./subversion -I/home/dchristian/include/apr-1
-I/home/dchristian/include/apr-1 -I/home/dchristian/include/serf-0
-I/usr/local/include -o subversion/libsvn_ra_serf/log.lo -c
subversion/libsvn_ra_serf/log.c
subversion/libsvn_ra_serf/log.c: In function 'cdata_log':
subversion/libsvn_ra_serf/log.c:330: warning: unused variable 'log_ctx'
subversion/libsvn_ra_serf/log.c: At top level:
subversion/libsvn_ra_serf/log.c:370: error: conflicting types for
'svn_ra_serf__get_log'
subversion/libsvn_ra_serf/ra_serf.h:907: error: previous declaration of
'svn_ra_serf__get_log' was here
make: *** [subversion/libsvn_ra_serf/log.lo] Error 1

subversion/libsvn_ra_serf/log.c:370:
svn_error_t *
svn_ra_serf__get_log(svn_ra_session_t *ra_session,
                     const apr_array_header_t *paths,
                     svn_revnum_t start,
                     svn_revnum_t end,
                     int limit,
                     svn_boolean_t discover_changed_paths,
                     svn_boolean_t strict_node_history,
                     svn_boolean_t include_merged_revisions,
                     svn_log_message_receiver2_t receiver,
                     svn_boolean_t omit_log_text,
                     void *receiver_baton,
                     apr_pool_t *pool)
{

subversion/libsvn_ra_serf/ra_serf.h:907:
svn_error_t *
svn_ra_serf__get_log(svn_ra_session_t *session,
                     const apr_array_header_t *paths,
                     svn_revnum_t start,
                     svn_revnum_t end,
                     int limit,
                     svn_boolean_t discover_changed_paths,
                     svn_boolean_t strict_node_history,
                     svn_boolean_t include_merged_revisions,
                     svn_boolean_t omit_log_text,
                     svn_log_message_receiver2_t receiver,
                     void *receiver_baton,
                     apr_pool_t *pool);
Received on Fri Jun 8 23:00:22 2007

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.