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

Compiling Javahl on Mac (1.4.2)

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2006-11-30 05:37:45 CET

Hi All,
    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

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?

Take care,

Jeremy
Received on Thu Nov 30 05:38:34 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.