Sponsored Content
Full Discussion: Proc Makefile error
Top Forums UNIX for Dummies Questions & Answers Proc Makefile error Post 302177098 by nagasundaramn on Thursday 20th of March 2008 03:45:54 AM
Old 03-20-2008
Bug Proc Makefile error

Hi

When i am compile the makefile i am getting this error.

make: Fatal error in reader: Makefile, line 25: Extra `:', `::', or `:=' on dependency line

Following Content is the makefile.



HDR_INSTALL = CommonDb.h rpts.h rptslogfmts.h
CCFLAGS+= -g -v

BINDIR = $(INSTALLROOT)/bin
BINFILES = cal_stoplite.sh su_cust.sh


SRC3= cal_cust_stoplite.pC


SRC31= cal_sys_cust_alias_stoplite.pC
SRC32= cal_sys_cust_type_stoplite.pC
SRC33= cal_per_cust_alias_stoplite.pC
SRC34= cal_per_cust_type_stoplite.pC



/*
.SOURCE.h : .INSERT /opt/oam/$(OAM_RELEASE)/include
*/

$(INCLUDEDIR) :INSTALLDIR: $(HDR_INSTALL)
$(LIBDIR) :INSTALLDIR: rptslogfmts


LDLIBRARIES += -lcommdb -l++

CCFLAGS+= -DLARGESCALE

PCCFLAGS += lines=yes

APP_LIBS = \
libbmpmog.a \
libbmpstat.a \
libshmmgr.a \
librwtool.a \
libsuplgs.a \
libsup.a

LIBFLAG = libsuplgs.a -lbmpmog -lbmpstat -lshmmgr -lrwtool \
-lcp -lfmqi -lftux -lfbsafe -lfldap \
-l++ -lsocket -lnsl \
libdmqcl.a

APPCCFLAG = -DSUPDEBUG -DDMQ -DWEB -D_REENTRANT -mt -s

.SOURCE.h : .INSERT /opt/oam/$(OAM_RELEASE)/include \
../../../../include /opt/expat/xmlparse
.SOURCE.a : .INSERT ../../../../lib /opt/expat \
/opt/oam/$(OAM_RELEASE)/lib

libcommdb.a :: $(SRC)

cal_cust_stoplite :: $(APPCCFLAG) $(SRC3) $(ORALIBS) $(APP_LIBS) $(LIBFLAG)
cal_sys_cust_alias_stoplite :: $(APPCCFLAG) $(SRC31) $(ORALIBS) $(APP_LIBS) $(LIBFLAG)
cal_sys_cust_type_stoplite :: $(APPCCFLAG) $(SRC32) $(ORALIBS) $(APP_LIBS) $(LIBFLAG)
cal_per_cust_alias_stoplite :: $(APPCCFLAG) $(SRC33) $(ORALIBS) $(APP_LIBS) $(LIBFLAG)
cal_per_cust_type_stoplite :: $(APPCCFLAG) $(SRC34) $(ORALIBS) $(APP_LIBS) $(LIBFLAG)

$(BINDIR) :INSTALLDIR: $(BINFILES)


Help me for this.
 

10 More Discussions You Might Find Interesting

1. Linux

Kernal panic error& setuproot:error mounting /proc&/sys

Hi all, I am new to redhat/fedora linux. In fedora linux 6,we created one file system(hda3 - /fs). in this mount poing we were installed mounta vista os. while booting we are getting below error messages. 1) Booting 'mountaVisat(2.6.18_pro 500_pc_target-x86_586 smp)' root(hd0,1)... (2 Replies)
Discussion started by: arjunreddy3
2 Replies

2. Shell Programming and Scripting

Error in script to automate the daily monitoring process of UNIX server and it's proc

hi friends, I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines . 1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies

3. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

4. Programming

Proc compilation error.

I'm trying to compile a proc program when use make -f proc.mk , it gives the following error . `/export/home/app/oracle/product/10.2.0/lib/libclntsh.so' is up to date. rateutil.o: No such file or directory Please advise ,, I need urgent help. Thanks, Omar Atia:) (2 Replies)
Discussion started by: atiato
2 Replies

5. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on Thu... (1 Reply)
Discussion started by: suhaswallur
1 Replies

6. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $ make . . . Making linkable rim_grd_main.o proc sqlcheck=full user=/ include=../include include=/rims/prod/include iname=rim_grd_main.pcx Pro*C/C++: Release... (1 Reply)
Discussion started by: suhaswallur
1 Replies

7. Solaris

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on... (2 Replies)
Discussion started by: suhaswallur
2 Replies

8. Shell Programming and Scripting

Error when calling sybase stored proc from shell script

Hi, I am writing a script that needs to call a stored proc which would update a column in a table based on a condition. I need to also capture the number of rows updated. However, When I execute the script I keep getting this error: ./test_isql.sh: syntax error at line 33: `end of file'... (3 Replies)
Discussion started by: karthikk
3 Replies

9. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

10. Programming

Linux 11.2 to 10.2 Proc Compile error

I am trying to compile a proc++ program on linux using an 11.2 client and pointing to a 10.2 database running on Solaris. The compiler is able to connect to the database but the semantic checks fail as if it cannot see any objects in the database. I tried a test, only selecting 'X' into a... (0 Replies)
Discussion started by: rdudash
0 Replies
ml-makedepend(1)					      General Commands Manual						  ml-makedepend(1)

NAME
ml-makedepend - list files a ML program depends upon SYNOPSIS
ml-makedepend [ DU-options ] [ -n ] [ -f makefile ] project.cm target ml-makedepend [ DU-options ] [ -a arch ] [ -o os ] [ -f makefile ] project.cm target DESCRIPTION
This manual page documents briefly the ml-makedepend command. This manual page was written for the Debian distribution because the origi- nal program does not have a manual page. The ml-makedepend script is part of the SML/NJ CM (Compilation and Library Manager) that is used to generate a list of files that a ML program depends on for use by make. OPTIONS
A summary of options is included below. -n ml-makedepend usually uses the make variables $(ARCH) and $(OPSYS) in the filenames for the Makefile. This option disables this feature. -a arch Use arch in place of $(ARCH). -o os Use os in place of $(OPSYS). -f makefile Name of the makefile to be used rather than the default Makefile. -Dname=value Set CM variable to given value. -Dname Set CM variable to 1. -Uname Unset CM variable. SEE ALSO
sml(1), ml-lex(1), ml-build(1), ml-yacc(1). The programs are documented fully by CM: The SML/NJ Compilation and Library Manager, User Manual, Matthias Blume, which is available via <http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>. AUTHOR
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others). October 25, 2002 ml-makedepend(1)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy