[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Help
From: |
rammoorthyp |
Subject: |
[Linphone-developers] Help |
Date: |
Wed, 12 Jul 2017 06:49:08 +0000 |
User-agent: |
Roundcube Webmail/1.1.7 |
Hai Sir/Madam,
i am getting the following errors after i build the helloworld.c
program get from this link
http://www.linphone.org/docs/liblinphone/group__basic__call__tutorials.html
.I am using ubuntu 17.04 Debian.I sucessfully build linphone desktop
source code by following this link
https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Getting%20started/Linux-MAC/.i
am struggle to build the sample program(Basic Call).so please help me to
solve this problem. and i am new to linphone so please can you send some
information to integrate liblinphone in my app by using QT5.
Error:
In file included from /usr/include/linphone/core.h:31:0,
from helloworld.c:31:
/usr/include/linphone/types.h:460:21: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘typedef’
LINPHONE_DEPRECATED typedef LinphoneContactSearchID ContactSearchID;
^~~~~~~
/usr/include/linphone/types.h:1032:21: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘typedef’
LINPHONE_DEPRECATED typedef struct _LinphoneSipTransports
LCSipTransports;
^~~~~~~
In file included from /usr/include/linphone/core.h:33:0,
from helloworld.c:31:
/usr/include/linphone/sipsetup.h:131:29: error: unknown type name
‘MSFactory’
void sip_setup_register_all(MSFactory* factory);
^~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/account_creator.h:312:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneAccountCreatorStatus
linphone_account_creator_set_route(LinphoneAccountCreator *creator,
const char *route);
^
In file included from /usr/include/linphone/core.h:35:0,
from helloworld.c:31:
/usr/include/linphone/account_creator.h:312:66: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_account_creator_set_route’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneAccountCreatorStatus
linphone_account_creator_set_route(LinphoneAccountCreator *creator,
const char *route);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/account_creator.h:319:37: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_DEPRECATED LINPHONE_PUBLIC const char *
linphone_account_creator_get_route(const LinphoneAccountCreator
*creator);
^~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/account_creator.h:521:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneProxyConfig *
linphone_account_creator_configure(const LinphoneAccountCreator
*creator);
^
In file included from /usr/include/linphone/core.h:35:0,
from helloworld.c:31:
/usr/include/linphone/account_creator.h:521:57: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneProxyConfig *
linphone_account_creator_configure(const LinphoneAccountCreator
*creator);
^
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/address.h:115:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC bool_t
linphone_address_is_secure(const LinphoneAddress *addr);
^
In file included from /usr/include/linphone/core.h:37:0,
from helloworld.c:31:
/usr/include/linphone/address.h:115:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_address_is_secure’
LINPHONE_DEPRECATED LINPHONE_PUBLIC bool_t
linphone_address_is_secure(const LinphoneAddress *addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/address.h:231:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_address_destroy(LinphoneAddress *u);
^~~~
In file included from /usr/include/linphone/core.h:38:0,
from helloworld.c:31:
/usr/include/linphone/auth_info.h:217:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_auth_info_destroy(LinphoneAuthInfo *info);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/call.h:321:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_call_is_in_conference(const LinphoneCall *call);
^
In file included from /usr/include/linphone/core.h:40:0,
from helloworld.c:31:
/usr/include/linphone/call.h:321:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_call_is_in_conference’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_call_is_in_conference(const LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/call.h:351:17: error: unknown type name
‘MSFormatType’
LINPHONE_PUBLIC MSFormatType linphone_call_get_stream_type(LinphoneCall
*call, int stream_index);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:41:0,
from helloworld.c:31:
/usr/include/linphone/call_log.h:223:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_call_log_destroy(LinphoneCallLog *cl);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/call_params.h:148:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_call_params_get_received_video_size(const LinphoneCallParams
*cp);
^
In file included from /usr/include/linphone/core.h:42:0,
from helloworld.c:31:
/usr/include/linphone/call_params.h:148:49: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_call_params_get_received_video_size’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_call_params_get_received_video_size(const LinphoneCallParams
*cp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/call_params.h:184:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_call_params_get_sent_video_size(const LinphoneCallParams *cp);
^
In file included from /usr/include/linphone/core.h:42:0,
from helloworld.c:31:
/usr/include/linphone/call_params.h:184:49: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_call_params_get_sent_video_size’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_call_params_get_sent_video_size(const LinphoneCallParams *cp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/call_params.h:225:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_audio_codec(const LinphoneCallParams
*cp);
^~~~~
/usr/include/linphone/call_params.h:225:43: error: unknown type name
‘OrtpPayloadType’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_audio_codec(const LinphoneCallParams
*cp);
^~~~~~~~~~~~~~~
/usr/include/linphone/call_params.h:234:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_video_codec(const LinphoneCallParams
*cp);
^~~~~
/usr/include/linphone/call_params.h:234:43: error: unknown type name
‘OrtpPayloadType’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_video_codec(const LinphoneCallParams
*cp);
^~~~~~~~~~~~~~~
/usr/include/linphone/call_params.h:243:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_text_codec(const LinphoneCallParams *cp);
^~~~~
/usr/include/linphone/call_params.h:243:43: error: unknown type name
‘OrtpPayloadType’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType
*linphone_call_params_get_used_text_codec(const LinphoneCallParams *cp);
^~~~~~~~~~~~~~~
/usr/include/linphone/call_params.h:493:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_call_params_destroy(LinphoneCallParams *cp);
^~~~
In file included from /usr/include/linphone/core.h:44:0,
from helloworld.c:31:
/usr/include/linphone/chat.h:42:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_chat_room_destroy(LinphoneChatRoom *cr);
^~~~
In file included from /usr/include/linphone/core.h:44:0,
from helloworld.c:31:
/usr/include/linphone/chat.h:113:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_chat_room_send_message(LinphoneChatRoom *cr, const char *msg);
^~~~
/usr/include/linphone/chat.h:126:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_chat_room_send_message2(LinphoneChatRoom *cr,
LinphoneChatMessage* msg,LinphoneChatMessageStateChangedCb
status_cb,void* ud);
^~~~
/usr/include/linphone/chat.h:172:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_chat_room_get_history(LinphoneChatRoom *cr,int nb_message);
^~~~~~~~~~~~
/usr/include/linphone/chat.h:181:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_chat_room_get_history_range(LinphoneChatRoom *cr, int begin,
int end);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/chat.h:210:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneCore*
linphone_chat_room_get_lc(LinphoneChatRoom *cr);
^
In file included from /usr/include/linphone/core.h:44:0,
from helloworld.c:31:
/usr/include/linphone/chat.h:210:49: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneCore*
linphone_chat_room_get_lc(LinphoneChatRoom *cr);
^
/usr/include/linphone/chat.h:237:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t*
linphone_core_get_chat_rooms(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/chat.h:393:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_chat_message_start_file_download(LinphoneChatMessage* message,
LinphoneChatMessageStateChangedCb status_cb, void* ud);
^~~~
In file included from /usr/include/linphone/core.h:45:0,
from helloworld.c:31:
/usr/include/linphone/conference.h:66:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_conference_params_free(LinphoneConferenceParams *params);
^~~~
/usr/include/linphone/conference.h:118:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_conference_get_participants(const LinphoneConference *obj);
^~~~~~~~~~~~
/usr/include/linphone/conference.h:126:104: error: unknown type name
‘bctbx_list_t’
hone_conference_invite_participants(LinphoneConference *conf, const
bctbx_list_t *addresses, const LinphoneCallParams *params);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:50:0,
from helloworld.c:31:
/usr/include/linphone/factory.h:150:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t *
linphone_factory_get_supported_video_definitions(const LinphoneFactory
*factory);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:40:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend *
linphone_friend_new(void);
^
In file included from /usr/include/linphone/core.h:51:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:40:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend *
linphone_friend_new(void);
^
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:49:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend
*linphone_friend_new_with_address(const char *addr);
^
In file included from /usr/include/linphone/core.h:51:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:49:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend
*linphone_friend_new_with_address(const char *addr);
^
/usr/include/linphone/friend.h:63:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_friend_destroy(LinphoneFriend *lf);
^~~~
In file included from /usr/include/linphone/core.h:51:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:98:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t* linphone_friend_get_addresses(const
LinphoneFriend *lf);
^~~~~~~~~~~~
/usr/include/linphone/friend.h:119:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t*
linphone_friend_get_phone_numbers(LinphoneFriend *lf);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:199:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneOnlineStatus
linphone_friend_get_status(const LinphoneFriend *lf);
^
In file included from /usr/include/linphone/core.h:51:0,
from helloworld.c:31:
/usr/include/linphone/friend.h:199:58: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_friend_get_status’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneOnlineStatus
linphone_friend_get_status(const LinphoneFriend *lf);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:52:0,
from helloworld.c:31:
/usr/include/linphone/friendlist.h:136:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t *
linphone_friend_list_get_friends(const LinphoneFriendList *list);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:55:0,
from helloworld.c:31:
/usr/include/linphone/info_message.h:82:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_info_message_destroy(LinphoneInfoMessage *im);
^~~~
In file included from /usr/include/linphone/core.h:56:0,
from helloworld.c:31:
/usr/include/linphone/lpconfig.h:118:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t * linphone_config_get_string_list(const
LinphoneConfig *lpconfig, const char *section, const char *key,
bctbx_list_t *default_list);
^~~~~~~~~~~~
/usr/include/linphone/lpconfig.h:118:134: error: unknown type name
‘bctbx_list_t’
nst LinphoneConfig *lpconfig, const char *section, const char *key,
bctbx_list_t *default_list);
^~~~~~~~~~~~
/usr/include/linphone/lpconfig.h:161:124: error: unknown type name
‘bctbx_list_t’
nphoneConfig *lpconfig, const char *section, const char *key, const
bctbx_list_t *value);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:57:0,
from helloworld.c:31:
/usr/include/linphone/misc.h:118:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const char
*linphone_online_status_to_string(LinphoneOnlineStatus ss);
^~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:38:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneProxyConfig
*linphone_proxy_config_new(void);
^
In file included from /usr/include/linphone/core.h:62:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:38:57: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneProxyConfig
*linphone_proxy_config_new(void);
^
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:81:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_proxy_config_set_identity(LinphoneProxyConfig *cfg, const char
*identity);
^
In file included from /usr/include/linphone/core.h:62:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:81:52: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_proxy_config_set_identity’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_proxy_config_set_identity(LinphoneProxyConfig *cfg, const char
*identity);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:235:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_proxy_config_is_registered(const LinphoneProxyConfig *cfg);
^
In file included from /usr/include/linphone/core.h:62:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:235:44: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_proxy_config_is_registered’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_proxy_config_is_registered(const LinphoneProxyConfig *cfg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/proxy_config.h:272:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const char
*linphone_proxy_config_get_identity(const LinphoneProxyConfig *cfg);
^~~~~
/usr/include/linphone/proxy_config.h:391:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_proxy_config_destroy(LinphoneProxyConfig *cfg);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:417:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_proxy_config_normalize_number(LinphoneProxyConfig *proxy, const
char *username, char *result, size_t result_len);
^
In file included from /usr/include/linphone/core.h:62:0,
from helloworld.c:31:
/usr/include/linphone/proxy_config.h:417:44: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘linphone_proxy_config_normalize_number’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_proxy_config_normalize_number(LinphoneProxyConfig *proxy, const
char *username, char *result, size_t result_len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/proxy_config.h:483:37: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_proxy_config_enable_avpf(LinphoneProxyConfig *cfg, bool_t
enable);
^~~~
In file included from /usr/include/linphone/core.h:63:0,
from helloworld.c:31:
/usr/include/linphone/ringtoneplayer.h:34:62: error: unknown type name
‘MSFactory’
LINPHONE_PUBLIC LinphoneStatus linphone_ringtoneplayer_start(MSFactory
*factory, LinphoneRingtonePlayer* rp, MSSndCard* card, const char*
ringtone, int loop_pause_ms);
^~~~~~~~~
In file included from /usr/include/linphone/core.h:63:0,
from helloworld.c:31:
/usr/include/linphone/ringtoneplayer.h:46:70: error: unknown type name
‘MSFactory’
INPHONE_PUBLIC LinphoneStatus
linphone_ringtoneplayer_start_with_cb(MSFactory *factory,
LinphoneRingtonePlayer* rp, MSSndCard* card,
^~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/vcard.h:46:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneVcard*
linphone_vcard_new(void);
^
In file included from /usr/include/linphone/core.h:64:0,
from helloworld.c:31:
/usr/include/linphone/vcard.h:46:50: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneVcard*
linphone_vcard_new(void);
^
/usr/include/linphone/vcard.h:54:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_vcard_free(LinphoneVcard *vCard);
^~~~
In file included from /usr/include/linphone/core.h:64:0,
from helloworld.c:31:
/usr/include/linphone/vcard.h:164:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t*
linphone_vcard_get_sip_addresses(LinphoneVcard *vCard);
^~~~~~~~~~~~
/usr/include/linphone/vcard.h:185:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t* linphone_vcard_get_phone_numbers(const
LinphoneVcard *vCard);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:187:2: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LinphoneCoreAuthInfoRequestedCb
auth_info_requested; /**< @deprecated Use authentication_requested
instead. Ask the application some authentication information */
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:187:54: error: expected ‘:’, ‘,’, ‘;’, ‘}’
or ‘__attribute__’ before ‘auth_info_requested’
LINPHONE_DEPRECATED LinphoneCoreAuthInfoRequestedCb
auth_info_requested; /**< @deprecated Use authentication_requested
instead. Ask the application some authentication information */
^~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:812:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_core_enable_logs(FILE
*file);
^~~~
/usr/include/linphone/core.h:821:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_enable_logs_with_cb(OrtpLogFunc logfunc);
^~~~
/usr/include/linphone/core.h:828:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_disable_logs(void);
^~~~
/usr/include/linphone/core.h:850:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const char
*linphone_core_get_user_agent_name(void);
^~~~~
/usr/include/linphone/core.h:856:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const char
*linphone_core_get_user_agent_version(void);
^~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:883:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore
*linphone_core_new(const LinphoneCoreVTable *vtable,
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:883:50: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore
*linphone_core_new(const LinphoneCoreVTable *vtable,
^
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:900:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore
*linphone_core_new_with_config(const LinphoneCoreVTable *vtable,
LpConfig *config, void *userdata);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:900:50: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneCore
*linphone_core_new_with_config(const LinphoneCoreVTable *vtable,
LpConfig *config, void *userdata);
^
/usr/include/linphone/core.h:944:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_add_listener(LinphoneCore *lc, LinphoneCoreVTable
*vtable);
^~~~
/usr/include/linphone/core.h:963:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_remove_listener(LinphoneCore *lc, const LinphoneCoreVTable
*vtable);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1053:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_transfer_call(LinphoneCore *lc, LinphoneCall *call, const
char *refer_to);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1053:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_transfer_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_transfer_call(LinphoneCore *lc, LinphoneCall *call, const
char *refer_to);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1072:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_transfer_call_to_another(LinphoneCore *lc, LinphoneCall
*call, LinphoneCall *dest);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1072:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_transfer_call_to_another’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_transfer_call_to_another(LinphoneCore *lc, LinphoneCall
*call, LinphoneCall *dest);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1126:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call(LinphoneCore *lc, LinphoneCall *call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1126:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_accept_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call(LinphoneCore *lc, LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1143:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneCall
*call, const LinphoneCallParams *params);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1143:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_accept_call_with_params’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneCall
*call, const LinphoneCallParams *params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1157:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_early_media_with_params(LinphoneCore* lc,
LinphoneCall* call, const LinphoneCallParams* params);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1157:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘linphone_core_accept_early_media_with_params’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_early_media_with_params(LinphoneCore* lc,
LinphoneCall* call, const LinphoneCallParams* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1169:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_early_media(LinphoneCore* lc, LinphoneCall* call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1169:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_accept_early_media’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_early_media(LinphoneCore* lc, LinphoneCall* call);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1179:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_terminate_call(LinphoneCore *lc, LinphoneCall *call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1179:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_terminate_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_terminate_call(LinphoneCore *lc, LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1190:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_redirect_call(LinphoneCore *lc, LinphoneCall *call, const
char *redirect_uri);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1190:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_redirect_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_redirect_call(LinphoneCore *lc, LinphoneCall *call, const
char *redirect_uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1201:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_decline_call(LinphoneCore *lc, LinphoneCall * call,
LinphoneReason reason);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1201:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_decline_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_decline_call(LinphoneCore *lc, LinphoneCall * call,
LinphoneReason reason);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1222:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_pause_call(LinphoneCore *lc, LinphoneCall *call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1222:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_pause_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_pause_call(LinphoneCore *lc, LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1242:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_resume_call(LinphoneCore *lc, LinphoneCall *call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1242:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_resume_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_resume_call(LinphoneCore *lc, LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1260:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const
LinphoneCallParams *params);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1260:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_update_call’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const
LinphoneCallParams *params);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1284:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_defer_call_update(LinphoneCore *lc, LinphoneCall *call);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1284:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_defer_call_update’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_defer_call_update(LinphoneCore *lc, LinphoneCall *call);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1306:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call,
const LinphoneCallParams *params);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1306:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_accept_call_update’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call,
const LinphoneCallParams *params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:1349:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_send_dtmf(LinphoneCore *lc, char dtmf);
^~~~
/usr/include/linphone/core.h:1616:76: error: unknown type name
‘bctbx_list_t’
E_PUBLIC void linphone_core_set_dns_servers(LinphoneCore *lc, const
bctbx_list_t *servers);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1625:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_core_get_audio_payload_types(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1634:84: error: unknown type name
‘bctbx_list_t’
void linphone_core_set_audio_payload_types(LinphoneCore *lc, const
bctbx_list_t *payload_types);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1649:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_audio_codecs(const LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:1649:43: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_audio_codecs(const LinphoneCore *lc);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1662:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_audio_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1662:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_set_audio_codecs’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_audio_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:1671:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_core_get_video_payload_types(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1680:84: error: unknown type name
‘bctbx_list_t’
void linphone_core_set_video_payload_types(LinphoneCore *lc, const
bctbx_list_t *payload_types);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1695:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_video_codecs(const LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:1695:43: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_video_codecs(const LinphoneCore *lc);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1709:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_video_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1709:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_set_video_codecs’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_video_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:1718:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t
*linphone_core_get_text_payload_types(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1727:83: error: unknown type name
‘bctbx_list_t’
C void linphone_core_set_text_payload_types(LinphoneCore *lc, const
bctbx_list_t *payload_types);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1742:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_text_codecs(const LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:1742:43: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t
*linphone_core_get_text_codecs(const LinphoneCore *lc);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1756:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_text_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1756:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_set_text_codecs’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_set_text_codecs(LinphoneCore *lc, bctbx_list_t *codecs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1799:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_payload_type_enabled(const LinphoneCore *lc, const
OrtpPayloadType *pt);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1799:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_payload_type_enabled’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_payload_type_enabled(const LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1810:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_payload_type_is_vbr(const LinphoneCore *lc, const
OrtpPayloadType *pt);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1810:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_payload_type_is_vbr’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_payload_type_is_vbr(const LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:1821:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_payload_type_bitrate(LinphoneCore *lc, OrtpPayloadType
*pt, int bitrate);
^~~~
/usr/include/linphone/core.h:1832:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_payload_type_bitrate(LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1844:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_enable_payload_type(LinphoneCore *lc, OrtpPayloadType *pt,
bool_t enable);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1844:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_enable_payload_type’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus
linphone_core_enable_payload_type(LinphoneCore *lc, OrtpPayloadType *pt,
bool_t enable);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1870:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED OrtpPayloadType
*linphone_core_find_payload_type(LinphoneCore* lc, const char* type, int
rate, int channels);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1870:53: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED OrtpPayloadType
*linphone_core_find_payload_type(LinphoneCore* lc, const char* type, int
rate, int channels);
^
/usr/include/linphone/core.h:1892:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_payload_type_number(LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~
/usr/include/linphone/core.h:1901:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_payload_type_number(LinphoneCore *lc, OrtpPayloadType
*pt, int number);
^~~~
/usr/include/linphone/core.h:1911:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const char
*linphone_core_get_payload_type_description(LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:1919:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_check_payload_type_usability(LinphoneCore *lc, const
OrtpPayloadType *pt);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:1919:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘linphone_core_check_payload_type_usability’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_check_payload_type_usability(LinphoneCore *lc, const
OrtpPayloadType *pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:1957:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t
*linphone_core_get_proxy_config_list(const LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:1969:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_default_proxy(LinphoneCore *lc, LinphoneProxyConfig
**config);
^~~
/usr/include/linphone/core.h:2030:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t
*linphone_core_get_auth_info_list(const LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:2332:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_sip_port(LinphoneCore *lc, int port);
^~~~
/usr/include/linphone/core.h:2342:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_sip_port(LinphoneCore *lc);
^~~
/usr/include/linphone/core.h:2647:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_set_firewall_policy(LinphoneCore *lc,
LinphoneFirewallPolicy pol);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:2657:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneFirewallPolicy
linphone_core_get_firewall_policy(const LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:2657:60: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_get_firewall_policy’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneFirewallPolicy
linphone_core_get_firewall_policy(const LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:2726:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_ring_level(LinphoneCore *lc);
^~~
/usr/include/linphone/core.h:2734:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_play_level(LinphoneCore *lc);
^~~
/usr/include/linphone/core.h:2742:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘int’
LINPHONE_PUBLIC LINPHONE_DEPRECATED int
linphone_core_get_rec_level(LinphoneCore *lc);
^~~
/usr/include/linphone/core.h:2750:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_ring_level(LinphoneCore *lc, int level);
^~~~
/usr/include/linphone/core.h:2758:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_play_level(LinphoneCore *lc, int level);
^~~~
/usr/include/linphone/core.h:2766:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_rec_level(LinphoneCore *lc, int level);
^~~~
/usr/include/linphone/core.h:2768:21: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘char’
LINPHONE_DEPRECATED char linphone_core_get_sound_source(LinphoneCore
*lc);
^~~~
/usr/include/linphone/core.h:2770:21: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED void linphone_core_set_sound_source(LinphoneCore
*lc, char source);
^~~~
/usr/include/linphone/core.h:2983:17: error: unknown type name
‘MSFactory’
LINPHONE_PUBLIC MSFactory* linphone_core_get_ms_factory(LinphoneCore*
lc);
^~~~~~~~~
/usr/include/linphone/core.h:3039:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_mute_mic(LinphoneCore *lc, bool_t muted);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:3046:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_is_mic_muted(LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:3046:44: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_is_mic_muted’
LINPHONE_PUBLIC LINPHONE_DEPRECATED bool_t
linphone_core_is_mic_muted(LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:3092:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t *
linphone_core_get_call_logs(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:3101:17: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC bctbx_list_t *
linphone_core_get_call_history_for_address(LinphoneCore *lc, const
LinphoneAddress *addr);
^~~~~~~~~~~~
/usr/include/linphone/core.h:3201:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_enable_video(LinphoneCore *lc, bool_t vcap_enabled, bool_t
display_enabled);
^~~~
/usr/include/linphone/core.h:3275:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_video_policy(LinphoneCore *lc, const
LinphoneVideoPolicy *policy);
^~~~
/usr/include/linphone/core.h:3285:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const LinphoneVideoPolicy
*linphone_core_get_video_policy(const LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:3374:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const MSVideoSizeDef
*linphone_core_get_supported_video_sizes(LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:3393:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_preferred_video_size(LinphoneCore *lc, MSVideoSize
vsize);
^~~~
/usr/include/linphone/core.h:3416:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_preview_video_size(LinphoneCore *lc, MSVideoSize
vsize);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:3444:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_preview_video_size(const LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:3444:49: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_get_preview_video_size’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_preview_video_size(const LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:3465:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_current_preview_video_size(const LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:3465:49: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘linphone_core_get_current_preview_video_size’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_current_preview_video_size(const LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:3480:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_preferred_video_size(const LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:3480:49: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_get_preferred_video_size’
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize
linphone_core_get_preferred_video_size(const LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:3911:1: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneConfig *
linphone_core_create_lp_config(LinphoneCore *lc, const char *filename);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:3911:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_DEPRECATED LINPHONE_PUBLIC LinphoneConfig *
linphone_core_create_lp_config(LinphoneCore *lc, const char *filename);
^
/usr/include/linphone/core.h:3929:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t *
linphone_core_get_sip_setups(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:3938:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_DEPRECATED LINPHONE_PUBLIC void
linphone_core_destroy(LinphoneCore *lc);
^~~~
/usr/include/linphone/core.h:3983:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t
*linphone_core_get_calls(LinphoneCore *lc);
^~~~~~~~~~~~
/usr/include/linphone/core.h:4361:67: error: unknown type name
‘bctbx_list_t’
typedef void (*ContactSearchCallback)( LinphoneContactSearch* id,
bctbx_list_t* friends, void* data );
^~~~~~~~~~~~
/usr/include/linphone/core.h:5003:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_set_presence_info(LinphoneCore *lc,int minutes_away,const
char *alternative_contact,LinphoneOnlineStatus os);
^~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:5019:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneOnlineStatus
linphone_core_get_presence_info(const LinphoneCore *lc);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:5019:58: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘linphone_core_get_presence_info’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneOnlineStatus
linphone_core_get_presence_info(const LinphoneCore *lc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linphone/core.h:5046:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_interpret_friend_uri(LinphoneCore *lc, const char *uri,
char **result);
^~~~
/usr/include/linphone/core.h:5063:37: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
LINPHONE_PUBLIC LINPHONE_DEPRECATED void
linphone_core_remove_friend(LinphoneCore *lc, LinphoneFriend *fr);
^~~~
/usr/include/linphone/core.h:5079:38: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘const’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t *
linphone_core_get_friend_list(const LinphoneCore *lc);
^~~~~
/usr/include/linphone/core.h:5079:44: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t *
linphone_core_get_friend_list(const LinphoneCore *lc);
^~~~~~~~~~~~
In file included from /usr/include/linphone/core.h:30:0,
from helloworld.c:31:
/usr/include/linphone/core.h:5096:17: error: unknown type name
‘MS2_DEPRECATED’
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend
*linphone_core_get_friend_by_address(const LinphoneCore *lc, const char
*addr);
^
In file included from helloworld.c:31:0:
/usr/include/linphone/core.h:5096:52: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneFriend
*linphone_core_get_friend_by_address(const LinphoneCore *lc, const char
*addr);
^
/usr/include/linphone/core.h:5164:23: error: unknown type name
‘bctbx_list_t’
LINPHONE_PUBLIC const bctbx_list_t *
linphone_core_get_friends_lists(const LinphoneCore *lc);
^~~~~~~~~~~~
helloworld.c: In function ‘main’:
helloworld.c:95:5: warning: implicit declaration of function
‘linphone_core_new’ [-Wimplicit-function-declaration]
lc=linphone_core_new(&vtable,NULL,NULL,NULL);
^~~~~~~~~~~~~~~~~
helloworld.c:95:4: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
lc=linphone_core_new(&vtable,NULL,NULL,NULL);
^
helloworld.c:116:3: warning: implicit declaration of function
‘linphone_core_terminate_call’ [-Wimplicit-function-declaration]
linphone_core_terminate_call(lc,call);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
helloworld.c:123:2: warning: implicit declaration of function
‘linphone_core_destroy’ [-Wimplicit-function-declaration]
linphone_core_destroy(lc);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Help,
rammoorthyp <=