Getting syntax error in /usr/include/sys/ header files during Compilation

Hi,
I am migrating old PRO C code from Oracle 8 + Solaris 8 to Oracle 10 + Solaris 10 environment. While compiling the code it is giving error :*
Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
Error at line 69, column 2 in file /usr/include/sys/uio.h
lloff_t uiooffset; /* file offset */
.1
PCC-S-02201, Encountered the symbol "lloff_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 "lloff_t" to continue.
Any guess why this is happening?

Hi,
Try using the PARSE=PARTIAL USERID=user/password[@SID] SQLCHECK=SEMANTICS precompiler options.
All your hosts variables must be declared inside a Declare section.
Reference: Pro C/C++ Programmers Guide, chapter 5
Reguards,
Rene Rivet

Similar Messages

  • What's the largest header file in /usr/include/sys?

    Just noticed this,
      $ ls -l /usr/include/sys | sort +4n | tail -3
      -rw-r--r--   1 root     bin        59151 Jul  4 03:39 dtrace_impl.h
      -rw-r--r--   1 root     bin        76941 Jul  4 03:39 sunddi.h
      -rw-r--r--   1 root     bin        83768 Jul  4 03:39 dtrace.hwhich is great because dtrace.h is so rich with comments, and dtrace_impl.h has plenty of ASCII art. Hooray!
    This more than makes up for the sins of /usr/include/sys/tnf_probe.h! ;-)
    .... now if you guys are ever bored, feel free to update /usr/include/sys/swap.h, /usr/include/vm/anon.h ... :-)
    Brendan

    Sorry I was really busy the last few days. Thank you for your answers!
    I probably should have left out all the specifics of what the software was that I was packaging, because I think what I was really asking did not come across clearly. What I really wanted to know is:
    Why do I have to provide the "-I /usr/include/headers_dir" compiler option for some libraries but not for others, although the header files for each lie in a level 1 subdir of /usr/include?
    I thought that maybe there was some kind of index of installed libraries that I didn't know about, which I could have updated from within PKGBUILD (so I guess that's why I included it originally). Seems to me now, though, that this is not the case.
    I did put in some google time (but not lots b/c 1. hard to google and 2. busy) to find an answer, but to no avail and it's not really top priority right now (and quite honestly never will be, since there is the -I option), so I guess it'll have to wait, unless someone knows...
    ---EDIT---
    So, right after I posted this (stupid me) I had a little think and I finally understand, whats happening.
    1. Headers are not found without specifying the directory they are in.
    2. I need the -I option because easykf headers are not well formed.
    Thanks a lot!
    Last edited by maximax (2013-09-27 00:26:03)

  • Error when including xmlrpc header file in proC program

    Hi,
    a simple "hello world" .pc program fails to compile on Mac 10.4.6 (Tiger) when xmlrpc.h is included, with the following error:
    System default option values taken from: /Users/Oracle/10g/orahome/precomp/admin/pcscfg.cfg
    Syntax error at line 4, column 2, file /usr/include/stdarg.h:
    Error at line 4, column 2 in file /usr/include/stdarg.h
    #include_next <stdarg.h>
    .1
    PCC-S-02014, Encountered the symbol "include_next" when expecting one of the fol
    lowing:
    a numeric constant, newline, define, elif, else, endif,
    error, if, ifdef, ifndef, include, line, pragma, undef,
    an immediate preprocessor command, a C token,
    The symbol "newline," was substituted for "include_next" to continue.
    The program is:
    #include </usr/local/include/xmlrpc.h>
    #include <stdio.h>
    int main(argc,argv)
    int argc;
    char **argv;{
    EXEC SQL BEGIN DECLARE SECTION;
    VARCHAR TYPE[4];
    EXEC SQL END DECLARE SECTION;
    printf("Hello world\n");
    Thanks,
    Sophie

    Sophie
    did your program work ok under 10.3.6? Is it just Tiger that gives the problem?
    I have not used xmlrpc but I have used Pro*C on OS X with no probelms.
    Where did the xmlrpc.h you are using come from? I could not find it on OS X on either Tiger or Panther. However I do find an xmlrpc.cp and a make file so I assume you would include a shared library from it in the make file for your program to be able to make the xmlrpc calls you need to.
    In general, the include files are in sub directories of /System/Library/Frameworks and it would be worth a grep -r for the declarations you want to include and put the path in the include parameter to proc.
    I hope this info helps.
    Paul

  • Syntax error in standard include RKEB090F in ECC6

    Hi,
    I have one issue with this include program RKEB090F. This program is being used in one of the custom program while checking this program we are getting syntax error field P_USEDB is unknown.
    When I compared 4.7 and ECC 6 version, the code contains in 4.7 version is
          FORM INITIALIZATION_EXIT                                      *
    FORM INITIALIZATION_EXIT.
    ENDFORM.
    but in ECC 6 the code contains
          FORM INITIALIZATION_EXIT                                      *
    FORM INITIALIZATION_EXIT.
       if rkb1d-smode = '7'.
         CALL FUNCTION 'AS_DATASOURCE_INIT'
           EXPORTING
             I_REPORT                   = 'KE30'
             I_REPORTTYPE               = 'TR'
           IMPORTING
             E_USE_DATABASE             = P_USEDB
             E_USE_ARCHIVE              = P_USEAR
             E_USE_INFOSYS              = P_USEAS
             E_ARCHOBJ                  = P_OBJECT
             ET_ARCH_SEL                = SO_FILES[].
         G_RKB2A-OBJECT = P_OBJECT.
         G_RKB2A-USEDB = P_USEDB.
         G_RKB2A-USEAR = P_USEAR.
         G_RKB2A-USEAS = P_USEAS.
         G_RKB2A-SO_FILES = SO_FILES[].
         PERFORM HANDLE_DATASOURCE USING 'EX'.
       endif.
    ENDFORM.
    due to this code I am getting the syntax errors. How can we know how this code is added.
    Please let me know if you get any inputs.
    Regards,
    Jyothi CH.

    Hi Guys,
    I am having the same syntax error with this include RKEB090F and the Field P_USERB, but instead the program is a SAP Program. I have been trying to archive a table and I keep getting this error for different G* programs. I regenerate one, the other one gives error. I tried regenerating all of them and I still got this error.
    Error in the ABAP Application Program
    The current ABAP program "SAPLKYP4_UC" had to be terminated because it h
    come across a statement that unfortunately cannot be executed
    The following syntax error occurred in program "GPC6ZZ9KJ35AEXCXNZFQDJG3
    in include "RKEB090F " in
    line 17:
    "Field "P_USEDB" is unknown. It is neither in one of the specified tabl"
    "es nor defined by a "DATA" statement. ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    PLEASE HELP
    --Thanks in Advance,
    Fiyaz

  • Getting syntax error in "SAPLBBP_PDH_CUF" in shopping cart/RFx/PO creation process in SRM7.0.Is it Patch issue?

    Getting syntax error in "SAPLBBP_PDH_CUF" in shopping cart/RFx/PO creation process in SRM7.0.Is it Patch issue?

    Hi, something wrong with your customer fields...
    Please, check them...

  • I'm getting syntax error on a python instruction.  it looks good but crashes. (print "Odd",num) becomes (print ‚Äúodd ‚Äú, num) 70 72 69 6E 74 20 E2 80 9C 6F 64 64 20 E2 80 9C 2C 20 6E 75 6D  I've rebooted and changed keyboard

    I’m getting syntax error on a python instruction.  it looks good but crashes. (print “Odd",num) becomes (print ‚Äúodd ‚Äú, num) 70 72 69 6E 74 20 E2 80 9C 6F 64 64 20 E2 80 9C 2C 20 6E 75 6D  I’ve rebooted and changed keyboard

    It worked when typed in from the command line.  Doesn't when its pasted in from Text Edit, rtf or txt. 

  • Problem while including the header file in C source code in CIN

    While Creating code interface node....
    In the C source code we are supposed to include the Header file "extcode.h".In my system i have installed
    Turbo C. I couldn't able to find the above header files.When i am trying to use the above header file i am getting error,what could be the reason

    Hi,
    You need to point your turbo C to ..\labview\cintools which is where you will find the extcode.h and other h file and also the lib file.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file

    I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file me be open in another application."Please help I really need to get this file open.

    Since you've shown us the folder contents it's a good bet it isn't in use (no lock file). And it doesn't look like the file is mis-named as there doesn't seem to be anything else there that would be the .indd file (but just in case, open it in TextEdit and paste the first few lines here so we can see what the file header says), so the most likely case is the file is damaged. Is that on a removable device of some sort?
    You can try the tool at Repair corrupt InDesign Adobe files on Mac OS X  or send me a link to the file by private message and I'll try the recovery tool I have for Windows.

  • I am getting some errors while distilling the post script file.

    I am getting some errors while distilling the post script file. please check and suggest me, how to control this?
    <PDFX ISO="15930-1:2001" COMPLIANT="true">
    PDF/X Compliance Report
    1.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 0.
       No problems were found in the document.
       This document passes PDF/X-1a:2001 compliance checks.
    </PDFX>
    Regards,
    Jack

    @Jack – you were using a joboptions file by Distiller to convert a PostScript file to a PDF/X-1a.
    What you get is no error message, just a report, that everything went ok. And in this case I cannot see any advantage using PDF Export for printing to PostScript/distilling to PDF. Ok, maybe one, CS5 and above would export in a background process.
    To prevent InDesign flattening transparency, you could use PDF/X-4 as your export setting. You cannot use writing to PostScript for that task.
    Check including tags for tagged export to prevent misalignment of text because of a strange bug with PDF Export when you are using 9pt text on 12pt leading or text with a ratio of 9/12 for point size and leading in multicolumn text frames.
    Uwe

  • For the first time, I'm trying to use adobe premiere elements10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or

    For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone

    mike frischenmeyer
    What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
    Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
    know the details and troubleshoot to determined what caused the problem.
    1. Can you open a new project?
    2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
    for that project?
    3. Please review the Adobe document on troubleshooting damaged projects.
    Troubleshoot damaged projects | Adobe Premiere Elements
    4. What are the steps that you are using to reopen this saved closed project.
    a. File Menu/Open Project/Name of Project
    b. Other
    Please review and consider and then we can decide what next based on your further details and results..
    Thank you.
    ATR

  • I need help! when I am importing my NEF files from my D3300 camera into lightroom 5 and try to use the "copy as DNG" button I always get an error message saying that "saying the file is not recognized by the raw format support"

    I need help! when I am importing my NEF Raw files from my D3300 camera into lightroom 5 and try to use the "copy as DNG" button I always get an error message saying that "saying the file is not recognized by the raw format support". The whole purpose of that button is so that the file can be recognized... How can I make the "copy as DNG" button work as it is supposed too?? Thank you

    Thank you for responding. So I essentially will never be able to use that button in lightroom 5? do I need to get LR 6? Will there ever be an update for LR 5 that will enable me to use it?
    Does DNG Converter work within LR or do I have to upload pictures to my computer and then make a second copy in DNG format. and then go into LR and use them?
    Thank you @dj_paige

  • I keep on getting this error when i try to copy files to my 2T Time Capsule, Please help im running out of space on my MacBook Pro.... The operation can't be completed because an unexpected error occurred (error code -50)

    I keep on getting this error when i try to copy files to my 2T Time Capsule, Please help im running out of space on my MacBook Pro....
    The operation can’t be completed because an unexpected error occurred (error code -50)

    I would get an external drive today and copy all your stuff off the TC.. forget trying to load more onto it. There is a good chance after 3years (A 2TB should be only about 2years tops), the disk or the TC itself is on the way out. Do it immediately. If TM is also failing to backup you need to recognise symtoms of impending doom.
    Unfortunately the error messages are archane and it is hard to discover their meaning.
    You also cannot verify a network drive.. you can verify the TM sparsebundle though so do that.
    A5. http://pondini.org/TM/Troubleshooting.html
    Reboot the whole network from off.. certainly if you run later OS it can simply lose the drive..
    If you still fail to be able to copy to the TC.. then get that external and copy off it. Tell us if you can do that.

  • OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.

    I just upgraded my 3GS to ios 5.  Now I can not transfer a book using OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.  Also, the custom ring tones I created can not be played on the iphone anymore. 

    I just upgraded my 3GS to ios 5.  Now I can not transfer a book using OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.  Also, the custom ring tones I created can not be played on the iphone anymore. 

  • I keep getting this error when I publish the SWF file.

    I keep getting this error when I publish my SWF file.
    Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
    ReferenceError: Error #1065: Variable TLFTextField is not defined.
    And these compiled errors
    Symbol 'Symbol 6', Layer 'Layer 1', Frame 1
    Warning: The instance name 'staff' is declared on an object of type fl.text.TLFTextField but there is a conflicting use of the instance name 'staff' on an object of type flash.display.InteractiveObject.
    Scene 1, Layer 'action', Frame 1, Line 7
    1061: Call to a possibly undefined method gotoAndPlay through a reference with static type fl.motion:AnimatorFactory.
    Scene 1, Layer 'action', Frame 1, Line 3
    1061: Call to a possibly undefined method addEventListener through a reference with static type fl.motion:AnimatorFactory.
    This is the only action script 3.0 script that I wrote.
    import flash.events.MouseEvent;
        skipbtn.addEventListener(MouseEvent.CLICK, btnClick);
    function btnClick (event:MouseEvent):void{
        skipbtn.gotoAndPlay("home");

    the first line is a warning, not an error.
    and you have more actionscript than you think.  open the movie explorer panel and toggle the actionscript only button to find all the actionsript in your fla.

  • Why am I getting an error when I place two OAM files one after the other in different pages?

    Why am I getting an error when I place two OAM files one after the other in different pages? They do not load or play correctly.  They are both configured to play automatically with a .125 second delay and both have a white rectangle "poster" over for a hidden effect.

    Thanks for the idea, Scott! I initially tried your idea, but my OAM files were still not loading correctly.  I tried other combinations of OAM files, and it seems to work fine.
    Back to my original OAM files: I made sure that my elements in my Edge Animate project had different names. I originally copied parts of some elements from one to another, and I think it was confusing to DPS to read it. 

Maybe you are looking for

  • Can't start up past gray screen on iMac G4 flat panel

    My iMac G4 flat panel is messed up right now and I'd appreciate any help I can get here. This morning after I realized my internet wasn't working I tried a restart but the restart stalled around the part where it just shows your desktop picture and w

  • 10.8.3, trying to open system preferences in 32-bit mode

    I installed Tivo Desktop, which is a 32-bit System Preferences panel, and when I try and open it, I get the standard message "To use the "TiVo Desktop" preferences pane, System Preferences must quit and reopen".  I click "OK" and it closes, but never

  • Australia Back and Forth

    Hi! I believe this question has come up before but I didn't quite follow the answer.  I will be traveling to Australia soon and I am bringing my phone from sweden. What is the easiest way for me to be able to call one of my contacts without a connect

  • Motorola Citrus on $50 unlimited plan?

    I hear rumors that the prepaid Citrus is compatible with the new $50 unlimited plan. From what I'm reading, it's not true. Anyone confirm this? 

  • Kdenlive has no icons

    Built from kdenlive in the AUR ... What do I need to install to get icons?  I'd hate to install the entirety of KDE