Sponsored Content
Top Forums UNIX for Advanced & Expert Users C++ Compiling error.. Symbol Reference Post 302084008 by bjena on Tuesday 8th of August 2006 11:47:05 PM
Old 08-09-2006
Thanks buddy

Thanks buddy,

you saved my day.. Smilie
 

10 More Discussions You Might Find Interesting

1. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies

2. Programming

symbol referencing error

Undefined first referenced symbol in file std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR std::cerr /var/tmp//ccTRcjui.o std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Discussion started by: suhasini
1 Replies

3. Programming

Symbol referencing error

Hey everyone, I can't figure out this symbol referencing error after looking at it for the longest time, and I figured some fresh eyes might be able to point something out I am overlooking. Undefined first referenced symbol in... (1 Reply)
Discussion started by: fromatz
1 Replies

4. Solaris

Symbol reference error for same code & libraries but compiled in different environmen

Hi All, I am having a code written in C++.First I build this code on SUN 5.10.It was built successfully.Following is the log when build was successful. -L/apps/compilers/SUNWspro/lib -lm -lsunmath \ -o App ld: warning: symbol `clog' has differing types: (file... (0 Replies)
Discussion started by: milindb
0 Replies

5. Solaris

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

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

6. Programming

gcc symbol reference error in Solaris

Hi there, Honestly i'm not much of a code guy but i found some short piece of code over the net which i need to compile in my Solaris machine (in order to change my hostid). As far as i read - i need to use the gcc to compile this short text file making it an executable file. My problem is... (0 Replies)
Discussion started by: avisht
0 Replies

7. Shell Programming and Scripting

Symbol reference

Hi, test -d .ssh || mkdir .ssh && chmod 700 .ssh The command has couple of symbols, could someone redirect me to the link, where i can understand their significance. Thanks, John (1 Reply)
Discussion started by: john_prince
1 Replies

8. Shell Programming and Scripting

symbol list reference

Can anyone direct me to a page that holds a list of perl's built in symbols? Example: $_ means blah $? means blah2 $! means blah3 (3 Replies)
Discussion started by: mrwatkin
3 Replies

9. Shell Programming and Scripting

Perl de-reference code reference variable

Guys, May i know how can we de reference the code reference variable.? my $a = sub{$a=shift;$b=shift;print "SUM:",($a+$b),"\n";}; print $a->(4,5); How can we print the whole function ? Please suggest me regarding this. Thanks for your time :) Cheers, Ranga :) (0 Replies)
Discussion started by: rangarasan
0 Replies

10. Programming

Compiling C++ code with NetCDF libraries: "undefined reference"

Hi! I am trying to compile a C++ code with cmake and gcc on Ubuntu. The code uses NetCDF4 libraries. I specify the path to these libraries as follows: -I/usr/local/include -L/usr/local/lib -lnetcdf -lnetcdf_c++4 "ccmake" and "cmake" work fine. After typing "make" I receive the error... (0 Replies)
Discussion started by: Alauda
0 Replies
std::basic_istream< _CharT, _Traits >::sentry(3)	     Library Functions Manual		  std::basic_istream< _CharT, _Traits >::sentry(3)

NAME
std::basic_istream< _CharT, _Traits >::sentry - SYNOPSIS
Public Types typedef __istream_type::__ctype_type __ctype_type" typedef _Traits::int_type __int_type typedef basic_istream< _CharT, _Traits > __istream_type" typedef basic_streambuf < _CharT, _Traits > __streambuf_type" typedef _Traits traits_type Public Member Functions sentry (basic_istream< _CharT, _Traits > &__is, bool __noskipws=false) operator bool () const Detailed Description template<typename _CharT, typename _Traits = char_traits<_CharT>>class std::basic_istream< _CharT, _Traits >::sentry Performs setup work for input streams. Objects of this class are created before all of the standard extractors are run. It is responsible for exception-safe prefix and suffix operations, although only prefix actions are currently required by the standard. Definition at line 657 of file istream. Member Typedef Documentation template<typename _CharT, typename _Traits = char_traits<_CharT>> typedef _Traits std::basic_istream< _CharT, _Traits >::sentry::traits_type Easy access to dependent types. Definition at line 664 of file istream. Constructor &; Destructor Documentation template<typename _CharT, typename _Traits> std::basic_istream< _CharT, _Traits >::sentry::sentry (basic_istream< _CharT, _Traits > &__is, bool__noskipws = false) [explicit] The constructor performs all the work. Parameters: __is The input stream to guard. __noskipws Whether to consume whitespace or not. If the stream state is good (__is.good() is true), then the following actions are performed, otherwise the sentry state is false (not okay) and failbit is set in the stream state. The sentry's preparatory actions are: 1. if the stream is tied to an output stream, is.tie()->flush() is called to synchronize the output sequence 2. if __noskipws is false, and ios_base::skipws is set in is.flags(), the sentry extracts and discards whitespace characters from the stream. The currently imbued locale is used to determine whether each character is whitespace. If the stream state is still good, then the sentry state becomes true (okay). Definition at line 47 of file istream.tcc. References std::ios_base::eofbit, std::ios_base::failbit, std::ios_base::flags(), std::basic_ios< _CharT, _Traits >::good(), std::ios_base::goodbit, std::__ctype_abstract_base< _CharT >::is(), std::basic_ios< _CharT, _Traits >::rdbuf(), std::basic_ios< _CharT, _Traits >::setstate(), std::basic_streambuf< _CharT, _Traits >::sgetc(), std::ios_base::skipws, std::basic_streambuf< _CharT, _Traits >::snextc(), and std::basic_ios< _CharT, _Traits >::tie(). Member Function Documentation template<typename _CharT, typename _Traits = char_traits<_CharT>> std::basic_istream< _CharT, _Traits >::sentry::operator bool () const [inline], [explicit] Quick status checking. Returns: The sentry state. For ease of use, sentries may be converted to booleans. The return value is that of the sentry state (true == okay). Definition at line 705 of file istream. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Jun 10 2014 std::basic_istream< _CharT, _Traits >::sentry(3)
All times are GMT -4. The time now is 04:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy