Operating Systems :: Unix :: newbie c++ question |
|||
| By: digitaltree |
Date: 30/07/2003 00:00:00 |
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 | 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 | Type : Comment |
|
| apparently (google) those are all part of CVI 6.0 |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








