Hi All,
Thanks to the #fink channel on irc.freenode.net, I have figured this
out. Run the following after your configure command but before your make
command:
perl -pi -e "s/-all_load//g" libtool
This makes the "make javahl" target work. :) Look for this juicy tidbit on
http://subversion.open.collab.net soon.
Take care,
Jeremy
On 11/30/06, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
>
> Christian,
> Still no luck. Here is my configure:
>
> jmac:~/dev/svn/1.4.2 jwhitlock$ ./configure --prefix=/usr/local/svn
> --enable-javahl --with-apr=/usr/local/apr/ --with-neon=/usr/local/neon/
> --with-ssl --without-apxs --with-jike=no
> --with-apr-util=/usr/local/apr-util/ --with-berkeley-db=/usr/local/bdb
> --with-junit=/Users/jwhitlock/.m2/repository/junit/junit/3.8.1/junit-
> 3.8.1.jar--with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
> --enable-shared --disable-mod-activation --without-swig --without-python
> --without-perl --without-ruby --disable-dependency-tracking
>
> I am using a nearly identical configure script. I am getting no errors
> other than the one posted in the original email. Is there anyway you can
> output your environment variables, configure command and anything else that
> might help me out? Or...you can ask me questions to help me over email. I
> am also online in irc...#svn on irc.freenode.net.
>
> Take care,
>
> Jeremy
>
> On 11/30/06, Jeremy Whitlock < jcscoobyrs@gmail.com> wrote:
> >
> > Christian,
> > Funny thing is that I was using the darwinports equivalent of this
> > file and still having problems. I will test this out and get back to you.
> > Thanks for your help.
> >
> > Take care,
> >
> > Jeremy
> >
> > On 11/30/06, Christian Schaffner <chris01@users.sourceforge.net > wrote:
> > >
> > >
> > > On 30.11.2006, at 14:28, Jeremy Whitlock wrote:
> > >
> > > > Ryan,
> > > > No other errors. It is wild. I have all Mac patches installed
> > > > and the latest development tools. I wonder if it has a problem
> > > > building against Java 1.5.0 but I doubt that is the case.
> > >
> > > The fink package svn-javahl builds against Mac OS X supplied java 1.5
> > > without problems. Have a look how it is done at:
> > >
> > > http://fink.cvs.sourceforge.net/fink/dists/10.4/unstable/main/
> > > finkinfo/devel/svn-javahl.info?view=markup
> > >
> > > Hope that helps,
> > > Christian.
> > >
> > > > On 11/30/06, Ryan Schmidt < subversion-2006d@ryandesign.com> wrote:
> > > > On Nov 29, 2006, at 22:37, Jeremy Whitlock wrote:
> > > >
> > > > > I am trying to compile javahl (1.4.2) on the Mac and I keep
> > > > > encountering this:
> > > > >
> > > > > ld: multiple definitions of symbol ___divdi3
> > > > > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_divdi3.o)
> > > > > private external definition of ___divdi3 in section
> > > (__TEXT,__text)
> > > > > /usr/lib/libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3
> > > > > ld: multiple definitions of symbol ___udivdi3
> > > > > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o)
> > > > > private external definition of ___udivdi3 in section
> > > (__TEXT,__text)
> > > > > /usr/lib/libgcc_s.10.4.dylib(_udivdi3_s.o) definition of
> > > ___udivdi3
> > > > > ld: multiple definitions of symbol ___umoddi3
> > > > > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o)
> > > > > private external definition of ___umoddi3 in section
> > > (__TEXT,__text)
> > > > > /usr/lib/libgcc_s.10.4.dylib(_umoddi3_s.o) definition of
> > > ___umoddi3
> > > > > /usr/bin/libtool: internal link edit command failed
> > > > > make: *** [subversion/bindings/java/javahl/native/
> > > > > libsvnjavahl-1.la ] Error 1
> > > > >
> > > > > My configure looks like this:
> > > > >
> > > > > jmac:~/dev/svn/1.4.2 jwhitlock$ ./configure
> > > --prefix=/usr/local/svn
> > > > > --enable-javahl --with-apr=/usr/local/apr/ --with-neon=/usr/local/
> > >
> > > > > neon/ --with-swig=/usr/local/swig/ --with-ssl --with-apxs=/usr/
> > > > > local/apache2/bin/apxs --without-jikes --with-apr-util=/usr/local/
> > > > > apr-util/ --with-berkeley-db=/usr/local/bdb --with-junit=/Users/
> > > > > jwhitlock/.m2/repository/junit/junit/3.8.1/junit- 3.8.1.jar
> > > >
> > > > I often get "multiple definitions of symbol <whatever>" when
> > > > compiling several different packages on Mac OS X and assumed it's
> > > not
> > > > a problem, since everything still seems to work. Is there any other
> > > > error message before these messages?
> > > >
> > > >
> > > > > Does anyone see what I may be doing wrong? I've also tried
> > > "--with-
> > > > > jikes=no" but no difference in the outcome. I do see one thread
> > > > > about this online but there was no fix. Just a suggestion to use
> > > > > Fink or Darwinports which I do not want to do. Can someone help
> > > me
> > > > > resolve this?
> > > >
> > > > FYI: I use Subversion from MacPorts, but it does not enable the
> > > > javahl option. Otherwise I would have recommended you look at how
> > > > MacPorts is compiling it.
> > > >
> > > >
> > > > --
> > > > To reply to the mailing list, use your mailer's Reply To All
> > > function
> > > >
> > > >
> > > >
> > >
> > >
> >
>
Received on Fri Dec 1 02:53:01 2006