Proc compilation error.


 
Thread Tools Search this Thread
Top Forums Programming Proc compilation error.
# 1  
Old 05-07-2008
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 AtiaSmilie
# 2  
Old 05-07-2008
Some syntax in your makefile is not right. It thinks you are trying to compile libclntsh which you should never do.

You need to post the .pc: block from your makefile
Example:
Code:
.pc:
        @ rm -f make.log
        $(PROC) iname=$*.pc $(PROFLAGS)
        $(CC) $(CFLAGS) $*.c -o $* $(LDFLAGS) $(LOBJS) $(ULIBS) $(LLIBS) $(CCOPT)
        @ echo "Successful Compilation of $*.pc"
        @ echo " "

# 3  
Old 06-10-2009
I am also getting the same error :
`/ora/product/v92032/lib/libclntsh.so' is up to date.

Here is my make file :

.SUFFIXES: .c

all: $(APPS)

clean:
rm -f $(OBJECTS) core

clobber: clean
rm -f $(APPS)

$(APPS): $(OBJECTS) $(C_FILES) $(PROC_FILES) $(INC_FILES) Makefile
$(CC) -o $(APPS) \
$(OBJECTS) \
$(CFLAGS) \
$(ORACLE_CFLAGS) $(ORACLE_LDFLAGS) \
$(LDPATHFLAG)$(LIBHOME) $(PROLDLIBS) \
$(LDLIBS)

$(OBJECTS): $(C_FILES) $(PROC_FILES) $(INC_FILES) Makefile
$(CC) -c $(CFLAGS) $(ORACLE_CFLAGS) $<

.c: $(PROC_FILES) $(INC_FILES) Makefile
$(PROC) INCLUDE=\($(ORACLE_INCLUDE)\) iname=$<


Can somebody help me, as i dont have much idea of make files.

thanks
Shihab
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

proc program compilation in unix

hi, i need to compile a proc program, say prog.pc can we compile this program in the unix environment? does this need a make file? can anyone help me on this since i am new to this area. Thanks in advance. (1 Reply)
Discussion started by: csprog
1 Replies

3. 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

4. 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

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/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

7. AIX

ProC and other C file compilation problem on AIX

I am linking my compiled proC file with other C files and getting following error. ld: 0711-711 ERROR: Input file /opt/orabase/oracle/product/10.2.0/db_1/lib/libirc.a is empty. The file is being ignored. I used following command to compile my proC code. proc iname=dbConnect.pc code=ANSI_C... (0 Replies)
Discussion started by: amit.singhal
0 Replies

8. Programming

Compilation error : Please help

state_field state_abvr = { "AL","ALABAMA", "AK","ALASKA", "AZ","ARIZONA", "AR","ARKANSAS", "CA","CALIFORNIA", "CO","COLORADO", "CT","CONNECTICUT", "DE","DELAWARE", "DC","DISTRICT-OF-COLUMBIA", "FL","FLORIDA", "GA","GEORGIA", "HI","HAWAII", "ID","IDAHO", "IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies

9. UNIX for Dummies Questions & Answers

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... (0 Replies)
Discussion started by: nagasundaramn
0 Replies

10. Programming

compilation error

Hi, While trying compile a C++ file in UNIX with gcc whose make rule involves the usage of /usr/ccs/bin/as, I get the following error: /usr/ccs/bin/as: No such file or directory /usr/ccs/bin/as: error: write error on output file "<filename>.o" *** Error code 1 clearmake: Error: Build... (2 Replies)
Discussion started by: smanu
2 Replies
Login or Register to Ask a Question