Hello All I am just begining to use sofia-sip library. But i have a problem in using it's libraries.
First i downloaded sofia-sip-1.12.10<http://sourceforge.net/projects/sofia-sip/files/>package and installed it with istructions: ./configure make make install When I compile my code that just included sip.h with instruction : gcc Mycode.c -o Mycode -I ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip I encounter with these errors ************************* [r...@localhost Mycode]# gcc fileOpeningTest.c -o fileOpeningTest -I ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip In file included from fileOpeningTest.c:4: ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:39:33: error: sofia-sip/msg_types.h: No such file or directory ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:42:32: error: sofia-sip/msg_mime.h: No such file or directory In file included from fileOpeningTest.c:4: ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_time_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_common_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_param_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_auth_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_error_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_unknown_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_separator_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_payload_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_accept_encoding_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_accept_language_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_content_disposition_t’ ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_content_encoding_t’ ... ... ********************************* Thanks in advance I encounter with these errors -- Amir Masoud
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel