The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
dynamic linker error C3000 HP-UX 3 11-20-2007 03:37 AM
Linker error when using vector's CDurkin High Level Programming 1 01-08-2007 09:43 PM
linker problem suman_jakkula AIX 0 08-29-2006 03:38 AM
CC LInker Error UNIX Sun Solaris nik High Level Programming 2 03-23-2004 02:38 AM
Linker (ld) rajashekaran UNIX for Dummies Questions & Answers 1 02-14-2003 10:07 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2008
Registered User
 

Join Date: Jun 2008
Posts: 2
G++ Linker Error

Hi All,

I m new to this group.
I m facing one problem during my linking of CPP code at Linux env.
after compliation i m getting error

"undefined reference to ....."

Please anyone help me to resolve this error.

Regards,
ASR


make[1]: Leaving directory /fwk'
echo g++ -o server Main.o -L. -L./lib -lfwk -L/opt/ACE_wrappers/lib -lACE -L/opt/ACE_wrappers/TAO/tao -lTAO -lTAO_PortableServer -L/opt/ACE_wrappers/TAO/orbsvcs/orbsvcs -lTAO_CosNaming -lpthread
g++ -o server Main.o -L. -L./lib -lfwk -L/opt/ACE_wrappers/lib -lACE -L/opt/ACE_wrappers/TAO/tao -lTAO -lTAO_PortableServer -L/opt/ACE_wrappers/TAO/orbsvcs/orbsvcs -lTAO_CosNaming -lpthread
g++ -o server Main.o -L. -L./lib -lfwk -L/opt/ACE_wrappers/lib -lACE -L/opt/ACE_wrappers/TAO/tao -lTAO -lTAO_PortableServer -L/opt/ACE_wrappers/TAO/orbsvcs/orbsvcs -lTAO_CosNaming -lpthread
./lib/libfwk.a(ComChannel.o): In function `ComChannel::getRemoteAddr(MibCommAddress&)':
/home/wolf/Server/RMS-working/fwk/ComChannel.cpp:156: undefined reference to `ComChannelStream<ACE_SOCK_Stream, ACE_INET_Addr>:eer()'
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-14-2008
Registered User
 

Join Date: Jun 2008
Posts: 3
Quote:
"undefined reference to ....."
This usually means something like missing *includes*, which means missing devel files. Check to see that you have glibc-devel installed.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0