Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link error: undefined reference to `jrtplib::RTPFakeTransmitter::AbortWait()' #1

Closed
rpici opened this issue Jan 10, 2017 · 1 comment

Comments

@rpici
Copy link

rpici commented Jan 10, 2017

On Linux, after compiling and installing, when I link against the library (-ljrtp), I get the following link error:

/usr/local/lib/libjrtp.so: undefined reference to 'jrtplib::RTPFakeTransmitter::AbortWait()'

To fix it, in src/extratransmitters/rtpfaketransmitter.cpp, underneath RTPFakeTransmitter::WaitForIncoingData(), I insert the following member function implementation:

int RTPFakeTransmitter::AbortWait() { return ERR_RTP_FAKETRANS_WAITNOTIMPLEMENTED; }

then I recompile and reinstall the library.

This eliminates the linker error, but is this the proper way to do this? Am I doing something else wrong to get the linker error in the first place?

@j0r1
Copy link
Owner

j0r1 commented Jan 10, 2017

Funny that you mention this, I just saw it myself :) It is the right way to fix it, I just pushed it.

@j0r1 j0r1 closed this as completed Feb 9, 2017
j0r1 pushed a commit that referenced this issue Aug 21, 2018
Fix rtpsecuresession.cpp when thread is not supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants