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

Re: Perl bindings and JavaHL fail to compile

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-12-22 19:46:05 CET

Arfrever Frehtes Taifersar Arahesis wrote:
> It's r28634.
> Perl bindings:
> make[2]: Entering directory `/var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/swig/perl/native'
> i686-pc-linux-gnu-gcc -c -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl -I../../../../../subversion/include -I../../../../../subversion -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=athlon64 -pipe -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 svn_client.c
> In file included from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:38,
> from svn_client.c:1597:
> ../../../../../subversion/svn_private_config.h:159:1: warning: "_" redefined
> In file included from /usr/lib/perl5/5.8.8/i686-linux/CORE/perl.h:37,
> from svn_client.c:709:
> /usr/lib/perl5/5.8.8/i686-linux/CORE/config.h:3808:1: warning: this is the location of the previous definition
> svn_client.c: In function '_wrap_svn_client_get_changelists':
> svn_client.c:24160: error: 'alloc2' undeclared (first use in this function)
> svn_client.c:24160: error: (Each undeclared identifier is reported only once
> svn_client.c:24160: error: for each function it appears in.)
> svn_client.c:24160: error: 'buf2' undeclared (first use in this function)
> make[2]: *** [svn_client.o] Error 1
> make[2]: Leaving directory `/var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/swig/perl/native'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/swig/perl/native'
> make: *** [swig-pl] Error 2
>
> JavaHL:
> /bin/sh /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/libtool --tag=CXX --silent --mode=compile i686-pc-linux-gnu-g++ -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -march=athlon64 -pipe -O2 -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -I/usr/include/serf-0 -I/usr/local/include -I/usr/include -I/opt/sun-jdk-1.6.0.03/include -I/opt/sun-jdk-1.6.0.03/include -I/opt/sun-jdk-1.6.0.03/include/linux -I/var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/include -o subversion/bindings/javahl/native/SVNBase.lo -c /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/native/SVNBase.cpp
> /bin/sh /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/libtool --tag=CXX --silent --mode=compile i686-pc-linux-gnu-g++ -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -march=athlon64 -pipe -O2 -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -I/usr/include/serf-0 -I/usr/local/include -I/usr/include -I/opt/sun-jdk-1.6.0.03/include -I/opt/sun-jdk-1.6.0.03/include -I/opt/sun-jdk-1.6.0.03/include/linux -I/var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/include -o subversion/bindings/javahl/native/SVNClient.lo -c /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/native/SVNClient.cpp
> /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/native/SVNClient.cpp: In member function '_jobjectArray* SVNClient::getChangelist(const char*, const char*)':
> /var/tmp/portage/dev-util/subversion-1.5_pre28634/work/subversion-1.5_pre28634/subversion/bindings/javahl/native/SVNClient.cpp:1585: error: 'svn_client_get_changelist' was not declared in this scope
> make: *** [subversion/bindings/javahl/native/SVNClient.lo] Error 1
>
> Could anybody fix it?

I've "fixed" the JavaHL build in r28637. r28637 does not update JavaHL to
include the callback-related changes to the changelist API; I plan on doing
those in a bit.

-Hyrum

Received on Sat Dec 22 19:46:17 2007

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