Sponsored Content
Full Discussion: symbol referencing error
Top Forums Programming symbol referencing error Post 302070201 by suhasini on Monday 3rd of April 2006 05:22:47 AM
Old 04-03-2006
symbol referencing error

Undefined first referenced
symbol in file
std::basic_ostream<char, std::char_traits<char> >:Smilieperator<<(int)/var/tmp//ccTR
std::cerr /var/tmp//ccTRcjui.o
std::cout /var/tmp//ccTRcjui.o
std::ios_base::Init::~Init [in-charge]()/var/tmp//ccTRcjui.o
std::ios_base::Init::Init[in-charge]()/var/tmp//ccTRcjui.o
__gxx_personality_v0 /var/tmp//ccTRcjui.o
std::basic_ostream<char, std::char_traits<char> >& std:Smilieperator<< <std::char_trvar/tmp//ccTRcjui.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

i have only one file... and it is meant to read files from a directory.. whos name[for the time being ] i have hard coded...
anyidea why i am getting the error?

thnx..
 

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. UNIX for Dummies Questions & Answers

ld: fatal: Symbol referencing errors

Hello! I have some problems installing a program called “Jail Chroot Project”. http://www.gsyc.inf.uc3m.es/~assman/jail/index.html I have only installed precompiled programs before and I get some kind of error message when im trying to compile this program. I have downloaded and... (2 Replies)
Discussion started by: alfabetman
2 Replies

3. Programming

ld: fatal: Symbol referencing errors. No output written to SNX

Hi all, I am getting the following error when I try to do a build of a product. I dont have the dependencies of the binaries involved in the build and thats the reason I was not able to find which library to add or to proceed to the next step to solve the reference problem. Undefined ... (1 Reply)
Discussion started by: jerryragland
1 Replies

4. 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

5. Shell Programming and Scripting

ld: fatal: Symbol referencing errors

I am getting below error, any ideas to resolve it. 1:ts_n_tcp_cmp_row /finder3/baseline/95s/ed/src/lib/libfinder_ui_basic.so 1:ui_convert_date /finder3/baseline/95s/ed/src/lib/libfinder_fi_basic.so 1:ld: fatal: Symbol referencing errors. No output written... (1 Reply)
Discussion started by: shafi2all
1 Replies

6. Programming

ld: fatal: Symbol referencing errors

Hi, I'm trying to compile OpenTTD on Solaris 5.10. I do not have root permissions so I have to set the prefix-dir to /home/abcde/usr/local/opt/opentdd-0.6.3 I've used the following command to configure: bash ./configure --prefix-dir=/opt/openttd-0.6.2 --without-makedepend \... (1 Reply)
Discussion started by: rudolph
1 Replies

7. Programming

C++ ld: fatal: Symbol referencing errors.

Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following error: CC -mt -xarch=v9 -DCOMPILE_SOL_SPARC -ftrap=%none -xlibmil -xchip=ultra2 -xbuiltin -xO4 \... (0 Replies)
Discussion started by: acheong87
0 Replies

8. Shell Programming and Scripting

Self referencing script error message

Hello again all. I have a user editable script that I'd like to have point out the user error to. Problem is I'm having troubles getting an echoed error message to give me the line. Here's what I'm trying to do. grep -n $loc /this/script.sh where '$loc' is the argument passed to the script.... (9 Replies)
Discussion started by: DC Slick
9 Replies

9. Programming

"Symbol referencing errors" On Socket programming

