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

Re: Compiling Javahl on Mac (1.4.2)

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2006-11-30 22:48:54 CET

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
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 30 22:52:12 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.