11-07-2013
Pro*c file Compiling Issue in suse Linux
The existing .pc (pro *C) file is running successfully in UNIX. But when Iam trying to compile this same file in LINUX using proc iname filename.pc, Iam getting an error, proc file not recognized.
Could someone help how to generate execute file from the proc*c file.
what are the prerequisites for precompiling pro*c file?
Alternatively, I tried to compile the .c file of the already generated proc*c file in linux, Iam getting an error as 'sqlmacros.h" file not found
gcc -o filename filenam.c
Please advice how to generate executable file from pro*c
6 More Discussions You Might Find Interesting
1. SuSE
First off I try to install XTheater on SuSE 9.2 Pro I run the ./configure command and this is what I get
chris@linux:~/Desktop/Xtheater-0.9.2> ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is... (25 Replies)
Discussion started by: CTroxtell21
25 Replies
2. UNIX for Dummies Questions & Answers
I'm sure this is pretty infantile but I can't figute it out.
How to I load the nVidia driver for SuSE 9.2? I have no idea what the X environment is or how to quit it or how to run the nVidia patch.
Secondly how do I persuade my SuSE 9.3 computer to talk with my Windows XP network.
Linux... (9 Replies)
Discussion started by: mrgmwsnow
9 Replies
3. Programming
I'm running a query similar to the one that I'm describing below -:
_______________________________
EXEC SQL INSERT INTO TABLE1
( C1
,C2
,C3
,C4 )
(SELECT DISTINCT B.V1
,B.V2
,( SELECT D.V3 FROM TABLE2 D WHERE D.V3 = C.V4)
,B.V4
FROM TABLE2 B ,TABLE3 C
WHERE B.V3 = C.V4) ;... (1 Reply)
Discussion started by: maheshp
1 Replies
4. Programming
Hello,
I am trying to compile a Pro*C program under unix:
proc iname=test.pc
works fine
but then I am not able to compile the test.c file :
gcc test.c -o test.o -L $ORACLE_HOME/lib -l clntsh
/usr/bin/ld:
Object file format error in: /u01/app/oracle/product/10.1.0.2.0/lib:... (1 Reply)
Discussion started by: nsmrmd
1 Replies
5. UNIX for Advanced & Expert Users
Gentlemen, I can not compile with the Pro-C installed on a Solaris 10. I get the following error ..:
! Compilation: startdmn.pc
------------------------------------------------------------------
ld.so.1: proc: fatal: libclntsh.so.9.0: open failed: No such file or directory
make: Fatal... (2 Replies)
Discussion started by: Pedro_Oca
2 Replies
6. UNIX for Beginners Questions & Answers
the only way we can power off is if we actually press power button on server. Running on HP DL-G4. from root, when we issue command it just returns to root prompt. (1 Reply)
Discussion started by: amexboy
1 Replies