[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: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2006-11-30 21:28:28 CET

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.

Take care,

Jeremy

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 Thu Nov 30 21:29:16 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.