473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

816 proC on debian linux; mathcalls.h issue?

ehlo all

I'm trying to compile an app over from sol26 to a recent debian x86
system and I'm not having much luck with getting the precompiler to
build some logic we require.

I've seen posts of similar issues with an apparent fix from metalink or
from suse's oracle docs. Our dba won't share her metalink login w/ me
and the suse doc seems to be long gone.

Basically the system has issues with mathcalls.h which in an archived
post was fixed with this magical pcscfg.cfg from suse or metalink.

config:

debian stable, gcc version 2.95.4, binutils 2.14.90, oracle's stub
glibc libs and it's 816 as you can see from the proC output below.

errors:

-[derrick@Rater8:~/Phase1b/zone/Rater 1 $]-
/home/oracle/app/oracle/product/816/bin/proc SQLCHECK=FULL
USERID=xxxx/xxxx dbms=v6_char iname=rdt_copy.pc

Pro*C/C++: Release 8.1.6.0.0 - Production on Tue Nov 25 15:52:01 2003

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

System default option values taken from:
/home/oracle/app/oracle/product/816/precomp/admin/pcscfg.cfg

PCC-W-02110, DBMS=V6_CHAR is deprecated. Use CHAR_MAP=VARCHAR2, DBMS=V7
instead
Syntax error at line 55, column 1, file /usr/include/bits/mathcalls.h:
Error at line 55, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL (acos,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "f" when expecting one of the
following:

; , = ( [

Syntax error at line 55, column 1, file
/usr/include/bits/mathcalls.h:
Error at line 55, column 1 in file /usr/include/bits/mathcalls.h
__MATHCALL (acos,, (_Mdouble_ __x));
1
PCC-S-02201, Encountered the symbol "f" when expecting one of the
following:

; , = ( [

[many similar snipped]

PCC-S-02201, Encountered the symbol "f" when expecting one of the
following:

; , = ( [
The symbol "," was substituted for "f" to continue.

Segmentation fault
-[derrick@Rater8:~/Phase1b/zone/Rater 139 $]-
-[derrick@Rater8:~/Phase1b/zone/Rater 1 $]- cat
/home/oracle/app/oracle/product/816/precomp/admin/pcscfg.cfg
sys_include=($ORACLE_HOME/precomp/public,
$ORACLE_HOME/precomp/syshdr,
/usr/lib/gcc-lib/i386-linux/2.95.4/include,
/usr/include)
include=($ORACLE_HOME/precomp/public)
include=($ORACLE_HOME/precomp/syshdr)
include=($ORACLE_HOME/rdbms/demo)
include=($ORACLE_HOME/rdbms/public)
include=($ORACLE_HOME/network/public)
include=($ORACLE_HOME/plsql/public)
ltype=short

(sys_include line wrapped to aide readability)

if anyone has any idea how I can get this recognized, I'd sincerely
appreciate it.

Thanks for your time,
^Derrick

--
I like patterns
Jul 19 '05 #1
1 5616
for the archives....

* Derrick D. Daugherty <or*********@blinky-lights.org>:
ehlo all
[snip]
I've seen posts of similar issues with an apparent fix from metalink or
from suse's oracle docs. Our dba won't share her metalink login w/ me
and the suse doc seems to be long gone.

Basically the system has issues with mathcalls.h which in an archived
post was fixed with this magical pcscfg.cfg from suse or metalink.
[snip]
-[derrick@Rater8:~/Phase1b/zone/Rater 1 $]- cat
/home/oracle/app/oracle/product/816/precomp/admin/pcscfg.cfg
sys_include=($ORACLE_HOME/precomp/public,
$ORACLE_HOME/precomp/syshdr,
/usr/lib/gcc-lib/i386-linux/2.95.4/include,
/usr/include)
include=($ORACLE_HOME/precomp/public)
include=($ORACLE_HOME/precomp/syshdr)
include=($ORACLE_HOME/rdbms/demo)
include=($ORACLE_HOME/rdbms/public)
include=($ORACLE_HOME/network/public)
include=($ORACLE_HOME/plsql/public)
ltype=short

(sys_include line wrapped to aide readability)


yeeesh, finaly found a clue in a german post. the pcscfg.cfg won't expand
the variables out. so you can't use $ORACLE_HOME, it must be the full
path. this did the trick. (sys_include should be all one line)

-[oracle@Rater8:~/app/oracle/product/816/precomp/admin $]- cat
pcscfg.cfg
sys_include=(/home/oracle/app/oracle/product/816/precomp/syshdr,
/home/oracle/app/oracle/product/816/precomp/public,
/usr/lib/gcc-lib/i386-linux/2.95.4/include, /usr/include,
/usr/include/linux)
include=(/home/oracle/app/oracle/product/816/precomp/public)
include=(/home/oracle/app/oracle/product/816/precomp/syshdr)
include=(/home/oracle/app/oracle/product/816/rdbms/demo)
include=(/home/oracle/app/oracle/product/816/rdbms/public)
include=(/home/oracle/app/oracle/product/816/network/public)
include=(/home/oracle/app/oracle/product/816/plsql/public)
ltype=short

take care,
^D

--
I like patterns
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Guillaume Gervais | last post by:
Hello there, I'm using Debian GNU/Linux testing/unstable (sarge) as an operating system. About a month ago, I installed python 2.3 on my machine, from the sources. And it worked perfectly. ...
2
by: adamg | last post by:
Hello My native distribution is Linux Debian. I have written the C++ multithreaded application (using ptypes libs). After compilation on debian everything works ok (6 threads workinng) but...
4
by: souvik1982 | last post by:
Hi everyone! I need to be able to plot the output of my cellular automata onto the pixels of my screen and refresh in real time. I used to program in Borland C++ on a Windows machine, but...
4
by: Jean-Marc Blaise | last post by:
Dear all, I have simulated the windows MULTI application with a java program calling the SQLTP1DL proc referenced as DB2DARI application, on Linux Intel or ZLinux. If the proc is NOT FENCED,...
3
by: Martin Knopp | last post by:
Anybody here can shed some light on this issue? Is it at all possible to call out-of-proc COM objects from ASP.NET? If yes, what configuration settings are required? I played around many...
4
by: Brian van den Broek | last post by:
Hi all, I know that this is something for which I could (keep) STFW, but I'm mostly ignorant of the subject area and under a bit of a deadline. So I hope people won't mind if I truncate my...
0
by: gandalf | last post by:
I am trying to install oracle 9i on debian. The oracle 9i linux installation manual provides a checklist of pre-installation changes that have to be made to linux before installing oracle. I am...
2
by: muquaddim | last post by:
Hi, I am running a Debian/Sarge #uname -a Linux jukebox 2.6.14.2 #5 PREEMPT Mon Nov 28 20:28:54 CET 2005 i686 GNU/Linux I have a java casino game created by jdk (1.6.0_02) netbeans(5..5.1) . If...
1
by: Derrick D. Daugherty | last post by:
ehlo all I'm trying to compile an app over from sol26 to a recent debian x86 system and I'm not having much luck with getting the precompiler to build some logic we require. I've seen posts...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.