03-20-2008
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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT OPENDARWIN
md
md(1) BSD General Commands Manual md(1)
NAME
md -- process raw dependency files produced by cpp -MD
SYNOPSIS
md [-d] [-f] [-m makefile] [-u makefile] [-o outputfile] [-v] [-x] [-D c|d|m|o|t|D]
DESCRIPTION
The md command basically does two things:
Process the raw dependency files produced by the cpp -MD option. There is one line in the file for every #include encountered, but there are
repeats and patterns like .../dir1/../dir2 that appear which should reduce to .../dir2. md canonicalizes and flushes repeats from the depen-
dency list. It also sorts the file names and "fills" them to a 78 character line.
md also updates the makefile directly with the dependency information, so the .d file can be thrown away (see d option). This is done to
save space. md assumes that dependency information in the makefile is sorted by .o file name and it procedes to merge in (add/or replace [as
appropriate]) the new dependency lines that it has generated. For time effeciency, md assumes that any .d files it is given that were cre-
ated before the creation date of the "makefile" were processed already. It ignores them unless the force flag [f] is given.
FLAG SUMMARY
-d delete the .d file after it is processed
-f force an update of the dependencies in the makefile even though the makefile is more recent than the .n file (This implies that md has
been run already.)
-m makefile specify the makefile to be upgraded. The defaults are makefile and then Makefile
-u makefile like -m above, but the file will be created if necessary
-o outputfile specify an output file for the dependencies other than a makefile
-v set the verbose flag
-x expunge old dependency info from makefile
-D c|d|m|o|t|D subswitch for debugging. can be followed by any of "c", "d", "m", "o", "t", "D" meaning:
c show file contents
d show new dependency crunching
m show generation of makefile
o show files being opened
t show time comparisons
D show very low level debugging
SEE ALSO
make(1)
BUGS
Old, possibly not used by anyone.
HISTORY
The md utility was written by Robert V Baron at Carnegie-Mellon University.
BSD
June 2, 2019 BSD