Sponsored Content
Full Discussion: c++ unresolved symbol
Top Forums Programming c++ unresolved symbol Post 11429 by thalex on Wednesday 5th of December 2001 09:48:23 AM
Old 12-05-2001
c++ unresolved symbol

I have this problem:

# make
gcc -g -D_REENTRANT -DDISABLE_MJPEG=1 -I. -o encmain.o -c encmain.cc

ld: 0711-317 ERROR: Undefined symbol: std::string::_Rep::_S_max_size
collect2: ld returned 8 exit status

but

from /usr/local/include/g++v3/bits/basic_string.h :


namespace std
{
.....
class basic_string
{
private:

struct _Rep
{

......
static const size_type _S_max_size
}}}

I searched the code for something like std::string::_Rep::_S_max_size but i couldnt find anything.

Any ideas?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

timer_gettime unresolved error

I have used get_time() in my program but when I try to compile it it is giving the following error: ld: Unresolved: timer_gettime (5 Replies)
Discussion started by: basavaraj_m
5 Replies

2. Programming

Unresolved Symbol on HP UX & oracle7

Hi everyone, I have a problem. I do not succeed to linking the oracle7's library for my .so and a Unresolved Symbol :sqlcxt error returns me when I call program. this is my makefile. cc -Ae -I/usr/include/curses_colr -L/usr/lib -DUSE_TERMIOS -D_FILE64 -DDYNAMIC_LIBRARIES_SUPPORTED... (2 Replies)
Discussion started by: luckycs
2 Replies

3. Programming

How To Find Unresolved symbol in shared library?

1 . I use Digital Unix V4.0F 2 . I compile a programe which use a shared library . But when I run it( prog.out) , the shell told me that "Fatal Error : /sbin/loader : unresolved symbol in lib3cZap.so" But When I compile proj.out and lib3cZap.so , the compiler said nothing . And I ls -l... (1 Reply)
Discussion started by: chenhao_no1
1 Replies

4. UNIX for Dummies Questions & Answers

unresolved symbol ???

when I make ncftp 111.111.1.2 I just get problems like ... /usr/lib/dld.sl unresolved symbol:inet_ntop (code) does anybody know what is the problem and how to solve this? thx.. (2 Replies)
Discussion started by: svennie
2 Replies

5. Programming

unresolved symbol on AIX 5.2

Hi, want to port an executable from AIX 5.3 to AIX 5.2. This seems to be no problem, when i build one executable. But in another case i have to link one library statically and the rest is loaded at runtime. This works for AIX 5.3 but on AIX 5.2 i get the following error ... (2 Replies)
Discussion started by: pm_user
2 Replies

6. HP-UX

Unresolved symbol problem

Hi I am trying to make an executable which has informix esqlc and .per files. I am using informix version 9.3. The make is successful, but when i execute, i get an error message /usr/lib/dld.sl: Unresolved symbol: ibm_lib4gl_loadint4 (code) from RVprnrecvr Abort(coredump) I searched for... (4 Replies)
Discussion started by: venkatakrishnan
4 Replies

7. UNIX for Advanced & Expert Users

database connection (unresolved sqlcxt)

i have a little pro*c code (as shown below) to connect an oracle database. (in unix solaris platform) in the preprocessor compilation step everything is ok. but when i try to compile the code using cc i get the error below: ld: Unresolved: sqlcxt i think there is a problem while linking... (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies

8. AIX

Unresolved symbols

Hello experts , i have some strange problem, i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do nm -Bo sample.so , i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies

9. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
std::__debug::bitset< _Nb >(3cxx)										 std::__debug::bitset< _Nb >(3cxx)

NAME
std::__debug::bitset< _Nb > - SYNOPSIS
Inherits bitset< _Nb >. Public Types typedef _Base::reference reference Public Member Functions constexpr bitset (unsigned long long __val) template<typename _CharT , typename _Traits , typename _Alloc > bitset (const std::basic_string< _CharT, _Traits, _Alloc > &__str, typename std::basic_string< _CharT, _Traits, _Alloc >::size_type __pos=0, typename std::basic_string< _CharT, _Traits, _Alloc >::size_type __n=(std::basic_string< _CharT, _Traits, _Alloc >::npos)) template<class _CharT , class _Traits , class _Alloc > bitset (const std::basic_string< _CharT, _Traits, _Alloc > &__str, typename std::basic_string< _CharT, _Traits, _Alloc >::size_type __pos, typename std::basic_string< _CharT, _Traits, _Alloc >::size_type __n, _CharT __zero, _CharT __one=_CharT('1')) bitset (const _Base &__x) template<typename _CharT > bitset (const _CharT *__str, typename std::basic_string< _CharT >::size_type __n=std::basic_string< _CharT >::npos, _CharT __zero=_CharT('0'), _CharT __one=_CharT('1')) _Base & _M_base () const _Base & _M_base () const bitset< _Nb > & flip () bitset< _Nb > & flip (size_t __pos) bool operator!= (const bitset< _Nb > &__rhs) const bitset< _Nb > & operator&= (const bitset< _Nb > &__rhs) bitset< _Nb > operator<< (size_t __pos) const bitset< _Nb > & operator<<= (size_t __pos) bool operator== (const bitset< _Nb > &__rhs) const bitset< _Nb > operator>> (size_t __pos) const bitset< _Nb > & operator>>= (size_t __pos) reference operator[] (size_t __pos) bool operator[] (size_t __pos) const bitset< _Nb > & operator^= (const bitset< _Nb > &__rhs) bitset< _Nb > & operator|= (const bitset< _Nb > &__rhs) bitset< _Nb > operator~ () const bitset< _Nb > & reset () bitset< _Nb > & reset (size_t __pos) bitset< _Nb > & set () bitset< _Nb > & set (size_t __pos, bool __val=true) template<typename _CharT , typename _Traits , typename _Alloc > std::basic_string< _CharT, _Traits, _Alloc > to_string () const " template<class _CharT , class _Traits , class _Alloc > std::basic_string< _CharT, _Traits, _Alloc > to_string (_CharT __zero, _CharT __one=_CharT('1')) const " template<typename _CharT , typename _Traits > std::basic_string< _CharT, _Traits, std::allocator < _CharT > > to_string () const " template<class _CharT , class _Traits > std::basic_string< _CharT, _Traits, std::allocator < _CharT > > to_string (_CharT __zero, _CharT __one=_CharT('1')) const " template<typename _CharT > std::basic_string< _CharT, std::char_traits< _CharT > , std::allocator< _CharT > > to_string () const " template<class _CharT > std::basic_string< _CharT, std::char_traits< _CharT > , std::allocator< _CharT > > to_string (_CharT __zero, _CharT __one=_CharT('1')) const " std::basic_string< char, std::char_traits< char > , std::allocator< char > > to_string () const " std::basic_string< char, std::char_traits< char > , std::allocator< char > > to_string (char __zero, char __one= '1') const " Detailed Description template<size_t _Nb>class std::__debug::bitset< _Nb > Class std::bitset with additional safety/checking/debug instrumentation. Definition at line 43 of file debug/bitset. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::__debug::bitset< _Nb >(3cxx)
All times are GMT -4. The time now is 05:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy