![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| compiling c program in unix | zlatan005 | High Level Programming | 2 | 06-18-2008 07:04 AM |
| help on compiling a C program on Tiger | cleansing_flame | High Level Programming | 4 | 01-29-2008 03:59 PM |
| Compiling a C program | ooploo | High Level Programming | 3 | 10-06-2006 07:35 AM |
| Compiling a program | Minnesota Red | High Level Programming | 7 | 06-16-2003 05:35 PM |
| Error Compiling C program | Vivek | High Level Programming | 3 | 10-25-2001 12:13 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Compiling Pro*C program under unix
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: read_cur_obj_info: File is not a regular file collect2: ld returned 1 exit status I've checked other threads and here is my observation: my oracle installation does not have the $ORACLE_HOME/precomp/demo directory, so I am not able to check the demo makefile. I guess my problem is with linking the required libraries. Please help me figure out the problem. thanks... Last edited by nsmrmd; 09-25-2009 at 02:39 PM.. Reason: spelling checks |
![]() |
| Bookmarks |
| Tags |
| pro*c |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|