C/C++ Precompiler Error Messages

I cannot seem to find a listing of compiler messages.
I am attempting to compile the sample programs.
When I type the statement "proc sample1", I get:
"PCC-F-02044, CMD-LINE: Illegal or out of range value for option: sample1"
Any help would be appreciated.
Thanks,
Frances

When I first ran into this problem I scoured this forum and found the usual suspects (add the proper path to the pcscfg file by doing a "find /usr -name stddef.h -print"). Assuming that you did this and changed the reference from Suse to your distribution you can move to the next point.
I did this and still ran into problems. It turns out that with my distribution and version (Mandrake 8.1), I needed to reference the egcs version of these includes which were not installed by default. I needed into install the egcs packages. After this I had two references to stddef.h in my usr/include path. One was quite obviously the egcs version. I needed to use that one. It cleared up the problem.
[jflynn@CN83845-A /]$ find /usr/lib -name stddef.h -print
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stddef.h
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include/stddef.h
so I modified the pcscfg file as:
sys_include=(/usr/include,/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include)

Similar Messages

  • Error message when trying to excute jsf examples or my own code

    Hi, Any help would be deeply appreciated. I am trying to run code I've written to test jsf on WSAD and am getting the following runtime error when I deploy to the test environment. I get this error message even when I try to run the examples supplied with the EA3 version of JSF (when I import the source into my java source folder and compile (rather than using the precompiled imported classes).
    [4/25/03 11:09:29:170 EDT] 5d874f9b WebGroup E SRVE0026E: [Servlet Error]-[Cannot find FacesContext]: javax.servlet.jsp.JspException: Cannot find FacesContext
         at javax.faces.webapp.FacesTag.doStartTag(FacesTag.java:209)
         at org.apache.jsp._Input._jspService(_Input.java:147)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    <CUT REMAINDER OF ERROR MESSAGE>
    Thanks in advance for your help,
    sanjay

    Hi,
    I also received a message like you. In my case I forgot to redirect the
    user to a address which contains /faces/ part. Like that
    http://localhost:8080/ims/faces/newinventory.jsp
    Also You have to check your web.xml file. These lines have to be there.
    - <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    - <!-- Faces Servlet Mapping
    -->
    - <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Omer

  • Pro*C/C++ Precompiler Error when using OTT and CODE=CPP

    I am trying to precompile a Pro*C application for the company I am working.
    Generating Include file and Intype file with OTT succeeded.
    But invoking the Pro*C precompiler results in error messages concerning
    the processing of the "size_t" structure being involved by including
    the file "oci.h" in the OTT-generated Include file. This file in turn
    seems to include "ociextp.h", "ociapr.h", "nzt.h" which cause the
    precompiler to complain: (i translated some terms to english)
    proc code=cpp cpp_suffix=cc intype=diacron.typ
    'sys_include=(/u01/app/oracle/product/8.1.7/precomp/syshdr,
    /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include,
    /usr/include/g++,/usr/include,/usr/include/linux)'
    iname=transact
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mi Jan 30 12:04:34 2002
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System-Defaultsettings from: /u01/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Syntaxerror in Line 233, Col 50, File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h:
    Error in Line 233, Col 50, in File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h
    dvoid ociepacm(OCIExtProcContext with_context, size_t amount);
    .................................................1
    PCC-S-02201, Found Symbol "size_t" when expecting one of the following:
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator, OCIClobLocator,
    OCIDateTime, OCIExtProcContext, OCIInterval, OCIRowid, OCIDate,
    OCINumber, OCIRaw, OCIString, register, short, signed,
    sql_context, sql_cursor, static, struct, union, unsigned,
    utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    Das Symbol "enum," ersetzte "size_t", um fortzufahren.
    ........the above several times for the other files.............
    My pcscfg.cfg looks like:
    ===============================================================
    include=/u01/app/oracle/product/8.1.7/precomp/public
    include=/u01/app/oracle/product/8.1.7/oracode/include
    include=/u01/app/oracle/product/8.1.7/oracode/public
    include=/u01/app/oracle/product/8.1.7/rdbms/include
    include=/u01/app/oracle/product/8.1.7/rdbms/public
    include=/u01/app/oracle/product/8.1.7/rdbms/demo
    include=/u01/app/oracle/product/8.1.7/network/include
    include=/u01/app/oracle/product/8.1.7/network/public
    include=/u01/app/oracle/product/8.1.7/plsql/public
    include=/u01/app/oracle/product/8.1.7/otrace/public
    include=/u01/app/oracle/product/8.1.7/ldap/public
    include=/home/wilf/lib/include
    ltype=none
    parse=partial
    ==============================================================
    And the beginning code in the file transact.pc looks like:
    ==============================================================
    #include "sqlnet/transact.hh"
    EXEC SQL BEGIN DECLARE SECTION;
    #include <stdio.h>
    #include <stdlib.h>
    #include <sqlca.h>
    #include "diacron.h" //generated by OTT
    int id;
    varchar szenario[20];
    char username="***********";
    MYTYPE *MyPtr;
    EXEC SQL END DECLARE SECTION;
    Transaction::.....several class encodings..........
    Transaction::.....several class encodings..........
    =============================================================
    By the way, i figured out so many different settings and
    alternative code placements now, I satisfy all guidelines of
    the Pro*C-Programmers Guide, but I don't get that stuff running!
    I'd appreciate any help!
    Regards,
    Wilfried

    When I first ran into this problem I scoured this forum and found the usual suspects (add the proper path to the pcscfg file by doing a "find /usr -name stddef.h -print"). Assuming that you did this and changed the reference from Suse to your distribution you can move to the next point.
    I did this and still ran into problems. It turns out that with my distribution and version (Mandrake 8.1), I needed to reference the egcs version of these includes which were not installed by default. I needed into install the egcs packages. After this I had two references to stddef.h in my usr/include path. One was quite obviously the egcs version. I needed to use that one. It cleared up the problem.
    [jflynn@CN83845-A /]$ find /usr/lib -name stddef.h -print
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stddef.h
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include/stddef.h
    so I modified the pcscfg file as:
    sys_include=(/usr/include,/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include)

  • JSP Precompilation error

    While trying to build WAR file, I get the error message Caught IOException in Jspc.putFilesIntoResultsFile():java.io.IOException.
    I am using the following command to build my WAR.
    java -jar ojspc.jar C:\appln.war -appRoot C: -addclasspath C:\applnejb.jar;C:\oc4j_10g\j2ee\home\lib\ejb.jar -extraImports "java.util.* java.io.*" -output C:\appln.war
    It would be great if any one could help me on this.
    Regards,
    Vijay

    Oc4j version 10.1.2.0.2 or IAS can be downloaded at oracle website. That version should resolve the problem. However, I am not sure of the support contract or license involved.
    If you have a unix machine, then you can precompile on unix.
    Another workaround is to let ojspc operate on expanded war. So you can run  cdnewdir c:\temp\appln;
      jar xf path_to_appln.war
      mkdir WEB-INF\lib\jsp_classes
      java -jar ojspc.jar -appRoot C:\temp\appln -addclasspath
    C:\applnejb.jar;C:\oc4j_10g\j2ee\home\lib\ejb.jar
    -extraImports "java.util.* java.io.*" -dir WEB-INF\lib\jsp_classes <list_of_jsp_files>
      cd WEB-INF\lib\jsp_classes; jar cf __oracle_jsp_appln.jar *
      copy __oracle_jsp_appln.jar ..
      cd ..
      del /S  jsp_classes
      cd ..\..
      jar xf appln.war *where the list of jsp files can be, for example, generated by   dir/S /B "*jsp"Please note at the last step, you may want to make sure that the main_mode of JspServlet specified in web.xml is justrun so that the packaged jsp page implementation classes will be used by the oracle jsp engine when the war is deployed.
    Unless you just want to verify your jsps can be compiled, this process is actually easier than operating on war file directly since, in 10.1.2, the generated classes are not packaged into a place that will be loaded by web application after you deploy the output war file. You have to extract the output war, move the jar file that contains the generated classes to WEB-INF/lib and repackage.
    Hope this helps.

  • DVDSP Error message

    I'm stumped.  I've been trying to burn a dvd the past week and can't.  I have tried both my internal and external burners.  I've also tried in toast but here is the DVDSP log with error message (ANY help would be awesome!)(I've used Sony & TDK DVD-R):
    Starting DVD Build HHDVDPRO...
    Compiler Initializing...
    Precompiling Project HHDVDPRO
    Compiling VMG Information...
    Created 7 PGCs in VTSM1
    Created 8 PGCs in VMG.
    1 Menu(s) will be created...
    Compiling Menu PGCs...
    Compiling Menu#1 (Menu 1)...
    Rendering Menu:Menu 1,Language:1...
    Writing VIDEO_TS.VOB
    1 VTSs and 1 Titles will be created...
    Compiling VTS#1 (another test run)...
    Muxing VTS_01_1.VOB
    Done.
    Linking VMG...
    Linking VTS#1...
    Writing VTS#1...
    Writing VMG...
    Writing Layout Info...
    Compile Completed Successfully
    Note: The file ‘VOB_DATA.LAY’ found in the ‘VIDEO_TS’ folder is not a DVD-Video file and will not be included in the final disc or DLT.
    Note: The file ‘HHDVDPRO.layout’ found in the ‘VIDEO_TS’ folder is not a DVD-Video file and will not be included in the final disc or DLT.
    Start formatting
    Formatting as Standard DVD
    Simulation mode is off
    Lossless linking is on
    Number of layers is 1
    Doing side 1 of 1
    Playable in region 1,2,3,4,5,6,8
    Disc size is 12 cm
    Disc has no copyright material
    Writing ISO 9660 directories
    Writing UDF 1.02 structures
    Writing files
    The recording device reported the illegal request: Unknown device error. (0x30, 0x05.)
    Starting DVD Build HHDVDPRO...
    Compiler Initializing...
    Precompiling Project HHDVDPRO
    Compiling VMG Information...
    Created 7 PGCs in VTSM1
    Created 8 PGCs in VMG.
    1 Menu(s) will be created...
    Compiling Menu PGCs...
    Compiling Menu#1 (Menu 1)...
    Skipped Rendering Menu:Menu 1,Language:1.
    Writing VIDEO_TS.VOB
    1 VTSs and 1 Titles will be created...
    Compiling VTS#1 (another test run)...
    VOB up to date. Muxing skipped.
    Linking VMG...
    Linking VTS#1...
    Writing VTS#1...
    Writing VMG...
    Writing Layout Info...
    Compile Completed Successfully
    Note: The file ‘VOB_DATA.LAY’ found in the ‘VIDEO_TS’ folder is not a DVD-Video file and will not be included in the final disc or DLT.
    Note: The file ‘HHDVDPRO.layout’ found in the ‘VIDEO_TS’ folder is not a DVD-Video file and will not be included in the final disc or DLT.
    Start formatting
    Formatting as Standard DVD
    Simulation mode is off
    Lossless linking is off
    Number of layers is 1
    Doing side 1 of 1
    Playable in region 1,2,3,4,5,6,8
    Disc size is 12 cm
    Disc has no copyright material
    Writing ISO 9660 directories
    Writing UDF 1.02 structures
    Writing files
    The recording device reported the illegal request: Unknown device error. (0x30, 0x05.)

    Hmmm... I don't think this is HD - just the name of the project is HHDVDPRO. In the log it does say creating a standard format... however, the OP should be able to clarify :-)
    FWIW I would suggest there is a problem with the discs you are burning to, or perhaps with your burner itself. What media are you using? Have you ever cleaned your DVD player's laser?
    On another note, I am assuming this is not going to replication, right? If so, you are burning a DVD-R and you need to check ALL of the regions, including 7, in order to make sure there is no contradiction between your project and the media you are writing to (which will report itself as region all (or have a region code mask value of zero). Checking region 7 will cause DVDSP to write the same value as the disc, which is good.
    Next I note tht Lossless Linking is off - this is correct if you are going to send the disc for replication. If not, check the bx in the burn/format dialogue and turn it back on again. It is a form of buffer underrun prevention, and if good to leave on if you are burning your own discs.
    Don't worry about the 'notes' in there about the '.LAY' files - all normal.
    Finally, I see that certain parts are being 'skipped'. This usually indicates that you've one a build before now (probably to test something). If you made no changes after checking everything then that's fine... otherwise it is good practice to delete the test build files and start from scratch...
    Finally, are you able to burn to a disc through the finder without any problems - can you create a CD, for example... or a data DVD?

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

  • Error message into a Variable.

    Dear users,
    I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
    My requirement is like this:
    I have a message class in which I want to define a text 'Employee number & not found'.
    I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
    So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
    lv_text = e0xx(messageclass) USING '1234'   which stores the text 'Employee number 1234 not found' in lv_text.
    How would I acheive it??
    Thanks, V!

    Try tis way
    message e999(00) with i_emp-empno into lv_text.
    press f1 in message will provide you more details

  • IPod seen by windows, not by iTunes+ weird error message

    I have a first generation 2GB iPod nano and i use windows xp. I can't load any music because iTunes doesn't see my iPod and an error message pops up that reads like this: "iTunes: iTunes.exe corrupt file. The file or directory \iPod_Control\iTunes is corrupt and unredable. Please run the checkdisk utility." I've tried everything, reinstalling iTunes, different versions, reinstalling OS, resetting iPod, even on another computer, same problem. Other than that, the iPod works normally, it's just lacking music..
    and why is there no email adress from apple for service qustions? 10x

    I still don't get it, how can I put it in disk mode if I CANNOT see the iPod in iTunes..?
    Did you read the document i linked you to? here's another link to it:
    Putting iPod into Disk Mode
    whereabouts in that procedure in that document (that you get to by clicking that link) does it say that you have to connect it to iTunes to put it into disk mode?
    ... never mind ... i guess you've fixed it anyway ...

  • Error message iPod cannot update b/c all of the playlists no longer exist

    Hello. I have been getting this error message. "Songs on the iPod "MAR(the name of my iPod)" cannot update because all of the playlists selecting for updating no longer exist." And my playlists are still on the left side in my iTunes. They do exist. I have a feeling ths might have to do with the fact that on vacation the person I was visiting gave me a gift of putting all of his music that would fit into the external hard drive part of my iPod, and for the past week or so I have been putting that music onto my 40 GB portable hard drive at home. I suspect I took a vital folder out of my iPod by accident. Right now I have the folder iPod_control if I open my iPod up in My Computer. Am I missing something? Right now my iPod is empty because iTunes made a composite playlist last week and I deleted it thinking I could get my real playlists back. Can you help me, or reccomend a site/someone who can? Thank you.
    PC   Windows XP  

    hiya!
    And my playlists are still on the left side in my iTunes. They do exist.
    let's just doublecheck this. folks get this message if they have "automatically update selected playlists only" selected in their itunes "ipod" preferences tab. so bring up that tab ("edit > preferences", click "ipod" while the ipod is showing up in the source list), and do a playlist by playlist crosscheck of the playlists selected in that tab, and the playlists showing up in the itunes sourcelist.
    is there any playlist selected in the preferences tab that isn't showing up in the sourcelist?
    love, b

  • Windows Blue Screen Error Message Appears As Soon As IPod Connected

    Everytime I connect my IPod to my computer, I get the Windows Blue Screen error message. Thought it was the cable, so plugged cable in by itself. No problem. Uninstalled IPod and ITunes software and then plugged in IPod, still got the Blue Screen. The Blue Screen says something about "recent plugged in device problem". It is not the cable, it must be the IPod. Did not have this problem when I bought it. Tried it on labtop and get the same error message. I can't do updater or anything that requires me to plug the IPod into a computer because the Blue Screen appears immediately. When I unplug, the Blue Screen remains and locks up the computer so I have to restart each time. I have tried everything I can think of. Please help.

    Hi Mike thank you for replying,
    I am not able to start the computer in safe mode, safe mode with networking, last good known configuration etc, Each time it quickly blue screens and restarts about two secs into the process.
    I was unable to try a clean OS install from the disk as it gave the blue screen error shown in the original post. The same thing happened when I tried to use the repair option on the XP home disc. So i can't get into the computer at all to start diagnosing the fault, the only clue I have is the error message, and after searching the internet I haven't found much enlightenment from that yet.
    If you can help me out or suggest where to search it would be much appreciated.
    Thx

  • IPod Error Message: "The disk could not be read from or written to."

    Hello!
    I was syncing my sister's video iPod (30GB) and this error message pops up "Attempting to copy to the disk. "SARAH'S IPO" failed. The disk could not be read from or written to."
    I have restored it three times already, but once it starts putting the music and files back onto the iPod it pops up with that error message. I have updated to the latest version of iTunes and iPod software available. My OS is Windows XP.
    Is this something serious? Will I be able to fix it myself or will I need to send it in to be fixed by Apple? Will that be expensive? We didn’t get the Apple replacement plan. D=
    Any help would be greatly appreciated. Thank you in advance. ^_^
    PowerBook G4   Mac OS X (10.4.3)   15" PowerBook 1.5 GHz PowerPC G4, 1.5GB RAM - Windows XP with iPod 5 Generation

    Okay I went thru that entire list and here's what I got...
    (1) My OS is XP and is running fine.
    (2) I've updated my windows
    (3) I don't know of any software that might be interfering.
    (4) There are no damaged files.
    (5) My Windows hard-drive is not damaged and I've tried restoring my iPod's disk thru iTunes but it still doesn't work.
    (6) I don't have an iPod photo and I can't find the folder to delete the cache if if I did.
    (7) The USB cord is firmly connected into my USB port and my iPod
    (8) My music is on my external hard-drive so I need to keep 3rd-party hardware connected
    (9) I will try another USB cord to see if that works.
    Is there anything else that I can do? Can Apple fix this?
    Please let me know.

  • IPod Touch will no longer sync...error message.

    For some reason my older iPod Touch without a camera on it will not sync any more and I am getting an error message saying this iPod cannot be synced. Now I had it set up to sync over Wi-Fi and I would occasionally hook up to the computer with the cable and got error messages on both. Now I read something about removing the SC Info Folder. If I do that will that mess things up with syncing my iPhone? 

    What is the exact wording of the error message?

  • Error Message: Need to purge Cache in Adobe Bridge CC (on PC)

    I tried purging using Adobe Bridge by going to Edit/Preferences/Cache then purging, but it becomes non responsive.  The error message said the problem files were at Users/(my user name)/AppData/Roaming/Adobe/BridgeCC/Cache.   There are 4 files in there that are taking up 124 GB!  Can I simply delete these files or will it corrupt my regular files?  I tried doing as some other forums suggested and hold the ALT key down when opening Bridge before purging, but no luck.

    Yes, you can delete the cache files manually,  Just be advised that Bridge will become very, very slow until it finishes rebuilding its caches.  Depending on your files, that can take a few minutes or several hours.
    A good way of doing it is at night, so you can do it before going to bed and let Bridge rebuild caches overnight.
    If you can, save the cache files before deleting them to an external drive, so that you'll have them as backup if something goes wrong.

  • Error message when installing Photoshop CS2 in Windows 8

    I just upgraded to a computer with Windows 8.  I use Photoshop CS2.  I am getting the error message below when starting photoshop after installation.  I changed program folders, but that did not work.  Please advise. 
    Error: an error has been detected and activation cannot continue. Please restart your computer and reinstall application.

    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l

  • Adobe Photoshop CS2 Error messages after update to mac os 10.4.6

    After updated to mac os 10.4.6 everytime I use Photoshop CS2 I receive an error message "Could not complete your request because of a program error"
    I did all the workarounds that were described in document 331627 from Adobe's website and nothing worked.
    I also subscribe to maxosx.com support and someone suggested removing the legal.localized/Tien...file from the photoshop cs2/legal directory, but everytime I tried to select the directory "legal" from within the finder view, it disappeared and closed the finder window.
    HELP!

    Did you upgrade from a previous version of OS X like 10.3.x or 10.2.x or from a prior version of 10.4.x? If the former, there are probably some files in your previous system folder that need to be restored.
    Otherwise, double click Photoshop when it's closed, and then IMMEDIATELY hold Command + Option + Shift. You'll get a box for resetting the settings. Select Yes and maybe that will help.
    --Ryan

Maybe you are looking for

  • Error showing Developer Dashboard in SharePoint Foundation 2013

    Hi everybody, we have a SharePoint Foundation 2013 farm with SP1 and CU Nov 2014 applied (15.0.4667.1000). We have enabled developer dashboard and when we try to open it a new browser window appears with the followed error: Server Error in '/' Applic

  • Error while binding node attribute to a  UI  element (table)

    Hi When I bind a node attribute to a table in a View... It gives a chain of exceptions..starting with java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractTableColumn      at java.lang.Class.getDeclaredCons

  • Error in Application Integrator

    Hi, I am trying to implement the Application Integrator on EP 6, SR1 Release. The following error is seen during runtime. An exception occurred while processing a request for : iView : N/A Component Name : N/A Unable to lookup System 'SysAlias'. Plea

  • Advice on Set up, I'm new to this

    I'm new to OS X Server and not very knowledgeable. I own a dental office running on macs and I need to set up a VPN for secure remote access of our database. Presently we have Five computers, 4 iMacs and one mac mini. Purchased new summer of 2007. So

  • Simple shell script utility to copy abs tree for build

    Hi,     I'm learning shell script and decided to make a simple script to copy the folder i want from /var/abs to     a new folder so i can build the package. here it is: (remember, i'm new to shell scripting, if you know a better way to do it, you ca