To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=48163 Issue #:|48163 Summary:|multiple definitions in linking berkeleydb Component:|porting Version:|680m95 Platform:|Sun URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|mh Reported by:|sparcmoz
------- Additional comments from [EMAIL PROTECTED] Tue Apr 26 01:01:00 -0700 2005 ------- building berkeleydb on linux sparc with db-4.2.52.patch m95 <snip> -L/usr/lib/../lib /usr/local/lib/../lib/libstdc++.so -lm -lc -lgcc_s_32 /usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtendS.o / usr/lib/../lib/crtn.o -m32 -o .libs/libdb_cxx-4.2.so /usr/lib/../lib/crti.o(.init+0x0): In function `_init': /build/buildd/glibc-2.3.2.ds1/build-tree/sparc-libc/csu/crti.S:9: multiple defin ition of `_init' /usr/lib/../lib/crti.o(.init+0x0):/build/buildd/glibc-2.3.2.ds1/build-tree/sparc -libc/csu/crti.S:9: first defined here /usr/bin/ld: Disabling relaxation: it will not work with multiple definitions /usr/lib/../lib/crti.o(.fini+0x0): In function `_fini': : multiple definition of `_fini' /usr/lib/../lib/crti.o(.fini+0x0): first defined here /usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtbeginS.o(.data.rel+0x0) : multiple definition of `__dso_handle' /usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtbeginS.o(.data.rel+0x0) : first defined here collect2: ld returned 1 exit status make: *** [libdb_cxx-4.2.la] Error 1 dmake: Error code 2, while making './unxlngs.pro/misc/build/so_built_so_berkele ydb' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/jim/ooo/berkeleydb <snip> [EMAIL PROTECTED]:~/ooo/berkeleydb$ grep -r crti.o * unxlngs.pro/misc/build/db-4.2.52.NC/out/libtool:predep_objects="/usr/lib/../lib/crti.o /usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtbeginS.o" If i comment out these lines 6806 - 6810 from that libtool then the errors go away. #predep_objects="/usr/lib/../lib/crti.o /usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtbeginS.o" #postdep_objects="/usr/local/lib/gcc/sparc64-unknown-linux-gnu/3.4.3/32/crtendS.o /usr/lib/../lib/crtn.o" btw dmake create_patch outputs this message and did not pick up my changes "still some problems with win32 generated patches..." --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]