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

Compile javahl on osx problem

From: David Mahakian <tmoli42_at_gmx.net>
Date: 2006-10-11 11:59:44 CEST

Cannot compile javahl bindings on osx (10.4.8, Macbook, latest updates).
Compile without javahl works fine.

Using subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz

with steps

./configure --enable-javahl
make
make javahl (errors here)
sudo make install

Errors out on the following command when running make javahl:

cd subversion/bindings/java/javahl/native && /bin/sh
/Users/drmahakian/Development/subversion-1.4.0/libtool --tag=CXX
--silent --mode=link g++ -g -O2 -g -O2 -L/usr/local/lib -lstdc++
-rpath /usr/local/lib -o libsvnjavahl-1.la BlameCallback.lo
CommitMessage.lo EnumMapper.lo Inputer.lo JNIByteArray.lo
JNICriticalSection.lo JNIMutex.lo JNIStackElement.lo JNIStringHolder.lo
JNIThreadData.lo JNIUtil.lo MessageReceiver.lo Notify.lo Notify2.lo
Outputer.lo Path.lo Pool.lo Prompter.lo Revision.lo SVNAdmin.lo
SVNBase.lo SVNClient.lo Targets.lo libsvnjavahl.la.lo
org_tigris_subversion_javahl_Path.lo
org_tigris_subversion_javahl_SVNAdmin.lo
org_tigris_subversion_javahl_SVNClient.lo
org_tigris_subversion_javahl_Version.lo
../../../../../subversion/libsvn_repos/libsvn_repos-1.la
../../../../../subversion/libsvn_client/libsvn_client-1.la
../../../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../../../subversion/libsvn_ra/libsvn_ra-1.la
../../../../../subversion/libsvn_delta/libsvn_delta-1.la
../../../../../subversion/libsvn_subr/libsvn_subr-1.la
/Users/drmahakian/Development/subversion-1.4.0/apr-util/libaprutil-0.la
-lexpat -liconv
/Users/drmahakian/Development/subversion-1.4.0/apr/libapr-0.la -lresolv
   -lpthread
/Users/drmahakian/Development/subversion-1.4.0/neon/src/libneon.la
-framework Security -framework CoreFoundation -framework CoreServices
-lz libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved libtool: link: warning:
`/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libiconv.la' seems to
be moved ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/i686-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/i686-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/i686-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

- David Mahakian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 11 12:00:41 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.