DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Problem on sharemem library, rset.h, (Pro*C on AIX)

Hybrid View

  1. #1
    Join Date
    Jan 2003
    Location
    Thailand
    Posts
    29

    Problem on sharemem library, rset.h, (Pro*C on AIX)

    I compiled Pro*c 8.0.5 (32bit) code on AIX 5.3 (64bit), I got the following error message;

    Pro*C/C++: Release 8.0.5.2.0 - Production on Mon Jun 5 3:4:34 2006

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

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

    Syntax error at line 65, column 12, file /usr/include/sys/rset.h:
    Error at line 65, column 12 in file /usr/include/sys/rset.h
    off64_t su_offset; /* Offset of the subrange (bytes) */
    ...........1
    PCC-S-02201, Encountered the symbol "off64_t" when expecting one of the followin
    g:

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

    Syntax error at line 75, column 12, file /usr/include/sys/rset.h:
    Error at line 75, column 12 in file /usr/include/sys/rset.h
    off64_t su_rsoffset; /* reserved for future use */
    ...........1
    PCC-S-02201, Encountered the symbol "off64_t" when expecting one of the followin
    g:

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

    I have already set DEFINE=__64BIT__ and DEFINE=_LONG_LONG, but it still got error.

    Please help
    Regards,
    P.Peach

  2. #2
    Join Date
    Jan 2003
    Location
    Thailand
    Posts
    29
    I solved the problem by

    changing

    #include

    to

    #ifndef ORA_PROC
    #include
    #endif
    Regards,
    P.Peach

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width