Include file error from a new install of C++ compiler on Solaris 5.7

Here is the command line being executed:
CC test.cc
Here is the sample cc file being compiled:
#include <iostream>
int main() {
std::cout << "Real programmers write C++!" << std::endl;
return 0;
Error Output:
"/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 15: Error: Could not open incl
ude file <sys/isa_defs.h>.
"/opt/SUNWspro/WS6/include/CC/std/stdarg.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/string.h", line 7: Error: Could not open inclu
de file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/ctype.h", line 7: Error: Could not open includ
e file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/wchar.h", line 6: Error: Could not open includ
e file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 34: Error: Could not ope
n include file <sys/isa_defs.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 35: Error: Could not ope
n include file <stdio_tag.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 36: Error: Could not ope
n include file <wchar_impl.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 7: Error: Could not open include
file <sys/feature_tests.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 42: Error: Could not open includ
e file <sys/types.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 52: Error: Could not open includ
e file <sys/time_impl.h>.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: Type name expected in
stead of "pthread_attr_t".
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: No storage class or t
ype for this declaration.
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: "," expected instead
of "*".
"/opt/SUNWspro/WS6/include/CC/std/time.h", line 86: Error: Use ";" to terminate
declarations.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 38: Error: Could not ope
n include file <sys/va_list.h>.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 94: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 95: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 96: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 97: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 98: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 99: Error: __FILE is not
defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 100: Error: __FILE is no
t defined.
"/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 152: Error: __FILE is no
t defined.
Compilation aborted, too many Error messages.
Could someone please help with solving this compilation error.
Thanks

Hi there,
I guess a simple modification to your PATH statement would solve this, you can also specify "-I /usr/include" in your makefile as a path to search for. So I only think your environment needs a little twinkling.
M. Poels ([email protected])

Similar Messages

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • ADMT 3.2 Group Migration - Include File error: The object was not found in the domain

    Hello,
    I have been digging for weeks and still no answer. I am trying to migrate Group across two domains and if I select the group, it works just fine. But I want to bulk-migrate groups. So I am going the Include-File route. when ever I load the file I get
    the bulk of the groups processed but I get a dialogue box that states:
    The following objects are either not found or do not meet selection requirement. No migration will be performed on these objects.
    Then I get a list a group and the message states:
    The object was not found in the domain "contoso.com"
    Does any one know anything about this or how to fix it? I have compared the files with good/bad versions using ADSI edit and from its POV they look the same.

    Hi,
    Thanks for your post.
    There is an attribute named "showInAdvancedViewOnly" which specifies whether the object is to be visible in the "Advanced" mode of user interfaces. This is to say, if the schema attribute "ShowInAdvanceViewOnly" is set to TRUE for any security principal
    in AD, we would not be able to find that account or group while trying to migrate it except the simple ADUC search. Just as the issue you encountered.
    Therefore, please enable the "Advanced" mode in Active Directory Users and Computers, and then check if the three groups could be migrated or not.
    If anything unclear or you have any questions about this case, please feel free to let me know.
    Thanks and I look forward to your reply.
    Best regards,
    Ann Zhu

  • Error when recording f4v-files: Error from libmp4.so: No Space left in the stsd box.

    We are recording live streams on a Flash Media Interactive Server 3.5.3 r824. In general, everything works fine, so there are no appliaction-issues. But sometimes (it is not reproducable yet) a stream stops recording without any notice or event in the application. All we can find is such a message in our core.log:
    2010-03-05 03:30:00 4747 (e)2611178 Error from libmp4.so: No Space left in the stsd box. -
    2010-03-05 03:30:00 4747 (e)2611423 Failed to record [...]16891_14351_RGtBCODxPR4cM8QfML9CuxqhHqutMwWX.f4v (Unknown Error). -
    Can anyone give me a hint, where i could start searching for the cause of this error?
    These streams are in general sent by Adobe Media Live Encoder.
    Thanks in advance
    Suha

    You're running out of sample description spaces in your recording of an F4V - this is presumably because you're splicing together different H264 encodings or other types of media.  No matter, you can configure this value up from it's default of 10 - check out Server.xml in your configs and you'll find this section
    <Recording>
                        <!-- Maximum ELST entries in a recording.  ELST entries are used when there     -->
                        <!-- are gaps in a kind of content.  Gaps occur during an append to the file    -->
                        <!-- or when content like video ends while other content proceeds.  If more    -->
                        <!-- gaps or appends occur than configured here, recording would terminate    -->
                        <!-- Making this value too high takes up unnecessary space in each recorded file-->
                        <!-- Default value is 100                            -->
                        <MaxELSTEntries>100</MaxELSTEntries>
                        <!-- Each change in codec for a content type, like two different video codecs    -->
                        <!-- takes a sample description.  All space for sample descriptions is made on    -->
                        <!-- file creation.  If codec type changes more than descriptions available    -->
                        <!-- recording will terminate.  Adding too many descriptions takes unnecessary    -->
                        <!-- space for every file record.  Default is 10 for each type            -->
                        <MaxDataSampleDescriptions>10</MaxDataSampleDescriptions>
                        <MaxAudioSampleDescriptions>10</MaxAudioSampleDescriptions>
                        <MaxVideoSampleDescriptions>10</MaxVideoSampleDescriptions>
                    </Recording>
    You'll want to increase the appropriate SampleDescription Max.  Not sure which it is yet (audio/video/data) but in theory you can increase any or all as needed.  These boxes are set in size when you start your recording so all recordings will bloat very slightly to cover this case that most users don't run into, but feel free to set the SampleDescription limits higher and you should stop seeing this.

  • Include file errors

    ASP, IIS 6
    Hello all,
    Yesterday we upgraded to Server 2003 with IIS 6. We were
    using IIS 5. I am
    now having problems with a couple of pages. One being this
    one where I am
    having problems with the include file that used to work :)
    I get this error:
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /tree/login.asp, line 2
    The Include file '../Connections/connNewdatabase.asp' cannot
    contain '..' to
    indicate the parent directory.
    The page starts as such:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="../Connections/connNewdatabase.asp"
    -->
    <%
    The file "connNewdatabase.asp" is in a folder one above the
    folder that this
    page is in. What is it that I have to change to get this page
    to work
    again?
    Thanks,
    Gale

    I got it folks, I had to recode as such:
    <!--#include virtual="/Connections/connNewdatabase.asp"
    -->
    Thanks
    Gale

  • Debug ZXM06U02 include file called from RSNAST - outbound PO IDOC

    Hi,
    I have been asked to amend an idoc to include additional fields from the Purchase Order. I have successfully extended the right idoc segments and discovered that the values I need to be added are done at include ZXM06U02. In fact I have hardcoded the 3 values here so that I can test that the hardcoded values are coming out on the Idoc.
    This is all working smoothly however I now need to do the actual work and get the values into the include. However I cant seem to get the debugger to stop at this program/include. I have tried both the standard /h with breakpoints and even WE19 (IDOC test) with debugger but I cant stop at this file to see what information I have available!
    Could someone offer me any advice on how to debug in this situation. I think it may have something to do with the RSNAST as the program in the output - although could be wrong.
    Cheers
    Paul

    Hi Paul,
    Set the dispatch time of the output type which triggers the IDoc in the Purchase Order to '3 Send with application own transaction'. The trigger the output with transaction ME9F (of course after you have put a breakpoint in the include). Now you stop at the breakpoint.
    Regards,
    John.

  • File Error: Access Denied After Installing FCP X on FCP 7 Drive

    Hi, after foolishing installing FCPX on the same har drive as FCP7 (I know against all sane advice and recommendations) I now get File error: Access Denied when trying to save work under FCP 7.
    Does anyone have any advice re resolving this issue.
    Would be much appreciated, I'm loathe to do a full  reinstall if I can possibly avoid it
    Thanks in adcance
    john

    Have you run software update and repaired premissions?
    Was FCPX installed before or after FCP7?
    FCP7 and the other FCS3 apps should be located in a folder in Applications if you're going to have them coexist with FCPX. If you had FCS installed prior to downloading FCPX, that relocation is done automatically. But you could also do it manually.
    If you haven't sen it, here is Apple's best installation practices.
    Russ

  • I can't boot from CD (new install)

    Can this board load the OS (XP-Pro) from a CD on a new install?
    I have a 875P NEO-FIS2R board, P4 2.8, two SATA 80GB Hitachi drives and a NEC CD/DVD-Rom drive.  When I power up I get I get the logo screen and the a brief flash from a screen that looks like a Promise SATA bios screen that says something like "Bios not installed" and then a DOS like screen the says:
    Boot Failure
    Insert Boot Diskette in A:
    Press any key when ready
    Problem is I don't have a floppy drive.  The last two systems I made did not need one to boot.  They see the CD and boot.  
    Seem to me the System BIOS came pre-toasted from the factory.
    Any clues?

    I don’t think anything’s wrong with your board; just make sure (a) that your cd-rom shows up in the bios and (b) that it has the highest boot priority.
    Edit: you may also want to turn the logo off at least temporarily so that you can get a better idea as to what’s going on with the boot sequence. Also, don’t worry about the “bios not installed” message. It’s referring to the promise controller: if no drives are hooked up to it, it doesn’t load its bios. This has nothing to do with your system bios.

  • Cabinet file error while trying to instal itunes 9 on vista

    So I have been trying multiple times and doing a variety of things to try and install itunes 9 on vista. While it is copying new files I always get the same error at the same place. The error reads, "The cabinet file 'AppleMobileDeviceSupport.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-Rom, or problem with this package." I tried downloading the installer from firefox, IE, and Google chrome all with no avail. I also removed every Apple related product from my computer in hopes of a clean install. If there are any tips on what to do, it would be greatly appreciated. I also get the same errors when I try to install Quicktime except it has a different cabinet file that doesn't work. It's really aggravating.
    Thanks

    Yea, I'm Having the same problem on my Windos 7 OS. Any answers to this problem?

  • Boot error message on new install of Paravirtualized arch

    Hello,
    I just finished installing a PV arch guest on xen.
    I get the following error at boot:
    [1.185226]  i8042: No controller found
    [1.1247134] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    Google told me this is the driver for the hardware clock so I tried the following:
    [root@coronelaurelianobuendia ~]# hwclock --systohc --utc
    hwclock: Cannot access the Hardware Clock via any known method.
    hwclock: Use the --debug option to see the details of our search for an access method.
    [root@coronelaurelianobuendia ~]# hwclock --debug
    hwclock from util-linux 2.24
    hwclock: cannot open /dev/rtc: No such file or directory
    No usable clock interface found.
    hwclock: Cannot access the Hardware Clock via any known method.
    Does anyone have any ideas? Is this a problem with my grub.cfg? A problem with PV arch? or a problem with my kernel?
    Thanks for your help and advice

    Hi ,  I see you have been troubleshooting an issue with your new LaserJet Pro MFP M127, and I may have found some items you can check.
    This issue is usually caused by some sort of packing materials that may be hiding on you. I would double check Setting Up the Printer Hardware for HP LaserJet Pro MFP M127fw to make sure it's not a piece of cardboard inside the printer. The next thing that may cause this would be if you forgot to remove the orange tabs on the toner cartridge. If you take a look at Replacing the Toner Cartridge, it shows what needs to be removed from the toner before installing it inside the printer. There is a whole setup video about Unboxing and Setup of the LaserJet Pro MFP M127 you can watch as well. If the issue persists, you might still have options covered under the HP LaserJet Print Cartridges and Imaging Drums Limited Warranty Statement - I would still try to Contact HP Support to see if there is anything they can do. Fill in the model number and the form to receive a case number for expedited assistance.  Please let me know if these steps resolved your issue, or if there is anything else I can do to help.  I look forward to hearing from you!  Thanks, 

  • InDesign CC can't open file - error: saved in newer version (CS7.0)

    My coworker and I set up CC accounts last month (upgraded from CS5) but now when I'm trying to open a file she edited recently I get this error: "Cannot open "file name.indd" because it was saved with a newer version of Adobe InDesign (CS7.0). You must use that version or later to open the file. To then enable it to be opened in this version, choose Save As InDesign CS4 or later, or export to IDML."
    Both are PCs. We are using the same software it seems so I'm confused as to the CS 7 version she is saving in and doesn't allow me to open the file.
    Any suggestions?

    Here we see what happens because Adobe went for CC instead of CS7: people that have a Creative Cloud account get confused: 'a creative cloud must be version CC' - while it still can be CS6. Not the first time I've heard this confusion the last fee weeks...
    Imagine later when hew versions come out and Adobe sticks to its plan to call all versions CC instead of CC1, CC2 etc.
    Pwef...

  • Missing File error when trying to install HP 5610xi using Windows 7 64 bit download

    I have tried several times to download and install the software and drivers for my old 5610xi on my new computer running Windows 7 Home Premium 64-bit OS. I keep getting a "missing file" message when trying to run the download, and it will not install. Can someone please help!?!?

    Hi computeir, sorry to hear that you are having issues with getting your printer installed on to your computer. If you are connecting the printer to the computer with a usb cable, please remove it from the printer and the computer and set it aside. Please click the link I have provided for the HP Printer Install Wizard for Windows.
    The installation will prompt you as to when to connect the usb cable. If you are still having issues, please feel free to write back.
    Thank you.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • "undiagnosed_problem" errors from fmd after installing 2nd CPU

    Hi everyone,
    [Disclaimer: I am not a professional Solaris sysadmin]
    I have an HP Proliant DL145 g2 server. This is an AMD Opteron box running Sol10 x86. I recently installed a second cpu in this machine. Now, the fault manger daemon is logging the following error, once every 10 seconds:
    From fmdump -v:
    Sep 06 10:50:50.5527 4f2ab3b1-df9d-6c47-8cfd-ab8471036c65 SUNOS-8000-1L
    100% defect.sunos.eft.undiagnosable_problem
    Problem in: -
    Affects: -
    FRU: -
    A little more info is available from dmesg:
    Sep 6 10:48:30 compile2-02 fmd: [ID 441519 daemon.error] SUNW-MSG-ID: SUNOS-800
    0-1L, TYPE: Defect, VER: 1, SEVERITY: Minor
    Sep 6 10:48:30 compile2-02 EVENT-TIME: Thu Sep 6 10:48:30 PDT 2007
    Sep 6 10:48:30 compile2-02 PLATFORM: ProLiant DL145 G2, CSN: MX262600HJ, HOSTNA
    ME: compile2-02
    Sep 6 10:48:30 compile2-02 SOURCE: eft, REV: 1.16
    Sep 6 10:48:30 compile2-02 EVENT-ID: d788f719-2ae3-4a6b-e3f9-c4581676b122
    Sep 6 10:48:30 compile2-02 DESC: The EFT Diagnosis Engine encountered telemetry
    for which it is unable to produce a diagnosis. This may indicate an incomplete
    EFT file provided or a defect in the diagnosis algorithm. Refer to http://sun.
    com/msg/SUNOS-8000-1L for more information.
    Sep 6 10:48:30 compile2-02 AUTO-RESPONSE: Error reports from the component will
    be logged for examination by Sun.
    Sep 6 10:48:30 compile2-02 IMPACT: Automated diagnosis and response for these e
    vents will not occur.
    Sep 6 10:48:30 compile2-02 REC-ACTION: Run pkgchk -n SUNWfmd to ensure that fau
    lt management software is installed properly. Contact Sun for support.
    I tried installing the relevant fmd patches (118344-14 and 125801-01) but this didn't help me. The system appears to be working, but the incessant logging by fmd is troubling. Does anyone have any insights they'd care to share?
    Thanks in advance,
    Larry Barnett
    Palamida, Inc.

    use :
    export NSS_STRICT_NOFORK=DISABLED
    before starting the directory and admin server.

  • How can I use Lightroom 5.7 to import RAW files (.arw) from my new Sony Alpha 7 ll?

    When I try to import, I get a "Preview Not Available for this File" message.
    I thought LR 5.7 would contain a Camera RAW converter.  If not, when?
    Please help  me....

    Support was provided in record time with the LR 5.7.1 update.
    Profiles for new camera models can only commence being created after the camera has been released to the market.
    See the link below.
    Lightroom Journal | Tips and advice straight from the Lightroom team.

  • File error - FORMAT TOO NEW

    I am very stuck at the moment. I am helping a uni student with a project in edits and this " "File's format is too new for this version of the application" message comes up but I have made sure the FCP versions were the same and they are.
    I have FCP Studio 2 - FCP 6 - brand new - and the FCP that the student used was the same. Some of the FCP files I can open but most I cannot. I asked whether he worked on more then one computer and he said yes but all versions are the same.
    I do not have the internet on my MAC so I cannot do an update so is there any other ways to fix this?

    You say your FCS is brand new, but you do not have Internet, which puts you several subreleases behind.
    From 6.0.1. to 6.0.2 for example there is a problem because a project created or modified in 6.0.2 can not be taken back to 6.0.1.
    Also check the version of Quicktime you both are using.
    Working with FCS and WT without the possibiity to upgrade via internet will cause you more similar problems down the road.
    Jochen

Maybe you are looking for

  • Cannot open Aperature after upgrading to Snow Leopard

    I upgraded my macbook pro to snow leopard.  Now I cannot open my Aperature (2.1.4).  Anyone else have this problem?  I keep getting an error box telling me that Aperature has shut down unexpectantly.  I try to restart it and all I get is the same err

  • Uncheck "Goods Receipt" on Purchase Order

    Hello Experts, please, how is it possible on Purchase Order / Delivery Tab to uncheck field "Goods Receipt"? This field was checked by mistake and now it is grey in ME22N. Because it is checked now it is not possible to post the invoice in MIRO (no i

  • Monitor/TV Output

    Does Nokia do a phone, with a nice big screen, similar to the 6280 that will run Sat-Nav but will plug into a screen & output the sat-nav info on it, if that makes sense

  • How to create Anchored Object (CS2)

    Hi, Indesign CS2(PC version) Javascript Any one help me, How to create Anchored object within TextFrame and inside anchor object i want to paste one image. by Sudar

  • How do I change the ethernet card in my emac desktop os-x?

    After getting a new modem installed, the desktop mac does not recognize the ethernet anymore (it worked fine before!). When I plug the ethernet cable into my laptop mac, the ethernet is recognized. The Century Link tech said this means the ethernet c