error in SVN-version

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

 



 
  Thanks benny, i am able to cross compile  and build the svn -version for ARM Processor
  
Now i created my own make file and trying to build pjsua-apps.c statically  to run on the ARM target
   
  This is the makefile iam using 
  /*******************************************************************************/
PJBASE=/pjproject
include $(PJBASE)/build.mak
  CC      = $(APP_CC)
LDFLAGS = $(APP_LDFLAGS)
LDLIBS  = $(APP_LDLIBS)
CFLAGS  = $(APP_CFLAGS)
CPPFLAGS= ${CFLAGS}
# If your application is in a file named myapp.cpp or myapp.c
# this is the line you will need to build the binary.
all: myapp
myapp:pjsua_app.c
        $(CC) -s -static -o  $@ $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)
  clean:
          rm -f pjsua_app.o myapp
*****************************************************************************
  I am getting the following error:                                                             
  pjsua_app.c: In function `parse_args':
pjsua_app.c:645: error: structure has no member named `require_100rel'
pjsua_app.c:646: error: structure has no member named `require_100rel'
pjsua_app.c:650: error: structure has no member named `auth_pref'
pjsua_app.c:674: error: structure has no member named `auto_update_nat'
pjsua_app.c:1041: error: structure has no member named `auth_pref'
pjsua_app.c: In function `write_account_settings':
pjsua_app.c:1110: error: structure has no member named `auto_update_nat'
pjsua_app.c: In function `on_call_media_state':
pjsua_app.c:1839: error: `PJSUA_CALL_MEDIA_ERROR' undeclared (first use in this function)
pjsua_app.c:1839: error: (Each undeclared identifier is reported only once
pjsua_app.c:1839: error: for each function it appears in.)
pjsua_app.c: At top level:
pjsua_app.c:1973: error: parse error before '*' token
pjsua_app.c: In function `on_nat_detect':
pjsua_app.c:1975: error: `res' undeclared (first use in this function)
pjsua_app.c: In function `print_acc_status':
pjsua_app.c:2045: error: structure has no member named `online_status_text'
pjsua_app.c:2046: error: structure has no member named `online_status_text'
pjsua_app.c: In function `change_online_status':
pjsua_app.c:2287: error: `pjrpid_element' undeclared (first use in this function)
pjsua_app.c:2287: error: parse error before "elem"
pjsua_app.c:2322: error: `elem' undeclared (first use in this function)
pjsua_app.c:2323: error: `PJRPID_ELEMENT_TYPE_PERSON' undeclared (first use in this function)
pjsua_app.c:2331: error: `PJRPID_ACTIVITY_BUSY' undeclared (first use in this function)
pjsua_app.c:2339: error: `PJRPID_ACTIVITY_UNKNOWN' undeclared (first use in this function)
pjsua_app.c:2343: error: `PJRPID_ACTIVITY_AWAY' undeclared (first use in this function)
pjsua_app.c: In function `app_init':
pjsua_app.c:3373: error: structure has no member named `on_call_tsx_state'
pjsua_app.c:3381: error: structure has no member named `on_nat_detect'
pjsua_app.c:3682:1: warning: "THIS_FILE" redefined
pjsua_app.c:22:1: warning: this is the location of the previous definition
make: *** [myapp] Error 
   
  could u please see these things...
   
  Thanks
Anitha Suresh
                                                                
   

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080116/8567cbd5/attachment.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