FW: Makefile for pjsua

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

 







Hi ,
I am trying to run pjsua_app.c
My make file is all: sipua
sipua: pjsua_app.o main.o	$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)
pjsua_app.o: pjsua_app.c	$(CC) -o $@ -c $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)
main.o: main.c	$(CC) -o $@ -c $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)
clean:	rm -f *.o sipua


After execution above make i got following error 
main.o: In function `main':main.c:(.text+0x9e): undefined reference to `pj_run_app'collect2: ld returned 1 exit statusmake: *** [sipua] Error 1

 can you please help me to sort out above.

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