12-03-2007
Issue with makefile compilation
All,
I am facing problem with one makefile compilation. The following is the error I am getting, Before proceeding to this I want to let you know all, only last week onwards I started working in solaris10, the same code is working in solaris 9. I dont know any link has to be created, or any path needs to be setup for this. Also I tried with C compilation which is working fine.
<Error>
/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 code 1
make: Fatal error: Command failed for target `mm085900.o'
</Error>
Here its refering the oracle path as "/applns/ora10/rdbms/bin/proc" which is invalid.
The actual path should be like "/applns/ora10/bin/proc"
I dont understand from where its taking that "rdbms" in to that path.
I have given path for the PROC in the make file as
<Code>
# Executables built by this makefile
PROC=$(ORACLE_HOME)/bin/proc
all: mm5900
</Code>
In the profile ORACLE_HOME is set as "/applns/ora10/".
Any suggestions are appreciated.
Thanks in advance
N.Surendran
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
AIMK(1PVM) PVM Version 3.4 AIMK(1PVM)
NAME
aimk - Portable make wrapper script
SYNOPSIS
aimk [ -here ] [ make arguments ]
DESCRIPTION
aimk is a wrapper program for make, used to portably select options to build PVM and PVM applications on various machines. Each port of
PVM is assigned an architecture name. The name is used both during compilation (to conditionally switch in code) and at runtime (to select
an executable or host).
aimk uses the value of environment variable $PVM_ARCH if it is set, otherwise it calls $PVM_ROOT/pvmgetarch to determine the architecture
name. pvmgetarch is a script that sniffs at various parts of the system to determine the correct architecture name. It is updated as new
PVM ports are defined, and can be augmented locally.
aimk determines the machine architecture and execs make, passing it the architecture and a configuration file along with arguments supplied
to aimk. It runs make in a subdirectory to prevent executables from becoming intermixed and to permit overlapping compiles. A different
makefile can be placed in each subdirectory or a single makefile, Makefile.aimk, can be shared between architectures. Per-architecture
definitions from the $PVM_ROOT/conf directory are appended to the common makefile. aimk calls make is called in one of three ways, depend-
ing on what makefiles are present:
i. If $PVM_ARCH/Makefile or $PVM_ARCH/makefile exists, change directory to $PVM_ARCH and exec make there:
(cd $PVM_ARCH ; make PVM_ARCH=$PVM_ARCH < aimk args >)
ii. Else if Makefile.aimk exists, create $PVM_ARCH directory if it doesn't exist, then:
(cd $PVM_ARCH ;
make -f $PVM_ROOT/conf/$PVM_ARCH.def
-f ../Makefile.aimk PVM_ARCH=$PVM_ARCH < aimk args >)
iii. Else just exec make in current directory:
make PVM_ARCH=$PVM_ARCH < aimk args >
If aimk succeeds in calling make, the exit status is that of make, otherwise it is 1.
FLAGS
-here Forces aimk to run make in the current directory, e.g. converts case i. to case iii.
EXAMPLES
The following Makefile.aimk file builds and installs hello, creating the PVM binary directory if it doesn't exist. It can be run concur-
rently on machines of different types, sharing the same source directory.
LDIR = -L$(PVM_ROOT)/lib/$(PVM_ARCH)
PVMLIB = -lpvm3
SDIR = ..
BDIR = $(HOME)/pvm3/bin
XDIR = $(BDIR)/$(PVM_ARCH)
CFLAGS = -g -I$(PVM_ROOT)/include
LIBS = $(LDIR) $(PVMLIB) $(ARCHLIB)
$(XDIR):
- mkdir $(BDIR) $(XDIR)
hello: $(SDIR)/hello.c $(XDIR)
$(CC) $(CFLAGS) -o $@ $(SDIR)/$@.c $(LIBS)
mv $@ $(XDIR)
ENVIRONMENT
$PVM_ROOT Root path of PVM installation.
$PVM_ARCH PVM architecture name for machine.
FILES
$PVM_ROOT/lib/aimk The aimk program
$PVM_ROOT/conf/$PVM_ARCH.def Arch config file
SEE ALSO
pvm_intro(1PVM)
02 May, 1994 AIMK(1PVM)