[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158581: g++-3.2: problem location header files



Package: g++-3.2
Version: 1:3.2-0pre4
Severity: normal

Upon linking my app, I get the following error:

main.o: In function `std::basic_streambuf<char, std::char_traits<char> >::setg(char*, char*, char*)': /usr/include/g++-v3/bits/stl_map.h(.gnu.linkonce.t._ZNSt13_Format_cacheIcE6_S_getERSt8ios_base+0x75): undefined reference to `std::_Format_cache<char>::_Format_cache[in-charge]()'
main.o: In function `main':
<local filename...>:101: undefined reference to `std::_Format_cache<char>::_Format_cache[in-charge]()'
collect2: ld returned 1 exit status

It looks like g++-3.2 is using the header files under /usr/include/g++-* rather than /usr/include/c++/3.2?
(Since _Format_cache isn't defined in libstdc++5-dev files)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux natsumi 2.4.20-pre4-ac1 #1 Sun Aug 25 12:50:57 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages g++-3.2 depends on:
ii  gcc-3.2                      1:3.2-0pre4 The GNU C compiler.
ii  gcc-3.2-base                 1:3.2-0pre4 The GNU Compiler Collection (base 
ii  libc6                        2.2.5-14    GNU C Library: Shared libraries an
ii  libstdc++5-dev               1:3.2-0pre4 The GNU stdc++ library version 3 (

-- no debconf information




Reply to: