Link failures in current lyx-svn
text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: multiple definition of `(anonymous namespace)::_6' Bidi.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_algobase.h:617: first defined here text.o(.bss+0x4):../boost/boost/shared_ptr.hpp:253: multiple definition of `(anonymous namespace)::_5' Bidi.o(.bss+0x4):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/ext/mt_allocator.h:386: first defined here And plenty more on FC4. regards john
Re: Link failures in current lyx-svn
John Levon <[EMAIL PROTECTED]> writes: | text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: | multiple definition of `(anonymous namespace)::_6' | Bidi.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_algobase.h:617: | first defined here | text.o(.bss+0x4):../boost/boost/shared_ptr.hpp:253: multiple definition | of `(anonymous namespace)::_5' | Bidi.o(.bss+0x4):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/ext/mt_allocator.h:386: | first defined here | | And plenty more on FC4. I don't get them. FC4 and FC5 works flawlessly for me. -- Lgb
Re: Link failures in current lyx-svn
On Sun, Apr 09, 2006 at 10:25:25PM +0200, Lars Gullik Bjønnes wrote: > | > text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: > | multiple definition of `(anonymous namespace)::_6' > > I don't get them. > > FC4 and FC5 works flawlessly for me. So what am I doing wrong? This used to work, now it doesn't. john
Re: Link failures in current lyx-svn
John Levon <[EMAIL PROTECTED]> writes: | On Sun, Apr 09, 2006 at 10:25:25PM +0200, Lars Gullik Bjønnes wrote: | | > | text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: | > | multiple definition of `(anonymous namespace)::_6' | > | > I don't get them. | > | > FC4 and FC5 works flawlessly for me. | | So what am I doing wrong? This used to work, now it doesn't. Things to try: --disable-stdlib-debug --disable-pch (I run with --enable-pch) I am somewhat at a loss why some people have problems with fc4/fc5. -- Lgb
Re: Link failures in current lyx-svn
On Mon, Apr 10, 2006 at 10:58:22AM +0200, Lars Gullik Bjønnes wrote: > --disable-stdlib-debug Already tried both. > --disable-pch OK. Is the default to enable? john
Re: Link failures in current lyx-svn
John Levon <[EMAIL PROTECTED]> writes: | On Mon, Apr 10, 2006 at 10:58:22AM +0200, Lars Gullik Bjønnes wrote: | | > --disable-stdlib-debug | | Already tried both. | | > --disable-pch | | OK. Is the default to enable? Yes, if we deem the compiler new enough we enable pch. -- Lgb
Re: Link failures in current lyx-svn
On Sun, Apr 09, 2006 at 10:25:25PM +0200, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | > text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: > | multiple definition of `(anonymous namespace)::_6' > | > Bidi.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_algobase.h:617: > | first defined here > | text.o(.bss+0x4):../boost/boost/shared_ptr.hpp:253: multiple definition > | of `(anonymous namespace)::_5' > | > Bidi.o(.bss+0x4):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/ext/mt_allocator.h:386: > | first defined here > | > | And plenty more on FC4. > > I don't get them. > > FC4 and FC5 works flawlessly for me. Just catching up with the mailing list... Aha!!! Someone else is seeing these now too! -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92)
Re: Link failures in current lyx-svn
On Mon, 2006-04-10 at 14:09 -0700, Kayvan A. Sylvan wrote: > On Sun, Apr 09, 2006 at 10:25:25PM +0200, Lars Gullik Bjønnes wrote: > > John Levon <[EMAIL PROTECTED]> writes: > > > > | > > text.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_vector.h:352: > > | multiple definition of `(anonymous namespace)::_6' > > | > > Bidi.o(.bss+0x3):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/stl_algobase.h:617: > > | first defined here > > | text.o(.bss+0x4):../boost/boost/shared_ptr.hpp:253: multiple definition > > | of `(anonymous namespace)::_5' > > | > > Bidi.o(.bss+0x4):/usr/lib/gcc/x86_64-redhat-linux/4.0.2/../../../../include/c++/4.0.2/ext/mt_allocator.h:386: > > | first defined here > > | > > | And plenty more on FC4. > > > > I don't get them. > > > > FC4 and FC5 works flawlessly for me. > > Just catching up with the mailing list... > > Aha!!! Someone else is seeing these now too! Yes, I see/saw them too. The remedy is more or less what Lars suggested: add the --disable-pch option to configure, run it, and make clean. The 'make clean' is essential here. Then the compile and link goes through without error. - Martin signature.asc Description: This is a digitally signed message part