Dear all, I had the "Symbol referencing errors" while compiling a C socket code. It said "Undefined Symbol: socketpair", but I already copy the two head files (#include "types.h", #include "socket.h") into my current directory. Could anyone help me with it? Thanks. By the way, I'm using... (4 Replies)
Discussion started by: beyondaymk
4 Replies

10. Programming

Symbol referencing errors

Undefined first referenced symbol in file logf /var/tmp//ccwztFsO.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status float exponC(float mean) { index1++;... (1 Reply)
Discussion started by: willji1234
1 Replies
std::discrete_distribution< _IntType >(3cxx)							      std::discrete_distribution< _IntType >(3cxx)

NAME
std::discrete_distribution< _IntType > - SYNOPSIS
Classes struct param_type Public Types typedef _IntType result_type Public Member Functions template<typename _InputIterator > discrete_distribution (_InputIterator __wbegin, _InputIterator __wend) discrete_distribution (initializer_list< double > __wl) template<typename _Func > discrete_distribution (size_t __nw, double __xmin, double __xmax, _Func __fw) discrete_distribution (const param_type &__p) result_type max () const result_type min () const template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng) template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng, const param_type &__p) param_type param () const void param (const param_type &__param) std::vector< double > probabilities () const void reset () Friends template<typename _IntType1 , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &, const std::discrete_distribution< _IntType1 > &)" template<typename _IntType1 , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &, std::discrete_distribution< _IntType1 > &)" Detailed Description template<typename _IntType = int>class std::discrete_distribution< _IntType > A discrete_distribution random number distribution. The formula for the discrete probability mass function is Definition at line 4666 of file random.h. Member Typedef Documentation template<typename _IntType = int> typedef _IntType std::discrete_distribution< _IntType >::result_type The type of the range of the distribution. Definition at line 4673 of file random.h. Member Function Documentation template<typename _IntType = int> result_type std::discrete_distribution< _IntType >::max () const [inline] Returns the least upper bound value of the distribution. Definition at line 4786 of file random.h. References std::vector< _Tp, _Alloc >::empty(), and std::vector< _Tp, _Alloc >::size(). template<typename _IntType = int> result_type std::discrete_distribution< _IntType >::min () const [inline] Returns the greatest lower bound value of the distribution. Definition at line 4779 of file random.h. template<typename _IntType = int> template<typename _UniformRandomNumberGenerator > result_type std::discrete_distribution< _IntType >::operator() (_UniformRandomNumberGenerator &__urng) [inline] Generating functions. Definition at line 4797 of file random.h. References std::discrete_distribution< _IntType >::operator()(), and std::discrete_distribution< _IntType >::param(). Referenced by std::discrete_distribution< _IntType >::operator()(). template<typename _IntType = int> param_type std::discrete_distribution< _IntType >::param () const [inline] Returns the parameter set of the distribution. Definition at line 4764 of file random.h. Referenced by std::discrete_distribution< _IntType >::operator()(), and std::operator==(). template<typename _IntType = int> void std::discrete_distribution< _IntType >::param (const param_type &__param) [inline] Sets the parameter set of the distribution. Parameters: __param The new parameter set of the distribution. Definition at line 4772 of file random.h. template<typename _IntType = int> std::vector<double> std::discrete_distribution< _IntType >::probabilities () const [inline] Returns the probabilities of the distribution. Definition at line 4754 of file random.h. References std::vector< _Tp, _Alloc >::empty(). template<typename _IntType = int> void std::discrete_distribution< _IntType >::reset () [inline] Resets the distribution state. Definition at line 4747 of file random.h. Friends And Related Function Documentation template<typename _IntType = int> template<typename _IntType1 , typename _CharT , typename _Traits > std::basic_ostream<_CharT, _Traits>& operator<< (std::basic_ostream< _CharT, _Traits > &, const std::discrete_distribution< _IntType1 > &) [friend] Inserts a discrete_distribution random number distribution __x into the output stream __os. Parameters: __os An output stream. __x A discrete_distribution random number distribution. Returns: The output stream with the state of __x inserted or in an error state. template<typename _IntType = int> template<typename _IntType1 , typename _CharT , typename _Traits > std::basic_istream<_CharT, _Traits>& operator>> (std::basic_istream< _CharT, _Traits > &, std::discrete_distribution< _IntType1 > &) [friend] Extracts a discrete_distribution random number distribution __x from the input stream __is. Parameters: __is An input stream. __x A discrete_distribution random number generator engine. Returns: The input stream with __x extracted or in an error state. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::discrete_distribution< _IntType >(3cxx)
All times are GMT -4. The time now is 12:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy