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 20:55:06 2006