visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Operating Systems :: Unix :: newbie c++ question


By: digitaltree U.S.A.  Date: 30/07/2003 00:00:00  English  Points: 50 Status: Answered
Quality : Excellent
I/ am trying to compile an older(red hat 7.3)c++ program on red hat 9. I am using g++ to compile it. but every time i try to compile I get the following errors:

tmp/cclCd2AC.o(.text+0xbc): In function `InstallHandler(int)':
: undefined reference to `ibsgnl(int, int)'
/tmp/cclCd2AC.o(.text+0x252): In function `Camac::Camac[not-in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cclCd2AC.o(.text+0x267): In function `Camac::Camac[not-in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cclCd2AC.o(.text+0x318): In function `Camac::Camac[in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cclCd2AC.o(.text+0x32d): In function `Camac::Camac[in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cclCd2AC.o(.text+0x45e): In function `Camac::ServiceRequestHandler(int)':
[witthuhn@gothe4 ~]$ g++ -o camac CamacServer.cxx -Wno-deprecated
/tmp/cctn3DFw.o(.text+0xbc): In function `InstallHandler(int)':
: undefined reference to `ibsgnl(int, int)'
/tmp/cctn3DFw.o(.text+0x252): In function `Camac::Camac[not-in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cctn3DFw.o(.text+0x267): In function `Camac::Camac[not-in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cctn3DFw.o(.text+0x318): In function `Camac::Camac[in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cctn3DFw.o(.text+0x32d): In function `Camac::Camac[in-charge]()':
: undefined reference to `ibfind(char*)'
/tmp/cctn3DFw.o(.text+0x45e): In function `Camac::ServiceRequestHandler(int)':
: undefined reference to `ibcmd(int, void*, long)'
/tmp/cctn3DFw.o(.text+0x475): In function `Camac::ServiceRequestHandler(int)':
: undefined reference to `ibrd(int, void*, long)'
/tmp/cctn3DFw.o(.text+0x51d): In function `Camac::ServiceRequestHandler(int)':
: undefined reference to `ibcmd(int, void*, long)'
/tmp/cctn3DFw.o(.text+0x82a): In function `CNAF::Talk()':
: undefined reference to `ibwrt(int, void*, long)'
/tmp/cctn3DFw.o(.text+0x890): In function `CNAF::Listen()':
: undefined reference to `ibrd(int, void*, long)'
collect2: ld returned 1 exit status

I can not figure out why it gives me the error of undefined reference.
thanks for any help
By: VGR Date: 30/07/2003 04:45:00 English  Type : Answer
because you lack a reference to the library defining ibsgnl(int,int) and the like

look in to the makefile from the previous platform, and compiler settings (-D... -L...)

or try to find out where were defined those functions
By: VGR Date: 30/07/2003 04:46:00 English  Type : Comment
apparently (google) those are all part of CVI 6.0

Do register to be able to answer

EContact
browser fav
page generated in 553.889990 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page