Undefined Reference while compiling

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

hiiiii,

i am compiling the DCT application program in uclinux environment.i
am, getting undefined reference error,i know this is  linker
problem,but i dont know to link and which file i have to link . i am
posting the error below

sp/BasicUsageEnvironment0.o: In function
`BasicUsageEnvironment0::reportBackgroundError()':
BasicUsageEnvironment0.cpp:(.text+0xfa): undefined reference to
`_stderr'
BasicUsageEnvironment0.cpp:(.text+0x102): undefined reference to
`_stderr'
rtsp/RTPSource.o: In function `RTPSource::RTPSource(UsageEnvironment&,
Groupsock*, unsigned char, unsigned int)':
RTPSource.cpp:(.text+0xbfc): undefined reference to `_our_random32'
rtsp/RTPSource.o: In function `RTPSource::RTPSource(UsageEnvironment&,
Groupsock*, unsigned char, unsigned int)':
RTPSource.cpp:(.text+0xc80): undefined reference to `_our_random32'
rtsp/RTCP.o: In function `_drand30':
RTCP.cpp:(.text+0x1aa): undefined reference to `_our_random'
rtsp/RTCP.o: In function `RTCPInstance::onExpire1()':
RTCP.cpp:(.text+0x354): undefined reference to `_OnExpire'
rtsp/RTCP.o: In function `RTCPInstance::onReceive(int, int, unsigned
int)':
RTCP.cpp:(.text+0x9b2): undefined reference to `_OnReceive'
rtsp/PassiveServerMediaSubsession.o: In function
`PassiveServerMediaSubsession::sdpLines()':
PassiveServerMediaSubsession.cpp:(.text+0x1b8): undefined reference to
`_our_inet_ntoa'
rtsp/DigestAuthentication.o: In function
`Authenticator::setRealmAndRandomNonce(char const*)':
DigestAuthentication.cpp:(.text+0x1be): undefined reference to
`_our_MD5Data'
rtsp/DigestAuthentication.o: In function
`Authenticator::computeDigestResponse(char const*, char const*)
const':
DigestAuthentication.cpp:(.text+0x324): undefined reference to
`_our_MD5Data'
DigestAuthentication.cpp:(.text+0x368): undefined reference to
`_our_MD5Data'
DigestAuthentication.cpp:(.text+0x3d6): undefined reference to
`_our_MD5Data'
rtsp/ServerMediaSession.o: In function
`ServerMediaSession::generateSDPDescription()':
any one help me in this regard

aswini

Site Timeline