Package: libstlport5.1
Version: 5.0.99rc2-7
Severity: normal

While linking a C++ program against -lstlport, I get the following
error:
/usr/include/stlport/stl/_fstream.c:291: undefined reference to 
`stlp_std::_Filebuf_base::_M_seek(long, int)'

A grep for _M_seek gives:
/usr/include/stlport/stl/_fstream.h:  streamoff _M_seek(streamoff __offset, 
ios_base::seekdir __dir);

and streamoff is a long int on my system (a Athlon, i.e. 32bit):
__extension__ typedef long int __off_t;
typedef __off_t off_t;
typedef off_t streamoff;

but libstlport.so contains (via objdump -CT /usr/lib/libstlport.so|grep 'seek(')
0002d0e0 g    DF .text  000000a2  Base stlp_std::_Filebuf_base::_M_seek(long 
long, int)

The same is actually also true for libstlport5.0

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libstlport5.1 depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-17  GCC support library

libstlport5.1 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