[glug-t] Re: make all error (fwd)

Hi
Here is attached the make file.
thanks,
upendra

On Fri, 29 Oct 2004 vikram.ramakrishnan@xxxxxxx wrote:

> Date: Fri, 29 Oct 2004 19:35:40 +0530
> From: vikram.ramakrishnan@xxxxxxx
> Reply-To: glug_t@xxxxxxxxxxxxx
> To: glug_t@xxxxxxxxxxxxx
> Subject: [glug-t] Re: make all error (fwd)
> 
> can you post a snippet of your Makefile
> 
> Regards,
> Vikram Ramakrishnan
> Mailto: vikram.ramakrishnan@xxxxxxx
> Website: http://www.tcs.com
> 
> 
> 
> ulgandhi@xxxxxxxxxxxxxx 
> Sent by: glug_t-bounce@xxxxxxxxxxxxx
> 10/29/2004 07:31 PM
> 
> Please respond to
> glug_t@xxxxxxxxxxxxx
> 
> 
> To
> glug_t@xxxxxxxxxxxxx
> cc
> 
> Subject
> [glug-t] make all error (fwd)
> 
> 
> 
> 
> 
> 
> 
> I am trying to do make all
> it shows following erros ..what could be the error indicate..can anyone 
> throw on some light ?
> 
> ke[3]: Entering directory `/root/temp/numerik'
> make "NUMLIB=adifor" static "LIBFLAG = -g" 
> "F77=`/root/temp/cmd/diva-arch.sh f77`" \
>         "CCFLAGS=`/root/temp/cmd/diva-arch.sh ccflags`"
> make[4]: Entering directory `/root/temp/numerik'
> make[4]: *** No rule to make target 
> `adifor/obj/intel-linux-glibc2.1/report-once.o', needed by 
> `adifor/obj/intel-linux-glibc2.1/libadifor-intel-linux-glibc2.1.a'.Stop.
> make[4]: Leaving directory `/root/temp/numerik'
> make[3]: *** [lib] Error 2
> make[3]: Leaving directory `/root/temp/numerik'
> make[2]: *** [adifor] Error 2
> make[2]: Leaving directory `/root/temp/numerik'
> make[2]: Entering directory `/root/temp/numerik'
> make "DIVAHOME=`/root/temp/cmd/diva-home.sh`" 
> "ARCH=`/root/temp/cmd/diva-arch.sh`" install-lib
> make[3]: Entering directory `/root/temp/numerik'
> cp */obj/intel-linux-glibc2.1/lib* /root/temp/std/lib
> cp: cannot stat `*/obj/intel-linux-glibc2.1/lib*': No such file or 
> directory
> make[3]: *** [install-lib] Error 1
> make[3]: Leaving directory `/root/temp/numerik'
> make[2]: *** [install] Error 2
> 
> 
> upen
> ---------------------------------------------------------------
> To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
> 'unsubscribe' as subject.
> 
> Website: http://glugt.linuxisle.com
> 
> ForwardSourceID:NT000060EE 
> 
> 
> DISCLAIMER: The information contained in this message is intended only and 
> solely for the addressed individual or entity indicated in this message and 
> for the exclusive use of the said addressed individual or entity indicated in 
> this message (or responsible for delivery of the message to such person) and 
> may contain legally privileged and confidential information belonging to Tata 
> Consultancy Services Limited. It must not be printed, read, copied, 
> disclosed, forwarded, distributed or used (in whatsoever manner) by any 
> person other than the addressee. Unauthorized use, disclosure or copying is 
> strictly prohibited and may constitute unlawful act and can possibly attract 
> legal action, civil and/or criminal. The contents of this message need not 
> necessarily reflect or endorse the views of Tata Consultancy Services limited 
> on any subject matter.
>   Any action taken or omitted to be taken based on this message is entirely 
> at your risk and neither the originator of this message nor Tata Consultancy 
> Services Limited takes any responsibility or liability towards the same. 
> Opinions, conclusions and any other information contained in this message 
> that do not relate to the official business of Tata Consultancy Services 
> limited shall be understood as neither given nor endorsed by Tata Consultancy 
> Services Limited or any affiliate of Tata Consultancy Services Limited. If 
> you have received this message in error,  you should destroy this message and 
> may please notify the sender by e-mail. 
>  Thank you.
> 
> ---------------------------------------------------------------
> To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
> 'unsubscribe' as subject.
> 
> Website: http://glugt.linuxisle.com
> 


*******************************************************************************
Upendra Gandhi.
Systems Administrator,CIW
Chemical Engineering Department,
IIT, Bombay.-400 076
Email:ulgandhi@xxxxxxxxxxxxxx, ulgandhi@xxxxxxxxxx
Phone: Direct 25764237 or 25762545 with Extn: 4237 (O) ; 25721004 tansa house, 
Room 408 (R) mobil : 9819533063
icq - 140518042 email: upendralgandhi@xxxxxxxxxxx
*******************************************************************************
      e88~~\ 888b    | 888   |
    d888     |Y88b   | 888   |
    8888 __  | Y88b  | 888   |  ---------- Linux
    8888   | |  Y88b | 888   |
    Y888   | |   Y88b| Y88   |
     "88__/  |    Y888  "8__/
Lookin Forward ..horizon where 2 simliar entities - GOD & OPEN SOURCE
..driven by freedom,equality and continuous improvement, will meet !
*******************************************************************************


-- Attached file included as plaintext by Ecartis --
-- File: Makefile

DHOME=/usr/local/diva
LISP=clisp 
CLRUN=/usr/lib/clisp/full/lisp.run
CLMEM=/usr/lib/clisp/full/lispinit.mem
ACL=

ARCH=`${SRCDIR}/cmd/diva-arch.sh`

default: help
help:
        @echo
        @echo "Targets are:"
        @echo " -> all       Make everything"
        @echo " -> install   Install everything"
        @echo " -> clean     Clean up everything"
        @echo

all: scripts numlibs diva utilities c-gen

scripts:
        cp ${SRCDIR}/installation/diva-home-compile.sh 
${SRCDIR}/cmd/diva-home.sh
        cp ${SRCDIR}/installation/build-image ${SRCDIR}/code-generator
        cp ${SRCDIR}/installation/load-cg.lisp ${SRCDIR}/code-generator
        cp ${SRCDIR}/installation/Makefile.numerik ${SRCDIR}/numerik/Makefile
        cp ${SRCDIR}/installation/Makefile.std ${SRCDIR}/std/Makefile
        cp ${SRCDIR}/installation/Makefile.util ${SRCDIR}/util/Makefile
        cp ${SRCDIR}/installation/Makefile.dmake ${SRCDIR}/cmd

numlibs:
        PATH=${SRCDIR}/cmd:${PATH} ; \
        ${MAKE} "DIVAHOME=`${SRCDIR}/cmd/diva-home.sh`" 
"LMAKE=`${SRCDIR}/cmd/diva-arch.sh make`" nsource
nsource:
        cd ${SRCDIR}/numerik ; \
        ${LMAKE} adifor blas hsl12 lapack nag ; \
        ${LMAKE} install

diva:
        if test ! -d ${SRCDIR}/std/bin ; then mkdir ${SRCDIR}/std/bin ; fi
        PATH=${SRCDIR}/cmd:${PATH} ; \
        ${MAKE} "DIVAHOME=`${SRCDIR}/cmd/diva-home.sh`" 
"LMAKE=`${SRCDIR}/cmd/diva-arch.sh make`" dsource
dsource:
        cd ${SRCDIR}/std ; \
        ${LMAKE} all

utilities:
        PATH=${SRCDIR}/cmd:${PATH} ; \
        ${MAKE} "DIVAHOME=`${SRCDIR}/cmd/diva-home.sh`" 
"LMAKE=`${SRCDIR}/cmd/diva-arch.sh make`" usource
usource:
        cd ${SRCDIR}/util ; \
        ${LMAKE} all ; \
        ${LMAKE} install

c-gen:
        for flavour in ${LISP} ; do \
           ${MAKE} "DIVAHOME=`${SRCDIR}/cmd/diva-home.sh`" 
"FLAVOUR=$${flavour}" \
                   "ARCH=`${SRCDIR}/cmd/diva-arch.sh`" csource ; \
        done
csource:
        if test ! -d ${SRCDIR}/code-generator/lisp/${FLAVOUR}/${ARCH} ; \
           then mkdirhier ${SRCDIR}/code-generator/lisp/${FLAVOUR}/${ARCH} ; \
        fi 
        if test ! -L ${SRCDIR}/code-generator/lisp/${FLAVOUR}/${ARCH}/lisp.run 
; \
           then ln -sf ${CLRUN} 
${SRCDIR}/code-generator/lisp/${FLAVOUR}/${ARCH} ; \
                ln -sf ${CLMEM} 
${SRCDIR}/code-generator/lisp/${FLAVOUR}/${ARCH} ; \
        fi 
        if test ! -d ${SRCDIR}/code-generator/images/${FLAVOUR}/${ARCH} ; \
           then mkdirhier ${SRCDIR}/code-generator/images/${FLAVOUR}/${ARCH} ; \
        fi
        @echo "DIVAHOME: $${DIVAHOME}"
        cd ${SRCDIR}/code-generator ; ./build-image -${FLAVOUR}

install:
        cp ${SRCDIR}/installation/diva-home.sh ${SRCDIR}/cmd
        cp ${SRCDIR}/installation/makelinks.sh ${SRCDIR}/cmd
        if test ! -d ${DHOME} ; then mkdirhier ${DHOME} ; fi
        if test ! -d ${DHOME}/std ; then mkdirhier ${DHOME}/std ; fi
        for dir in cmd matlab std/bin std/doc std/examples std/par std/lib ; \
            do cp -dvr ${SRCDIR}/$${dir}/ ${DHOME}/$${dir} ; \
        done
        cd ${DHOME}/cmd ; ./makelinks.sh ; chmod 755 *.sh
        cd /usr/local/bin ; \
        for file in diva-arch.sh diva-home.sh drun dmake runcg diva-cmp-ddf 
pat2tex patchdsi ; \
          do ln -sf ${DHOME}/cmd/$${file} . ; \
        done
        cp -dr ${SRCDIR}/code-generator ${DHOME}
        for file in `find ${SRCDIR} -name \*.par` ; \
            do cp $${file} ${DHOME}/std/par/`basename $${file}` ; \
        done
        for file in `find ${SRCDIR} -name \*.err` ; \
            do cp $${file} ${DHOME}/std/par/`basename $${file}` ; \
        done
        cp -r ${SRCDIR}/std/source/sim/misc/dsimai.cfg ${DHOME}/std/par
        cp -r ${SRCDIR}/std/source/sim/misc/newmsgh.cmm ${DHOME}/std/par
        if test ! -d ${DHOME}/std/source/sim/misc ; then mkdirhier 
${DHOME}/std/source/sim/misc ; fi
        cp -r ${SRCDIR}/std/source/sim/misc/dsipr*.* 
${DHOME}/std/source/sim/misc
        cp -r ${SRCDIR}/std/source/sim/misc/dsipar.par 
${DHOME}/std/source/sim/misc
        cp -r ${SRCDIR}/std/source/sim/misc/dsimai.err 
${DHOME}/std/source/sim/misc

uninstall:
        rm -rf ${DHOME}
        cd /usr/local/bin ; \
        for file in diva-arch.sh diva-home.sh drun dmake runcg diva-cmp-ddf 
pat2tex patchdsi ; \
          do rm $${file} ; \
        done

clean:
        cd ${SRCDIR}/std ; \
        ${MAKE} clean
        cd ${SRCDIR}/util ; \
        ${MAKE} clean
        cd ${SRCDIR}/numerik ; \
        ${MAKE} clean
        cd ${SRCDIR}/code-generator ; \
        rm -rf bin images lisp imagemake.log
        cd ${SRCDIR} ; \
        rm Makefile configure config.cache config.log installation/diva-home.sh 
installation/diva-home-compile.sh installation/load-cg.lisp

---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: