From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang To: egcs@cygnus.com Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1 Date: Thu, 21 Jan 1999 23:48:00 -0000 Message-id: References: X-SW-Source: 1999-01/msg00053.html >>>>> Steinar Bang : >>>>> Steinar Bang : >> Platform: linux S.u.S.E. 5.3, egcs 1.1.1 >> I'm getting messages of the following type: >> .obj/debug/exvirtualprice.o: In function `global constructors keyed to list >::global destructors keyed to clear(void)': >> /home/sb/apps/include/g++/stl_list.h:304: multiple definition of `global constructors keyed to list >::global destructors keyed to clear(void)' >> .obj/debug/exprimitiveprice.o:/home/sb/apps/include/g++/stl_list.h:304: first defined here >> collect2: ld returned 1 exit status >> when linking some (not all) of my shared libraries. >> I can't remember having seen any of these with egcs 1.0.3. [snip!] > Hm... it suddenly struck me that I've been running with > --enable-shared, and that this is not a default option, *and* that it > affects linking. I unpacked 1.1.1, configured without --enable-shared, compiled with "make bootstrap", and installed it. I still get the exact same error messages when linking some of my shared libs. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang To: egcs@cygnus.com Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1 Date: Sun, 31 Jan 1999 23:58:00 -0000 Message-ID: References: X-SW-Source: 1999-01n/msg00817.html Message-ID: <19990131235800.S-O5Q1PEirV1J1dtksrx8VTsKawtgjSkVkP4umZX9qc@z> >>>>> Steinar Bang : >>>>> Steinar Bang : >> Platform: linux S.u.S.E. 5.3, egcs 1.1.1 >> I'm getting messages of the following type: >> .obj/debug/exvirtualprice.o: In function `global constructors keyed to list >::global destructors keyed to clear(void)': >> /home/sb/apps/include/g++/stl_list.h:304: multiple definition of `global constructors keyed to list >::global destructors keyed to clear(void)' >> .obj/debug/exprimitiveprice.o:/home/sb/apps/include/g++/stl_list.h:304: first defined here >> collect2: ld returned 1 exit status >> when linking some (not all) of my shared libraries. >> I can't remember having seen any of these with egcs 1.0.3. [snip!] > Hm... it suddenly struck me that I've been running with > --enable-shared, and that this is not a default option, *and* that it > affects linking. I unpacked 1.1.1, configured without --enable-shared, compiled with "make bootstrap", and installed it. I still get the exact same error messages when linking some of my shared libs.