N
nkrisraj
Hi,
I defined a simple method, getRecsize() inside one of the classes,
Class RateRec as shown below.
class RateRec
{
public:
size_t getRecSize(void) const;
......
private:
......
};
size_t RateRec::getRecSize(void) const
{
return( periods->size );
}
In this calls, I recently added a new method also. After these,
chnages, Iam able to compile this class correctly. And Iam able to
generate the library, libRateInfo.a, for some of the classes, in which
RateRec is also one of the classes.
I have some other main program. When I trying to link libRateInfo.a to
my main program, Iam getting the linker error related to getRecSize()
function as shown below.
ld: 0711-317 ERROR: Undefined symbol: .RateDetailRec::getPeriodSize()
const
For me, this is a real crazy thing.
I was able to link this library before lot of times. That time, I
didn't get any linker error.
But now, Iam getting this linker error. Any hekp would be greatly
appreciated.
I defined a simple method, getRecsize() inside one of the classes,
Class RateRec as shown below.
class RateRec
{
public:
size_t getRecSize(void) const;
......
private:
......
};
size_t RateRec::getRecSize(void) const
{
return( periods->size );
}
In this calls, I recently added a new method also. After these,
chnages, Iam able to compile this class correctly. And Iam able to
generate the library, libRateInfo.a, for some of the classes, in which
RateRec is also one of the classes.
I have some other main program. When I trying to link libRateInfo.a to
my main program, Iam getting the linker error related to getRecSize()
function as shown below.
ld: 0711-317 ERROR: Undefined symbol: .RateDetailRec::getPeriodSize()
const
For me, this is a real crazy thing.
I was able to link this library before lot of times. That time, I
didn't get any linker error.
But now, Iam getting this linker error. Any hekp would be greatly
appreciated.