[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ProC on Debian



Regards,
	I've installed Oracle 8.1.7 perfectly and working fine but when i installed
ProC compiler it gave me error when compiling one of the sample codes as
below:
make -f /home/oracle/OraHome1/precomp/demo/proc/demo_proc.mk OBJS=sample1.o
EXE=sample1 build
make[1]: Entering directory `/home/oracle/OraHome1/precomp/demo/proc'
proc  iname=sample1

Pro*C/C++: Release 8.1.7.0.0 - Production on Sun Sep 2 18:40:10 2001

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

System default option values taken from:
/home/oracle/OraHome1/precomp/admin/pcscfg.cfg

Error at line 33, column 11 in file /usr/include/stdio.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
Error at line 38, column 11 in file /usr/include/stdio.h
# include <stdarg.h>
..........1
PCC-S-02015, unable to open include file
Error at line 29, column 10 in file /usr/include/bits/types.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Error at line 14, column 10 in file /usr/include/_G_config.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Error at line 48, column 11 in file /usr/include/libio.h
# include <stdarg.h>
..........1
PCC-S-02015, unable to open include file
Syntax error at line 368, column 19, file /usr/include/libio.h:
Error at line 368, column 19 in file /usr/include/libio.h
extern _IO_size_t _IO_sgetn __P ((_IO_FILE *, void *, _IO_size_t));
..................1
PCC-S-02201, Encountered the symbol "_IO_sgetn" when expecting one of the
follow
ing:

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

Syntax error at line 446, column 15, file /usr/include/stdio.h:
Error at line 446, column 15 in file /usr/include/stdio.h
extern size_t fread __P ((void *__restrict __ptr, size_t __size,
..............1
PCC-S-02201, Encountered the symbol "fread" when expecting one of the
following:

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

Syntax error at line 449, column 15, file /usr/include/stdio.h:
Error at line 449, column 15 in file /usr/include/stdio.h
extern size_t fwrite __P ((__const void *__restrict __ptr, size_t __size,
..............1
PCC-S-02201, Encountered the symbol "fwrite" when expecting one of the
following
:

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

Syntax error at line 454, column 15, file /usr/include/stdio.h:
Error at line 454, column 15 in file /usr/include/stdio.h
extern size_t fread_unlocked __P ((void *__restrict __ptr, size_t __size,
..............1
PCC-S-02201, Encountered the symbol "fread_unlocked" when expecting one of
the f
ollowing:

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

Syntax error at line 456, column 15, file /usr/include/stdio.h:
Error at line 456, column 15 in file /usr/include/stdio.h
extern size_t fwrite_unlocked __P ((__const void *__restrict __ptr,
..............1
PCC-S-02201, Encountered the symbol "fwrite_unlocked" when expecting one of
the
following:

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

Error at line 33, column 10 in file /usr/include/string.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Syntax error at line 92, column 15, file /usr/include/string.h:
Error at line 92, column 15 in file /usr/include/string.h
extern size_t strxfrm __P ((char *__restrict __dest,
..............1
PCC-S-02201, Encountered the symbol "strxfrm" when expecting one of the
followin
g:

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

Syntax error at line 158, column 15, file /usr/include/string.h:
Error at line 158, column 15 in file /usr/include/string.h
extern size_t strcspn __P ((__const char *__s, __const char *__reject));
..............1
PCC-S-02201, Encountered the symbol "strcspn" when expecting one of the
followin
g:

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

Syntax error at line 161, column 15, file /usr/include/string.h:
Error at line 161, column 15 in file /usr/include/string.h
extern size_t strspn __P ((__const char *__s, __const char *__accept));
..............1
PCC-S-02201, Encountered the symbol "strspn" when expecting one of the
following
:

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

Syntax error at line 207, column 15, file /usr/include/string.h:
Error at line 207, column 15 in file /usr/include/string.h
extern size_t strlen __P ((__const char *__s));
..............1
PCC-S-02201, Encountered the symbol "strlen" when expecting one of the
following
:

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

Error at line 33, column 10 in file /usr/include/stdlib.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Syntax error at line 80, column 15, file /usr/include/stdlib.h:
Error at line 80, column 15 in file /usr/include/stdlib.h
extern size_t __ctype_get_mb_cur_max __P ((void));
..............1
PCC-S-02201, Encountered the symbol "__ctype_get_mb_cur_max" when expecting
one
of the following:

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

Error at line 125, column 10 in file /usr/include/sys/types.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Syntax error at line 346, column 16, file /usr/include/stdlib.h:
Error at line 346, column 16 in file /usr/include/stdlib.h
extern int32_t random __P ((void));
...............1
PCC-S-02201, Encountered the symbol "random" when expecting one of the
following
:

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

Syntax error at line 370, column 5, file /usr/include/stdlib.h:
Error at line 370, column 5 in file /usr/include/stdlib.h
    int32_t *fptr;              /* Front pointer.  */
....1
PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the
followin
g:

   char, const, double, enum, float, int, long, ulong_varchar,
   OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
   OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
   OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
   struct, union, unsigned, utext, uvarchar, varchar, void,
   volatile, a typedef name,
The symbol "enum," was substituted for "int32_t" to continue.

Syntax error at line 371, column 5, file /usr/include/stdlib.h:
Error at line 371, column 5 in file /usr/include/stdlib.h
    int32_t *rptr;              /* Rear pointer.  */
....1
PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the
followin
g:

   } char, const, double, enum, float, int, long, ulong_varchar,
   OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
   OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
   OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
   struct, union, unsigned, utext, uvarchar, varchar, void,
   volatile, a typedef name,
The symbol "enum," was substituted for "int32_t" to continue.

Syntax error at line 372, column 5, file /usr/include/stdlib.h:
Error at line 372, column 5 in file /usr/include/stdlib.h
    int32_t *state;             /* Array of state values.  */
....1
PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the
followin
g:

   } char, const, double, enum, float, int, long, ulong_varchar,
   OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
   OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
   OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
   struct, union, unsigned, utext, uvarchar, varchar, void,
   volatile, a typedef name,
The symbol "enum," was substituted for "int32_t" to continue.

Syntax error at line 376, column 5, file /usr/include/stdlib.h:
Error at line 376, column 5 in file /usr/include/stdlib.h
    int32_t *end_ptr;           /* Pointer behind state table.  */
....1
PCC-S-02201, Encountered the symbol "int32_t" when expecting one of the
followin
g:

   } char, const, double, enum, float, int, long, ulong_varchar,
   OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
   OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
   OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
   struct, union, unsigned, utext, uvarchar, varchar, void,
   volatile, a typedef name,
The symbol "enum," was substituted for "int32_t" to continue.

Error at line 25, column 10 in file /usr/include/alloca.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Syntax error at line 634, column 14, file /usr/include/stdlib.h:
Error at line 634, column 14 in file /usr/include/stdlib.h
extern div_t div __P ((int __numer, int __denom)) __attribute__
((__const__));
.............1
PCC-S-02201, Encountered the symbol "div" when expecting one of the
following:

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

Syntax error at line 635, column 15, file /usr/include/stdlib.h:
Error at line 635, column 15 in file /usr/include/stdlib.h
extern ldiv_t ldiv __P ((long int __numer, long int __denom))
..............1
PCC-S-02201, Encountered the symbol "ldiv" when expecting one of the
following:

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

Syntax error at line 706, column 15, file /usr/include/stdlib.h:
Error at line 706, column 15 in file /usr/include/stdlib.h
extern size_t mbstowcs __P ((wchar_t *__restrict  __pwcs,
..............1
PCC-S-02201, Encountered the symbol "mbstowcs" when expecting one of the
followi
ng:

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

Syntax error at line 709, column 15, file /usr/include/stdlib.h:
Error at line 709, column 15 in file /usr/include/stdlib.h
extern size_t wcstombs __P ((char *__restrict __s,
..............1
PCC-S-02201, Encountered the symbol "wcstombs" when expecting one of the
followi
ng:

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

Syntax error at line 60, column 12, file sample1.pc:
Error at line 60, column 12 in file sample1.pc
    size_t buf_len, msg_len;
...........1
PCC-S-02201, Encountered the symbol "buf_len" when expecting one of the
followin
g:

   ; , = : ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>=
   &&= ||= ^= | & == != <= >= << >> ++ -- ->
The symbol ";" was substituted for "buf_len" to continue.

Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
make[1]: Leaving directory `/home/oracle/OraHome1/precomp/demo/proc'

make[1]: *** [sample1.o] Error 1
make: *** [sample1] Error 2




	On redhat there is lots of instructions to install glibc2.2 and 2.1.3
patches and others am not sure on Debian if anyone can be help to this issue
I'd be grateful. Thanks in advance.


====================================
QualityNet - Kuwait
Bashar A. AlAbdulhadi
I.S. Department
UNIX Systems Administrator
TEL: 808888 Ext. 637
FAX: 965-213790
www.qualitynet.net
====================================



Reply to: