|
From: | António Saragga Seabra |
Subject: | [Linphone-developers] Linphone-wx linking errors |
Date: | Tue, 22 May 2007 16:52:30 +0100 |
Hi, I’m trying to compile Linphone-wx in windows and getting the LINK errors shown bellow. The link error undefined references are actually defined in lines 119–128 of the header file mediastreamer2/mediastream.h. I compiled mediastreamer2 as static using MSVC++ win32native project (to compile had to replace inline by __inline in some ffmpeg header files) and all the rest Linphone subparts and dependencies (libtheora, libogg, libspeex, libavcodec,libresample) also as static libraries using GCC / wxDev-C++. These linking errors are somewhat puzzling since all audio related functions defined in the same header file mediastream.h, like audio_stream_new() for example, don’t give any error messages when linking. If I could get a helping hand it would be great!
liblinphone.a(linphonecore.o): In function `linphone_core_init_media_streams': /coreapi/linphonecore.c:1183: undefined reference to `video_stream_new'
liblinphone.a(linphonecore.o): In function `linphone_core_start_media_streams': /coreapi/linphonecore.c:1236: undefined reference to `video_preview_stop' /coreapi/linphonecore.c:1244: undefined reference to `video_stream_start' /coreapi/linphonecore.c:1247: undefined reference to video_stream_set_rtcp_information'
/liblinphone.a(linphonecore.o): In function `linphone_core_stop_media_streams': /coreapi/linphonecore.c:1266: undefined reference to `video_stream_stop' /coreapi/linphonecore.c:1271: undefined reference to `video_preview_start'
/liblinphone.a(linphonecore.o): In function `toggle_video_preview': /coreapi/linphonecore.c:1665: undefined reference to `video_preview_start' /coreapi/linphonecore.c:1669: undefined reference to `video_preview_stop'
/liblinphone.a(linphonecore.o): In function `linphone_core_uninit': /coreapi/linphonecore.c:1886: undefined reference to `video_preview_stop'
/libmediastreamer2.a(./debug/mscommon.obj):: undefined reference to `_RTC_CheckEsp' /libmediastreamer2.a(./debug/mscommon.obj):: undefined reference to `_RTC_Shutdown' . . . Many thanks Antonio |
[Prev in Thread] | Current Thread | [Next in Thread] |