Building PJSip in Eclipse on Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since I didn't get a response or help from anyone in building PJSIP in
windows.

I was attempting to do it in Linux. I can configure and make fine but when I
try to debug by loading the project in Eclipse I get tons of errors. I
created a managed c project in eclipse 3.2-> then imported filesystem where
I selected the top level directory of asterisk-1.6.0.9 . I can step through
the code with nemiver but I would like eclipse's functionality because it
helps



As follows are the errors:

Severity and Description    Path    Resource    Location    Creation Time
Id
/usr/include/sys/stat.h error: storage class specified for parameter
?__fxstat?        pjsipv0001    line 398    1239153320916    1883
/usr/include/sys/stat.h error: storage class specified for parameter
?__fxstatat?        pjsipv0001    line 405    1239153320917    1886
/usr/include/sys/stat.h error: storage class specified for parameter
?__lxstat?        pjsipv0001    line 402    1239153320917    1885
/usr/include/sys/stat.h error: storage class specified for parameter
?__xmknod?        pjsipv0001    line 441    1239153320918    1887
/usr/include/sys/stat.h error: storage class specified for parameter
?__xmknodat?        pjsipv0001    line 445    1239153320918    1888
/usr/include/sys/stat.h error: storage class specified for parameter
?__xstat?        pjsipv0001    line 400    1239153320917    1884
/usr/include/sys/stat.h error: storage class specified for parameter
?chmod?        pjsipv0001    line 283    1239153320914    1876
/usr/include/sys/stat.h error: storage class specified for parameter
?fchmod?        pjsipv0001    line 295    1239153320915    1878
/usr/include/sys/stat.h error: storage class specified for parameter
?fstat?        pjsipv0001    line 214    1239153320913    1874
/usr/include/sys/stat.h error: storage class specified for parameter
?lchmod?        pjsipv0001    line 290    1239153320914    1877
/usr/include/sys/stat.h error: storage class specified for parameter
?lstat?        pjsipv0001    line 262    1239153320914    1875
/usr/include/sys/stat.h error: storage class specified for parameter
?mkdir?        pjsipv0001    line 319    1239153320915    1880
/usr/include/sys/stat.h error: storage class specified for parameter
?mkfifo?        pjsipv0001    line 348    1239153320916    1882
/usr/include/sys/stat.h error: storage class specified for parameter
?mknod?        pjsipv0001    line 334    1239153320916    1881
/usr/include/sys/stat.h error: storage class specified for parameter
?stat?        pjsipv0001    line 210    1239153320913    1873
/usr/include/sys/stat.h error: storage class specified for parameter
?umask?        pjsipv0001    line 309    1239153320915    1879
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
695    1239153317382    225
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
699    1239153317382    227
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
809    1239153317382    228
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
832    1239153317383    229
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
2171    1239153317383    231
ast_expr2f.c error: expected ?)? before ?*? token        pjsipv0001    line
2183    1239153317383    233
ast_expr2f.c error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
?*? token        pjsipv0001    line 693    1239153317381    224
ast_expr2f.c error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
?*? token        pjsipv0001    line 697    1239153317382    226
ast_expr2f.c error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
?*? token        pjsipv0001    line 2165    1239153317383    230
ast_expr2f.c error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
?*? token        pjsipv0001    line 2177    1239153317383    232
ast_expr2f.c error: expected specifier-qualifier-list before ?YYSTYPE?
    pjsipv0001    line 646    1239153317381    223
