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 DEBIAN
makefile::ast
Makefile::AST(3pm) User Contributed Perl Documentation Makefile::AST(3pm)
NAME
Makefile::AST - AST for (GNU) makefiles
DESCRIPTION
The structure of this (GNU) makefile AST is designed based on GNU make's data base listing output produced by "--print-data-base".
This AST library provides the following classes:
Makefile::AST
The primary class for ASTs. Provides interface for node adding and querying, such as "add_implicit_rule", "apply_implicit_rules",
"add_explicit_rule", "apply_explicit_rules", "add_var", "add_auto_var", "get_var", as well as lots of other utility functions, like
method "eval_var_value" for computing the ultimate values of makefile variables, method "enter_pad" and "leave_pad" for local
variable's scoping pad.
Makefile::AST::Rule::Base
This is the base class for the rule nodes in the AST. It has properties like "normal_prereqs", "order_prereqs", "commands", and
"colon".
Makefile::AST::Rule
This class represents the de-sugared form of simple rules and implicite rules after application. It inherits from
Makefile::AST::Rule::Base, and adds new properties "target" and "other_targets".
Makefile::AST::Rule::Implicit
This class represents the implicit rule nodes in the AST. It inherits from Makefile::AST::Rule::Base, and adds new properties
"targets", "match_anything", and "is_terminal".
Makefile::AST::StemMatch
This class encapsulates the file pattern matching (file names containing "%") and stem substitution algorithms.
Makefile::AST::Variable
It represents the makefile variable nodes in the AST, including "name", "value", "flavor", and "origin".
Makefile::AST::Command
Used to encapsulate information regarding makefile rule commands (e.g. command body, command modifiers "@", "-", "+", and etc.) as a
whole.
LIMITATIONS AND TODO
Adding support for other flavors' makes into this AST library should make a huge amount of sense. The most interesting candiate is
Microsoft's NMAKE.
CODE REPOSITORY
For the very latest version of this script, check out the source from
http://github.com/agentzh/makefile-parser-pm <http://github.com/agentzh/makefile-parser-pm>.
There is anonymous access to all.
AUTHOR
Zhang "agentzh" Yichun "<agentzh@gmail.com>"
COPYRIGHT AND LICENSE
Copyright (c) 2007-2008 by Zhang "agentzh" Yichun (agentzh).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Makefile::AST::Evaluator, Makefile::Parser::GmakeDB, makesimple, pgmake-db, Makefile::DOM.
perl v5.12.4 2011-08-17 Makefile::AST(3pm)