I have a makefile as below in my file rach along with main_rterms and call.c(where I had renamed main.c to call.c ) hope followed the tutorial to build. 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 resaved the folder rach to pjsip-apps/src/rach. when I ran the command: make CFLAGS='-Wall -Werror' My command-line output was *pjlib/include/pj/config_site_sample.h: no newline at end of file.* Rachel On Thu, Sep 10, 2009 at 3:31 PM, John Graham <johngavingraham at googlemail.com > wrote: > This is not an error - far from it, it's actually a good thing! When > make says "nothing to be done for 'all'", that's because the > source/object files that your target (i.e. your executable) depends on > are all older than the target itself, so it doesn't need to waste your > time by rebuilding it. > > You can force make to rebuild your target by resaving your source file > or, for example, running the 'touch' program on the file. > > You need to tell make all the source/object files your target depends > on, so it knows when to rebuild your executable - if you don't know > how, a quick look at a tutorial on make should tell you what you need > to know. > > John G > > > > On Thu, Sep 10, 2009 at 6:53 PM, Rachel Baskaran > <rachelbaskaran at gmail.com> wrote: > > Oh now It gives me this error: > > 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' > > > > I have my folder rach in pjsip-apps/src/rach. > > Samples.mak(pjsip-apps/build) > > > > include ../../build/common.mak > > > ############################################################################### > > # Gather all flags. > > # > > export _CFLAGS := $(PJ_CFLAGS) $(CFLAGS) > > export _CXXFLAGS:= $(PJ_CXXFLAGS) > > export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) > > > > SRCDIR := ../src/rach > > OBJDIR := ./output/rach-$(TARGET_NAME) > > BINDIR := ../bin/rach/$(TARGET_NAME) > > > > rach := simple_pjsua \ > > rach \ > > EXES := $(foreach file, $(rach), $(BINDIR)/$(file)$(HOST_EXE)) > > > > Previously it was working but now it doesn't . what am I missing? > > > > I'll check out the code. > > > > Rachel > > > > > > On Thu, Sep 10, 2009 at 1:21 PM, John Graham > > <johngavingraham at googlemail.com> wrote: > >> > >> You could copy the current code that function called (one version > >> (don't know if it's the latest) is in > >> > >> > http://svn.pjsip.org/repos/pjproject/tags/0.5.0-before-conf/pjsip/src/pjsua/pjsua_inv.c > ) > >> or search through the library to find a suitable function/set of > >> functions. > >> > >> John G > >> > >> > >> > >> On Thu, Sep 10, 2009 at 5:34 PM, Rachel Baskaran > >> <rachelbaskaran at gmail.com> wrote: > >> > Alright this time my error: > >> > cd C:/pjproject-1.3 > >> > make CFLAGS='-Wall -Werror' > >> > > >> > > >> > ../src/rach/rach.c:In function 'ui_console_main' > >> > ../src/rach/rach.c:117:warning :implicit declaration of function > >> > 'pjsua_invite' > >> > > >> > Is there any way to just change the call part to work in the script I > >> > attached, coz I have to make this working. > >> > > >> > 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 > > > > > > _______________________________________________ > 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/20090910/c20bc053/attachment-0001.html>