12-03-2007
supposing that u are making a %.o file from a %.pc file
-> search for the rule written for making %.o from %.pc
there may be a intermediate step like %.pc -> %.c and then %.c -> %.o
while searching for %.pc inside your makefile, u will find the variable name used for proc compiler, if it is PROC, then search for "include", this is to conform if the Makefile is including any other file, which is altering the value of PROC
->Find how is the PROC value created, it is also possible that, it is created using ORACLE_HOME or ORACLE_BIN(if exist).You can do it by searching for PROC inside Makefile and other make related files
->check your environment and other files(.login , .profile etc depending upon the shell you are using ) responsible for environment
->setenv or set would list out the env variable, check what is the value of ORACLE_HOME or other ORACLE related env variables
setenv | grep -i ORACLE
or you can see manually
->if the env variable is holding the wrong value or if there is a invalid path in the file.Then you should change that
->from your statements I personally feel that the problem is with the env, not in Makefile (Some time you may get errors in Makefile, due to usage of older version of Make )
Rakesh
10 More Discussions You Might Find Interesting
1. Programming
Hi ,
While trying to compile a PRO*C code on unix using makefile i get the following errors. i am now working on a 10g migration (from 8i) ...
these makefile perfectly work in previous version.
ld: fatal: file... (7 Replies)
Discussion started by: sivalives
7 Replies
2. Programming
All,
I am facing problem with one makefile compilation. The following is the error I am getting
<Code>
/applns/ora10/rdbms/bin/proc sqlcheck=semantics userid=/ CHAR_MAP=VARCHAR2 DBMS=V7 DEFINE=UNIX DEFINE=SUN_SRC_COMPAT iname=mm5900.pc
sh: /applns/ora10/rdbms/bin/proc: not found
*** Error... (1 Reply)
Discussion started by: nsurendiran
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I am trying to create an executable, but when the .pc file converting to .c file I am getting lots of warning message like
of these 3 lines.
Any idea why I am getting these lines?
Any configuration issues?
What exactly needs to be done to solve these warning messages?
... (0 Replies)
Discussion started by: nsurendiran
0 Replies
4. UNIX for Advanced & Expert Users
Hi guys,
I'm in trouble to do postfix compilation on a Solaris.
SunOS 5.10 Generic_118833-33 sun4u sparc SUNW, Sun-Fire-V440
I'm trying to compile postfix-2.4.5
which make replay /usr/ccs/bin/make and it's in the profile
When I launch make install clean it replies
make: Fatal... (2 Replies)
Discussion started by: moustik
2 Replies
5. Red Hat
Hi,
While trying to build the linux kernel - 2.6.24.2,
i get the following error message during initial phase(make menuconfig) :
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory <===
In file included from scripts/kconfig/lxdialog/checklist.c:24:
It seems... (1 Reply)
Discussion started by: amit4g
1 Replies
6. UNIX for Advanced & Expert Users
Hi ,
Please answer my query:
I want to create a common make file for one of mylibrary such that it should work on both Sun as well as Linux on 32 and 64 bit system.
The flow is sth like this:
..............
..............
if$(OS) == solaris
BINDIR= ../../lib/solaris/64
else
BINDIR=... (1 Reply)
Discussion started by: unisuraj
1 Replies
7. 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
8. Linux
Hi,
I am getting following error when i try to compile :
Error: Expected variable in READ statement at (1)
read(12,*) ((l1to2(l,j),j=1,2),l=1,ngl(2,4))
Also i am getting following error :
Error: Syntax error in COMMON statement at (1)
at some statements.
I am using mpif90... (1 Reply)
Discussion started by: aksharb
1 Replies
9. UNIX for Dummies Questions & Answers
I have installed ubuntu 11.04 on my system.
After this when I used to give uname -r it showed me kernel version as 2.6.38.
Now I had downloaded kernel 2.6.34.12 from kernel.org and installed it using the following steps:
make
make modules
make modules_install
make install
This created... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
10. Linux
Hello Forum memebers,
I am kshyap kumran from bangalore india.
I working on porting project from solaris to linux ie C++ application porting from solaris to linux.while compiling on linux box i facing some issues.As i am new to linux environment i was blocked in the below mentioned... (1 Reply)
Discussion started by: kshyap
1 Replies
LEARN ABOUT CENTOS
tcp-env
tcp-env(1) General Commands Manual tcp-env(1)
NAME
tcp-env - set up TCP-related environment variables
SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ]
DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several
environment variables as described in tcp-environ(5), and runs program with the given arguments.
Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if
PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check
whether the input is a TCP connection.
OPTIONS
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host.
-R Do not attempt to obtain TCPREMOTEINFO from the remote host.
-ttimeout
Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30.
SEE ALSO
tcp-environ(5), inetd(8)
tcp-env(1)