Package: libstlport4.6-dev
Version: 4.6.2-3
Severity: important

I'm trying to build the following program:

   #include <vector>

   int main()
   {
      std::vector<int> v;
      v[10] = 5;
      return 0;
   }

Using STLPort checked mode:

  g++ -I /usr/include/stlport -D_STLP_DEBUG=1 -o stlport stlport.cpp 
   -lstlport_debug

Expected result: compile succeeds. On startup, application reports that
I'm writing to non-existent vector element.

Actual result:
/tmp/ccikiYkx.o(.gnu.linkonce.t._ZN4_STL12__owned_linkD1Ev+0x16): In function 
`_STL::__owned_link::~__owned_link [in-charge]()':
: undefined reference to 
`_STL::__stl_debug_engine<bool>::_M_detach(_STL::__owned_list*, 
_STL::__owned_link*)'
/tmp/ccikiYkx.o(.gnu.linkonce.t._ZN4_STL12__owned_list15_Invalidate_allEv+0xd): 
In function `_STL::__owned_list::_Invalidate_all()':
: undefined reference to 
`_STL::__stl_debug_engine<bool>::_Invalidate_all(_STL::__owned_list*)'


The "stlport_debug" is the only library in package with "debug" in the
same. But I've tried other present libraries with the same effect. Looks
like the "_debug" library is built without _STLP_DEBUG or there's some
configuration problem. Since debug mode
is the primary feature of STLPort (now that libstdc++ is in good shape),
this seriously reduces package usefullness.


-- System Information:
Debian Release: 3.1
  APT prefers proposed-updates
  APT policy: (640, 'proposed-updates'), (640, 'stable'), (620, 
'testing-proposed-updates'), (620, 'testing'), (600, 'unstable'), (550, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-zigzag
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages libstlport4.6-dev depends on:
ii  g++ [c++-compiler]           4:3.3.5-3   The GNU C++ compiler
ii  g++-2.95 [c++-compiler]      1:2.95.4-22 The GNU C++ compiler
ii  g++-3.3 [c++-compiler]       1:3.3.5-13  The GNU C++ compiler
ii  g++-3.4 [c++-compiler]       3.4.3-13    The GNU C++ compiler
ii  libstlport4.6c2              4.6.2-3     STLport C++ class library

libstlport4.6-dev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to