RE(Solved): pjsip Digest, Vol 68, Issue 38

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

 



Thanks Ted, Issue solved.
The make file for PJSUA is
PKGCONF = `pkg-config --cflags --libs libpjproject`OBJECTS = pjsua_app.o main.o CC = gcc all: sipua   sipua: ${OBJECTS}	$(CC) ${OBJECTS} -o sipua ${PKGCONF}
pjsua_app.o: pjsua_app.c	${CC} -c $< -o $@ ${PKGCONF}
main.o: main.c	${CC} -c $< -o $@ ${PKGCONF} clean:	${RM} *.o	${RM} sipua 


Best Regards,Sakharam Thorat.

> From: pjsip-request@xxxxxxxxxxxxxxx
> Subject: pjsip Digest, Vol 68, Issue 38
> To: pjsip at lists.pjsip.org
> Date: Mon, 8 Apr 2013 03:04:08 -0400
> 
> Send pjsip mailing list submissions to
> 	pjsip at lists.pjsip.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> or, via email, send a message with subject or body 'help' to
> 	pjsip-request at lists.pjsip.org
> 
> You can reach the person managing the list at
> 	pjsip-owner at lists.pjsip.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pjsip digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Makefile for pjsua (Ted Gerold)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 08 Apr 2013 00:03:46 -0700
> From: Ted Gerold <tedgerold@xxxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Makefile for pjsua
> Message-ID: <90DD96C2-CA66-4CAE-B9A0-0E649E7B5826 at icloud.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Maybe something more like:
> 
> PKGCONF = `pkg-config --cflags --libs libpjproject`
> OBJECTS = pjsua_app.o main.o 
> CC = gcc
> 
> all: sipua  
> 
> sipua: ${OBJECTS} sipua.o
>   $(CC) ${OBJECTS} sipua.o -o sipua ${PKGCONF} 
> 
> .c.o:
>   ${CC} -c $< -o $@ ${PKGCONF}
> 
> clean:
>   ${RM} *.o
>   ${RM} sipua 
> 
> 
> 
> On Apr 7, 2013, at 9:52 PM, Sakharam Thorat <sakharam.thorat at einfochips.com> wrote:
> 
> > 
> > 
> > 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 status
> > make: *** [sipua] Error 1
> > 
> > 
> >  can you please help me to sort out above.
> > 
> > 
> > Best Regards,
> > Sakharam Thorat.
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> > 
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130408/febfc601/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> 
> ------------------------------
> 
> End of pjsip Digest, Vol 68, Issue 38
> *************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130408/e48c2110/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