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

Re: svn commit: r10023 - in trunk: . build/ac-macros subversion/bindings/swig subversion/bindings/swig/perl/native

From: Ben Reser <ben_at_reser.org>
Date: 2004-06-18 06:21:23 CEST

On Thu, Jun 17, 2004 at 08:57:16PM -0400, Garrett Rooney wrote:
> On Thu, 17 Jun 2004 15:26:30 -0500, breser@tigris.org <breser@tigris.org> wrote:
> >
> > Author: breser
> > Date: Thu Jun 17 15:26:29 2004
> > New Revision: 10023
> >
> > Modified:
> > trunk/Makefile.in
> > trunk/build.conf
> > trunk/build/ac-macros/swig.m4
> > trunk/subversion/bindings/swig/INSTALL
> > trunk/subversion/bindings/swig/perl/native/ (props changed)
> > trunk/subversion/bindings/swig/perl/native/Makefile.PL.in
> > Log:
> > Finish up making the Perl binding build integrated into the Subversion mainline
> > build process. In the process make the Perl bindings build a lot smarter about
> > dependcies! Also the Perl bindings will now build and install by default if
> > they are enabled.
> >
>
> I'm not sure if it's this change precisely, but after the recent
> modifications to the perl bindings I can no longer build
> libsvn_swig_perl on Mac OS X, it complains about a number of missing
> symbols. Here's the output from the failed attempt to link...
>
> -garrett
>
> /bin/sh /Users/rooneg/Hacking/svn/libtool --silent --mode=compile gcc
> -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -g
> -DNEON_ZLIB -DNEON_SSL -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith
> -Wwrite-strings -Wshadow
> -I/Users/rooneg/Hacking/svn/subversion/bindings/swig
> -I/Users/rooneg/Hacking/svn/subversion/include
> -I/Users/rooneg/Hacking/prefix/lib/swig1.3 -DSVN_SWIG_VERSION=103019
> -I/Users/rooneg/Hacking/prefix/include/apr-1
> -I/Users/rooneg/Hacking/prefix/include/apr-1
> -I/Users/rooneg/Hacking/prefix/include -g -pipe -pipe -fno-common
> -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
> -I/usr/local/include
> -I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE
> -I/Users/rooneg/Hacking/svn/subversion/bindings/swig/perl/libsvn_swig_perl
> -I./subversion/include -I. -I/Users/rooneg/Hacking/prefix/include/neon
> -I/Users/rooneg/Hacking/prefix/include/apr-1
> -I/Users/rooneg/Hacking/prefix/include/apr-1
> -I/Users/rooneg/Hacking/prefix/include -o
> subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.lo -c
> /Users/rooneg/Hacking/svn/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c
> In file included from
> /Users/rooneg/Hacking/svn/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:3394:
> warning: declaration of `exp' shadows a global declaration
> /usr/include/architecture/ppc/math.h:248: warning: shadowed declaration is here
> In file included from
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:3530,
> from
> /Users/rooneg/Hacking/svn/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:84:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:365:
> warning: declaration of `send' shadows a global declaration
> /usr/include/sys/socket.h:521: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:479:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:483:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:494:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:596:
> warning: declaration of `exp' shadows a global declaration
> /usr/include/architecture/ppc/math.h:248: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:793:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:902:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:903:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/proto.h:904:
> warning: declaration of `floor' shadows a global declaration
> /usr/include/architecture/ppc/math.h:321: warning: shadowed declaration is here
> cd subversion/bindings/swig/perl/libsvn_swig_perl && /bin/sh
> /Users/rooneg/Hacking/svn/libtool --silent --mode=link gcc -g -g
> -DNEON_ZLIB -DNEON_SSL -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith
> -Wwrite-strings -Wshadow -L/Users/rooneg/Hacking/prefix/lib
> -L/Users/rooneg/Hacking/prefix/lib -rpath
> /Users/rooneg/Hacking/prefix/lib -o libsvn_swig_perl-1.la
> -no-undefined swigutil_pl.lo
> /Users/rooneg/Hacking/prefix/lib/libaprutil-1.la -ldb-4.2 -lexpat
> -liconv /Users/rooneg/Hacking/prefix/lib/libapr-1.la -lpthread
> ld: Undefined symbols:
> _Perl_Gthr_key_ptr
> _Perl_Isv_undef_ptr
> _Perl_PerlIO_close
> _Perl_PerlIO_fileno
> _Perl_PerlIO_read
> _Perl_PerlIO_write
> _Perl_Tmarkstack_max_ptr
> _Perl_Tmarkstack_ptr_ptr
> _Perl_Tstack_base_ptr
> _Perl_Tstack_max_ptr
> _Perl_Tstack_sp_ptr
> _Perl_Ttmps_floor_ptr
> _Perl_Ttmps_ix_ptr
> _Perl_av_fetch
> _Perl_av_len
> _Perl_av_push
> _Perl_call_method
> _Perl_call_sv
> _Perl_croak_nocontext
> _Perl_free_tmps
> _Perl_hv_fetch
> _Perl_hv_iterinit
> _Perl_hv_iternextsv
> _Perl_hv_store
> _Perl_markstack_grow
> _Perl_mg_find
> _Perl_newAV
> _Perl_newHV
> _Perl_newRV
> _Perl_newRV_noinc
> _Perl_newSViv
> _Perl_newSVpv
> _Perl_newSVpvn
> _Perl_pop_scope
> _Perl_push_scope
> _Perl_save_int
> _Perl_stack_grow
> _Perl_sv_2bool
> _Perl_sv_2io
> _Perl_sv_2iv
> _Perl_sv_2mortal
> _Perl_sv_2pv_nolen
> _Perl_sv_derived_from
> _Perl_sv_free
> _Perl_sv_isobject
> _Perl_sv_newmortal
> _SWIG_ConvertPtr
> _SWIG_MakePtr
> _SWIG_TypeQuery
> _svn_delta_default_editor
> _svn_delta_noop_window_handler
> _svn_error__locate
> _svn_error_create
> _svn_stream_create
> _svn_stream_set_close
> _svn_stream_set_read
> _svn_stream_set_write
> _svn_string_create
> /usr/bin/libtool: internal link edit command failed
> make: *** [subversion/bindings/swig/perl/libsvn_swig_perl/libsvn_swig_perl-1.la]
> Error 1

Absolutely nothing was changed in the build of libsvn_swig_perl-1.la.
So this change didn't break this for you. Plus the symbol names are
wrong. None of them should start with _. Can you find the exact
revision where this starts breaking?

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 18 06:22:10 2004

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.