Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-06-06 11:45:02


ronnie_raj wrote:

>
> Hello,
> I'm been developing an application on SUSE 9.3, gcc 3.3.5
.....
> /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:
> `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
> referenced in section `.rodata' of sg_gui_export_dialog.o: defined in
> discarded section
> `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
> of sg_gui_export_dialog.o

I believe the problem is that your gcc is too old, your binutils are
too new, and this results in this error for any non-trivial C++ code.
Searching gcc bugzilla will give you the exact bug report, but I don't
know any workarounds except for:

1. Using newer gcc like 4.*
2. Using older binutils (like maybe 2.13, but I don't remember exactly)

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net