Re: ProC on Linux

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Mon, 14 May 2001 21:14:00 +0200
Message-ID: <3B002E78.110D47D2_at_skynet.be>


Ramzes wrote:
>
> I have recently installed Oracle on a Linux server.
>
> The problem is that ProC refuses to compile anything, not even the standard
> ProC samples : it finds syntax errors in most of the standard C header files
> ( e.g. stdio.h, libio.h ...). I would solve the problem but I don't know
> how?
>
> Please Help !!
> Thanx.
> Ramzes

Hello Ramzes,

It is certainly possible to compile Pro*C on Linux. I'm using GNU Make 3.79.1, Pro*C/C++ 8.1.6, cc 2.95.2, ...

I remember now that the SYS_INCLUDE is very important, I have it set to: # makefile (from `/var/oracle/product/8.1.6/precomp/lib/env_precomp.mk', line 1541)
SYS_INCLUDE =
'sys_include=(/var/oracle/product/8.1.6/rdbms/demo,/var/oracle/product/8.1.6/precomp/syshdr,/usr/include,/usr/include/linux,/usr/lib/gcc-lib/i386-linux/2.95.3/include)'

Notice the syshdr, which will be used before the headers from Linux.

Good luck, let me know if can be of more help.

Gerard H. Pille Received on Mon May 14 2001 - 21:14:00 CEST

Original text of this message