[pjsip] Error uisng the APS- Direct in Symbian S60 3rd Edition FP1
John Graham
johngavingraham at googlemail.com
Wed Oct 7 09:31:35 CDT 2009
> Actually I am using the carbide 2.0 and i am sure that i am linkin the
> pjmedia codec for the platform. All the header files seems to include
> properly.
How are you sure you're linking correctly? I only ask because the
following error:
>> > pjsua_media.c:(.text+0x200): undefined reference to
>> > `pjmedia_codec_passthrough_init' pjproject-1.2 line 0 C/C++
is a textbook example of a link-time error. The compiler found a
function prototype for pjmedia_codec_passthrough_init because, as you
say, all the header files are indeed included properly. However, the
above message arises because the linker cannot find any symbol
pjmedia_codec_passthrough_init. It probably cannot find it because
either:
1) there's no -lpjmedia-codec-* specified, or
2) -lpjmedia-codec is specified after -lpjmedia, so libpjmedia-codec
isn't getting searched for unresolved symbols in libpjmedia.
If resolving the above doesn't solve the problem, then posting the
complete output of the command-line, including the commands run, would
help a lot (no matter what the error is).
John G
More information about the pjsip
mailing list