PJSUA compile error; pjsua_app.c

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

 



Hi,

I tried to compile sample aplication pjsua_app.c; located at=>pjsip-apps/src/pjsua/pjsua_app.c

I also made make file =>

all:pjsua_app
pjsua_app:pjsua_app.c
    $(CC) -o $@ $< `pkg-config --cflags --libs libpjproject`

clean:
    rm -f pjsua_app.o pjsua_app

when i tried to compile it  i got following error, please suggest if i missed something.

root at ubuntu:/home/test/Desktop/sip/pjsua# make
cc -o pjsua_app pjsua_app.c `pkg-config --cflags --libs libpjproject`
pjsua_app.c: In function ?parse_args?:
pjsua_app.c:822: warning: ignoring return value of ?freopen?, declared with attribute warn_unused_result
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [pjsua_app] Error 1



Best Regards,Sakharam Thorat. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130405/fd974735/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