Home » Developer & Programmer » Precompilers, OCI & OCCI » pro*c compilation error
pro*c compilation error [message #290915] Wed, 02 January 2008 03:02 Go to next message
varu123
Messages: 754
Registered: October 2007
Senior Member
I have some pro*c reports.
When i compile them,i get the error:
cc:paidgis.pc.c: No such file or directory
cc:paidgis.pc.o: No such file or directory
strip: paidgis.pc: File format not recognised,

I am on linux RH 7.2 and oracle 9.0.0.1

The proc/c++ release version is 8.0.6.3.0

I know these are old versions but this is what it is at the moment.
Re: pro*c compilation error [message #290926 is a reply to message #290915] Wed, 02 January 2008 03:36 Go to previous messageGo to next message
Michel Cadot
Messages: 64152
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
paidgis.pc is one of your files (not an Oracle one afaik), have a look at it.
Also have a look at your makefile, it is likely wrong as the output for paidgis.pc should be paidgis.c and paidgis.o and not the ones that are listed.

Regards
Michel
Re: pro*c compilation error [message #290952 is a reply to message #290915] Wed, 02 January 2008 05:05 Go to previous messageGo to next message
varu123
Messages: 754
Registered: October 2007
Senior Member
Yeah output was paidgis.pc.c because i used the extension also.
BUt now its showing some errors:
gisform28 is another file.





[treas@linux7 pcsrc]$ t gisform28
 compiling file .............
gisform28

Pro*C/C++: Release 8.0.6.3.0 - Production on Wed Jan 2 16:21:02 2008

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

System default option values taken from: /u/dev6i/precomp/admin/pcscfg.cfg


Pro*C/C++: Release 8.0.6.3.0 - Production on Wed Jan 2 16:21:03 2008

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

System default option values taken from: /u/dev6i/precomp/admin/pcscfg.cfg


Pro*C/C++: Release 8.0.6.3.0 - Production on Wed Jan 2 16:21:03 2008

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

System default option values taken from: /u/dev6i/precomp/admin/pcscfg.cfg

gisform28.o: In function `prnrec':
gisform28.o(.text+0x2363): undefined reference to `linesgap'
gisform28.o: In function `header':
gisform28.o(.text+0x3264): undefined reference to `linesgap'
gisform28.o(.text+0x32d8): undefined reference to `uline'
gisform28.o(.text+0x332a): undefined reference to `uline'
gisform28.o: In function `ddobrk':
gisform28.o(.text+0x3358): undefined reference to `linesgap'
gisform28.o(.text+0x3393): undefined reference to `linesgap'
collect2: ld returned 1 exit status
strip: gisform28: No such file or directory
cp: cannot stat `gisform28': No such file or directory
[treas@linux7 pcsrc]$
Re: pro*c compilation error [message #290955 is a reply to message #290952] Wed, 02 January 2008 05:13 Go to previous message
Michel Cadot
Messages: 64152
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
These errors have nothing to do with Oracle, they are standard programming errors.
Fix them, and your makefile.

Regards
Michel
Previous Topic: reading data from serial port to oracle databse
Next Topic: sql connection
Goto Forum:
  


Current Time: Sat Dec 10 05:30:01 CST 2016

Total time taken to generate the page: 0.10885 seconds