Since I want to modify/edit the code of simple_pjsua.c and pjsua_app.c or simpluea.c to my requirement. I created a folder called rach, where I copied 3 files ( main.c. main-rtems.c and pjsua_app.c ) and wrote a Makefile as below: ( I renamed main.c as call.c & included the pjsua_app.c ( *#define THIS_FILE "pjsua_app.c"* ) *PJBASE=C:\pjproject-1.3\ 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: call call: call.c $(CC) -o $@ $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) clean: rm -f call.o call *On my shell prompt when I enter, the my folder ( rach ) $ cd C:/pjproject-1.3 $ ./rach $ make I see these lines after make on my shell prompt: make[2]: Entering dir '/c/pjproject-1.3/pjsip-apps/build' make[2]:'../bin/pjsua-i686-pc-mingw32' is up to date make[2]: leaving make -f Samples.mak make[2]: Entering dir '/c/pjproject-1.3/pjsip-apps/build' make[2]: Nothing to be done for 'all' make[2]: Leaving dir '/c/pjproject-1.3/pjsip-apps/build' But couldn't see any executable ( call.exe, if I'm not wrong ) What Am I missing? How should I compile and run to see the output I want to see like when I run the samples( C:/pjproject-1.3/pjsip-apps/src/samples ) Thanks! On Fri, Sep 4, 2009 at 2:31 PM, P.Muge Ersoy <muge.ersoy at gmail.com> wrote: > Look at the line 3 you probably left to put "(" or ")" in some function or > you put an extra one.. you can post the code here.. it is better to locate > the error in full code. > > Muge > > On Fri, Sep 4, 2009 at 6:52 PM, Rachel Baskaran <rachelbaskaran at gmail.com>wrote: > >> Hey, >> >> I'm trying to edit & compile to simpleau.c file to see how the output >> would be. >> But I get following error: >> >> $ simpleau.c >> >> /Thumbs.db: cannot execute a binary file >> line3: syntax error near unexpected token '(' >> >> Any help! >> >> >> Rachel >> >> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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/20090904/a422ace0/attachment.html>