Hello All,

        Any Help, Make version, The Makefile and the make output are as below.

hummer% make -ver
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
 
Report bugs to <[EMAIL PROTECTED]>.
 

        The Makefile in Questions is....

include ../../../intg/Makefile.Env
 
ODIR := $(LBLD)/smstomworld
LDIR := $(LBLD)/lib
 
NAM := libSmsTomWorld.so
LIB := $(LDIR)/$(NAM)
INSTLIB := $(COSS_INSTALL_ROOT)/lib/$(NAM)
 
SRCS := SmsAppConfigOptions.C 

FLAGS := -G -KPIC -mt -g -ptr$(ODIR) -D_REENTRANT
 
INCLUDES = -I$(COSS_COSSSMSTOMWORLD)/inc \

VPATH := $(COSS_COSSSMSTOMWORLD)/src
 
OBJS := $(SRCS:%.C=$(ODIR)/%.o)
 
.PHONY: clean
 
#####################################
all: $(ODIR) $(LIB) $(INSTLIB) 
 
$(LIB): $(OBJS)
        $(CC) $(FLAGS) $(INCLUDES) $^ -o $@
 
$(INSTLIB): $(LIB)
        cp -p $< $@
 
$(ODIR):
        mkdir -p $@/depend
 
$(ODIR)/%.o : %.C
        @$(CC) -xM1 $(INCLUDES) $< | sed 's.^.$(ODIR)/.' > $(ODIR)/depend/$*.d
        $(CC) $(FLAGS) $(INCLUDES) -c $< -o $@
 
clean:
        rm -f core *~ $(LIB) $(INSTLIB)
        rm -rf $(ODIR)
 
-include $(SRCS:%.C=$(ODIR)/depend/%.d)

        ***** The output generated is **********

IN SUBSYSTEM  `/ossvobs/oss/Coss/src/CossSmsTomWorld/intg'
make[1]: Entering directory `/ossvobs/oss/Coss/src/CossSmsTomWorld/intg'
mkdir -p /export/home/localbuild_depend_merge_view/smstomworld/depend
/bin/sh: /export/home/localbuild_depend_merge_view/smstomworld/depend/SmsAppConf
igOptions.d: cannot create
make[1]: *** [/export/home/localbuild_depend_merge_view/smstomworld/SmsAppConfig
Options.o] Error 1
make[1]: Leaving directory `/ossvobs/oss/Coss/src/CossSmsTomWorld/intg'





Quoting Paul D. Smith:
> 
> %% [EMAIL PROTECTED] (Jagadish Prasad) writes:
> 
>   jp>         Thanks for the quick response. Can you let me know what
>   jp>         information you or the group would need to help resolve
>   jp>         the problem.
> 
> I wrote:
> 
>   >> The GNU make manual section "Problems and Bugs" will help you.
> 
> HTH.
> 
> -- 
> -------------------------------------------------------------------------------
>  Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
>  http://www.gnu.org                      http://www.ultranet.com/~pauld/gmake/
>  "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
> 


-- 
The most valuable of all talents is that of never using two words when one will do - 
Thomas Jefferson
 
****************************************************************************
Jagadish Prasad                                                 650-637-4794
Cosine Communications
RedwoodCity, CA
****************************************************************************

Reply via email to