error: ?__DAHDI_SIG_FXO? undeclared (first use in this function)
pjsipv0001/channels    chan_dahdi.c    line 8160    1239153325365    4455
error: ?__DAHDI_SIG_FXS? undeclared (first use in this function)
pjsipv0001/apps    app_flash.c    line 82    1239153361973    11581
error: ?__DAHDI_SIG_FXS? undeclared (first use in this function)
pjsipv0001/channels    chan_dahdi.c    line 3769    1239153322442    3957
error: ?__DAHDI_SIG_FXS? undeclared (first use in this function)
pjsipv0001/channels    chan_dahdi.c    line 8828    1239153326217    4557
error: ?act? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_lib.c    line 790    1239153355329    9565
error: ?act? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_lib.c    line 814    1239153355362    9584
error: ?act? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_lib.c    line 830    1239153355369    9592
error: ?act? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_lib.c    line 855    1239153355384    9609
error: ?act? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_lib.c    line 886    1239153355391    9617
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 730    1239153320879    1736
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 746    1239153320879    1739
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 760    1239153320880    1742
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 771    1239153320880    1746
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 784    1239153320882    1752
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 792    1239153320882    1755
error: ?adaptivejb? undeclared (first use in this function)
pjsipv0001/main    abstract_jb.c    line 809    1239153320884    1761
error: ?add? undeclared (first use in this function)    pjsipv0001/pbx
pbx_gtkconsole.c    line 364    1239153320765    1509
error: ?ALERTING_t? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_msg_parser.c    line 101
1239153361145    10726
error: ?alerting? undeclared (first use in this function)
pjsipv0001/channels/misdn    isdn_msg_parser.c    line 101
1239153361145    10727
error: ?ASN_COUNTER? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 772    1239153317499    396
error: ?ASN_GAUGE? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 771    1239153317499    395
error: ?ASN_INTEGER? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 769    1239153317498    394
error: ?ASN_OCTET_STR? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 765    1239153317494    390
error: ?ASN_TIMETICKS? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 767    1239153317497    393
error: ?ASN_UNSIGNED? undeclared (first use in this function)
pjsipv0001/res/snmp    agent.c    line 766    1239153317496    392
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_adsiprog.c    line 1580    1239153361951    11469
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_alarmreceiver.c    line 715    1239153361951    11470
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_amd.c    line 446    1239153361951    11471
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_authenticate.c    line 226    1239153361952    11472
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_cdr.c    line 63    1239153361952    11473
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_chanisavail.c    line 157    1239153361952    11474
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_channelredirect.c    line 98    1239153361952
11475
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_chanspy.c    line 951    1239153361952    11476
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_controlplayback.c    line 191    1239153361952
11477
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dahdibarge.c    line 300    1239153361954    11488
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dahdiras.c    line 252    1239153361955    11499
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dahdiscan.c    line 363    1239153361957    11510
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_db.c    line 139    1239153361957    11511
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dial.c    line 2108    1239153361957    11512
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dictate.c    line 340    1239153361957    11513
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_directed_pickup.c    line 172    1239153361957
11514
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_directory.c    line 849    1239153361957    11515
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_disa.c    line 373    1239153361957    11516
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_dumpchan.c    line 160    1239153361957    11517
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_echo.c    line 86    1239153361958    11518
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_exec.c    line 246    1239153361958    11519
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_externalivr.c    line 680    1239153361958    11520
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_fax.c    line 775    1239153361972    11573
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_festival.c    line 569    1239153361972    11574
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_flash.c    line 112    1239153361973    11585
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_followme.c    line 1085    1239153361973    11586
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_forkcdr.c    line 251    1239153361974    11587
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_getcpeid.c    line 130    1239153361974    11588
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_ices.c    line 237    1239153361974    11589
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_image.c    line 80    1239153361974    11590
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_ivrdemo.c    line 115    1239153361974    11591
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_jack.c    line 976    1239153362081    11762
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_macro.c    line 558    1239153362081    11763
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_meetme.c    line 5752    1239153362090    11797
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_milliwatt.c    line 167    1239153362090    11798
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_minivm.c    line 3105    1239153362090    11799
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_mixmonitor.c    line 509    1239153362090    11800
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_morsecode.c    line 161    1239153362090    11801
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_mp3.c    line 253    1239153362090    11802
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_nbscat.c    line 237    1239153362090    11803
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_osplookup.c    line 2037    1239153362129    11899
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_page.c    line 212    1239153362129    11900
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_parkandannounce.c    line 190    1239153362129
11901
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_pickupchan.c    line 174    1239153362129    11902
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_playback.c    line 522    1239153362129    11903
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_privacy.c    line 171    1239153362129    11904
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_queue.c    line 6643    1239153362129    11905
error: ?AST_MODULE? undeclared here (not in a function)
pjsipv0001/apps    app_read.c    line 231    1239153362130    11906

-- 
Shiraz

500 Riverside Drive
#425
New York, NY 10027
(703) 879-8342 (skype prefer)
(571) 276 2404 (cell)
(212) 316 8630 (landline) (extn 8630)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090407/60401e73/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux