Boost logo

Boost Users :

From: silvermangbs (silvermangbs_at_[hidden])
Date: 2003-05-05 21:05:27


If I do not run configure first, I get the following link errors
when I try to build threads

gcc-Link-
action ../../../libs/thread/build/bin/libboost_thread.dll/gcc-
nocygwin/debug/runtime-link-dynamic/threading-
multi/libboost_thread.dll
/usr//lib/libstdc++.a(vterminate.o)
(.text$_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x71): undefined
reference to `_impure_ptr'
/usr//lib/libstdc++.a(vterminate.o)
(.text$_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xb6): undefined
reference to `_impure_ptr'
/usr//lib/libstdc++.a(cxa_demangle.o)
(.text$demangle_v3_with_details+0x87): undefined reference to
`_impure_ptr'
/usr//lib/libstdc++.a(cxa_demangle.o)
(.text$demangle_v3_with_details+0xaf): undefined reference to
`_impure_ptr'
/usr//lib/libstdc++.a(ios.o)
(.text$_ZNSt8ios_base4Init13_S_ios_createEb+0x3e): undefined
reference to `_impure_ptr'
/usr//lib/libstdc++.a(ios.o)
(.text$_ZNSt8ios_base4Init13_S_ios_createEb+0x67): more undefined
references to `_impure_ptr' follow
/usr//lib/libstdc++.a(locale.o)
(.text$_ZNSt5ctypeIcE13classic_tableEv+0x4): undefined reference to
`_imp___ctype_'
/usr//lib/libstdc++.a(pure.o)(.text$__cxa_pure_virtual+0xe):
undefined reference to `_impure_ptr'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKPii+0x28):
undefined reference to `__errno'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKPii+0x5c):
undefined reference to `__errno'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vImEvPKcRT_RSt12_Ios_IostateRKPii+0x28):
undefined reference to `__errno'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vImEvPKcRT_RSt12_Ios_IostateRKPii+0x5c):
undefined reference to `__errno'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vIxEvPKcRT_RSt12_Ios_IostateRKPii+0x25):
undefined reference to `__errno'
/usr//lib/libstdc++.a(c++locale.o)
(.text$_ZSt14__convert_to_vIxEvPKcRT_RSt12_Ios_IostateRKPii+0x5f):
more undefined references to `__errno' follow

--- In Boost-Users_at_[hidden], David Abrahams <dave_at_b...> wrote:
> "silvermangbs" <silvermangbs_at_y...> writes:
>
> > Maybe I answered my own question. I set CXXFLAGS to -mno-cygwin
and
> > ran configure. The user.hpp file it generated allowed me to
build the
> > threads for the first time.
>
> Running configure should generally not be needed, especially for
> well-supported platforms like Windows. I certainly built the
threads
> library using gcc-nocygwin without doing any config steps. I'm
very
> surprised that you needed to do it.
>
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com


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