Multiple CC include directories

Hi All
I set a env variable, CCINCDIR to be included in a Makefile, by using a find /opt/SUNWspro/* -name CC and grep for include. This variable is used during compilation as the path for include files for a C++ file. Now what happens is that this variable has multiple include libraries set and when used in a makefile, it gives an error as the make thinks that the second path in the variable is actually a file it needs to compile.
Which CC include directory is the right one. I am using SUN STUDIO 11. Your input and advice will be greatly appreciated.

In general, you should never use any -I or -L options that point into /usr/include /usr/lib, /lib or into the compiler installation directory.
The compiler knows how to find the system headers and libraries, and it knows in what order to search the directories. When you add a -I or -L that points into the areas listed above, you override the compiler defaults, and can cause the wrong header or library to be used.
If you think you need to use a -I or -L as above, you are probably doing something else wrong, and need to fix whatever that is.

Similar Messages

  • Safari, chrome and firefox cannot verify identity of secure websites after upgrading to 10.7.4,  apple engineers have tried multiple things including operating system with no success

    safari, chrome and firefox cannot verify identity of secure websites after upgrading to 10.7.4,  apple engineers have tried multiple things including operating system with no success

    There are several threads about this problem, most notably one called 'Invalid Certificates' is over 4 pages long.  Many of us have experienced difficulty connecting to banking and other secure sites.  On my Macbook Pro, I cannot get to my banking site with any browser, however I can get there on my iMac using Safari, but get the 'Invalid Certificate' notice with FF and Chrome.  The problem started after the installation of 10.7.4.  I have sent a message to Apple--they will be dismayed to hear that I cannot complete an order at their online store!

  • I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    Hi rkcfizzle,
    Blanks
    Blanks = 0
    1
    1
    2
    2
    0
    3
    3
    2
    1.5
    AVERAGE ignores blank cells (Column A)
    Formula in Footer Cell A6
    =AVERAGE(A)
    If you want to include blank cells as zero, type this formula in B2 (and Fill Down)
    =IF(A2<>0,A2,0)
    Numbers 3 will change the formula to
    =IF(A2≠0,A2,0)
    Yeah, right! but that is Numbers 3.
    And the answer (6/4) is 1.5. Correct!
    Regards,
    Ian.

  • I've suddenly lost multiple apps (including settings, App Store, iTunes, camera, photos etc). How do I get them back?

    I've suddenly lost multiple apps (including settings, App Store, iTunes, camera, photos etc). How do I get them back?

    Thanks for replies, however...
    Tried turning off/on and hard resetting - didn't work.
    Spotlight search didn't find them either.
    Had about 5 pages of apps - now only have 2 so they're not on another page.
    The settings app is missing too so can't reset through settings.
    They were all there last night but my ipad is almost empty when I picked it up tonight.

  • How to configure Airport Extreme AFP disk sharing to host multiple users' home-directories (Lion, using autofs)

    I have this working, but only by completely bypassing access control, using guest access with read+write permissions.
    Do I need to buy Lion Server, to do this. All my past unix/linux experience says Lion Server should _not_ be necessary.
    This seems like a simple & obvious setup objective, but it is proving to be harder than I would imagine.
    Setup:
    multiple users, sharing two mac mini's running OSX Lion
    connected to an Airport Extreme (4th gen) with a USB disk shared (either via disk password, AEBS password, or using AEBS user's passwords).
    After much experimentation and web research, I finally have managed to get the mini's to auto mount the Airport Extreme's AFP shared USB disk. Well almost... It only works if, on the Airport, I set the guest access permissions to read+write and select the "Secure Shared Disks" method to "With disk password" or "with Airport Extreme password".  In other words, it only works if I essentially bypass/disable access control by using the guest authentication mechanism to the AFP shared disk.
    On the Lion side of this, I am automounting the users directories via "autofs". The config files for this are
    /etc/auto_master:
    # Automounter master map
    +auto_master            # Use directory service
    /net                    -hosts          -nobrowse,hidefromfinder,nosuid
    /home                   auto_home       -nobrowse,hidefromfinder
    /Network/Servers        -fstab
    /-                      -static
    /-                      auto_afp
    /etc/auto_afp:
    # Automounter AFP master map
    # https://discussions.apple.com/thread/3336384?start=0&tstart=0
    /afp/users -fstype=afp afp://;AUTH=No%20User%[email protected]/Users/
    Then, after rebooting and verifying read+write access to the /afp/users directories, I change each user's home directory: In System Preferences > System > Users & Groups, I right-click over the users to access the Advanced Options, changing the Home directory field to point at the AFP-mounted /afp/users/Users/* home directories.
    I experimented with alternate UAM specifications, as well as both OSX and AESB users & passwords. Using guest access is the only thing that has worked.
    Any pointers would be appreciated...

    Based on lots more experimentation which confirms the information in a parallel discussion (cf. Automount share as non ROOT or SYSTEM user! https://discussions.apple.com/thread/3221944), I have concluded that the Lion 10.7.2 implementation of AutoFS mechanism is broken. I submitted a bug report via apple.com/feedback.
    Work arounds..?
    Earlier I wondered if installing Lion OSX Server was necessary.  The more I contemplate this, the more I am convinced it _should_not_ be necessary. The client-server architecture is clear: my mac's are the file-server client's and the Airport Extreme is supposed to act as the file server. The only thing instaling Lion Server would do (besides enriching Apple.com) is enable me to configure one of the mac's as the file server. This would require it to be "always on" (thus enriching my electric utility as wel).  Okay, an additional benefit would be configuring software RAID disks attached to the Lion server, but Time Machine has worked fine for me in the past, backing up to disks mounted on the Airport Extreme.
    One solution is to create a disk partition for each user and instruct each user to connect / authenticate to the Airport Extreme AFP share at login.  The multiplicity of partitions is necessary since the first user to mount the AFP share, takes ownership of it, blocking other users from accessing that disk partition.  A user can "steal" ownership by reconnecting, but this will leave the other user's applications & open files dangling.
    This disfunctional situation really *****.  Before instaling Lion, I put a 64 GB SSD (solid state disk) in each of our mac's. I did this expecting to easily configure the /Users/* data on external networked storage. I'm having a dejavu "Bill Gates"-ware moment; problems like this were why I abandoned Windoz.
    I will make a few more experiments using the depreciated /etc/fstab mechanism.  Maybe that will bypass the broken-ness of AutoFS...? Alternately, I guess I could also try to run Kerberos authentication to bypass whatever is broken in AutoFS, but that would require a running a Kerberos daemon somewhere.  Possibly I could configure a Kerberos service to run on both my mac's (without installing Apple's Lion Server)...?
    Stay tuned...

  • Problem changing the location of multiple users home directories...

    I've just set up a new entry level model iMac for my Mum. Without getting into a discussion about the benefits or otherwise of doing so, I partitioned the hard disk into two with the first partition for the system and the second a scratch disk for files etc. I set up two users, one for my Mum and one for my younger brother. I then copied the users folder across to the scratch disk and in advanced options in the users list set each account's home folder to the relevant user on the scratch disk. This is the same set up as I have on my own system and with which I have no problems and which runs well and cleanly. I have only one account on my system. However on the iMac, the second user (my brother) is unable to write to the new home directory. Downloads don't work and preferences including right click for magic mouse, dock etc are forgotten instantly. It seems there's a permissions issue.
    I've set the machine up this way in order to keep all their files separate from the system after their last Mac got very bogged down. I expected it to work in exactly the same way as my own. Does anyone know how to successfuly set up both user accounts in this way?
    Any advice would be much appreciated...
    Message was edited by: Jimmy Hat
    Message was edited by: Jimmy Hat

    Jimmy Hat wrote:
    I've just set up a new entry level model iMac for my Mum. Without getting into a discussion about the benefits or otherwise of doing so,
    still not advisable though IMO.
    I partitioned the hard disk into two with the first partition for the system and the second a scratch disk for files etc. I set up two users, one for my Mum and one for my younger brother. I then copied the users folder across to the scratch disk and in advanced options in the users list set each account's home folder to the relevant user on the scratch disk. This is the same set up as I have on my own system and with which I have no problems and which runs well and cleanly. I have only one account on my system. However on the iMac, the second user (my brother) is unable to write to the new home directory. Downloads don't work and preferences including right click for magic mouse, dock etc are forgotten instantly. It seems there's a permissions issue.
    how exactly did you copy the home directories? did you do it using drag and drop in finder from one account? then the copied home directories both are owned by that account and the permissions need to be changed. please clarify if that's what you did.
    I've set the machine up this way in order to keep all their files separate from the system after their last Mac got very bogged down. I expected it to work in exactly the same way as my own. Does anyone know how to successfuly set up both user accounts in this way?
    Any advice would be much appreciated...
    Message was edited by: Jimmy Hat
    Message was edited by: Jimmy Hat

  • Multiple undos in director 11.5 query

    Director 11.5 is supposed to support multiple command 'undos'
    There is an option in the preferences to set the number of "undos" but regardless
    of what is specified I can't seem to "undo" more than one (ie the last) change -
    what is the trick to this??? 
    Support for importing Photoshop layers would be a useful feature for
    the next version(?) (hint for anyone who may be listening/watching)

    HI Tina,
    2 conditions at same time can't work on one characteristic in 2 different way. this is something like finding 1 red apple or 2 green apple in a pack up 4 apples say. which is not possible either you have 1st search for 1 and then for 2 or 1st 2 and then for 1.
    when both the conditions are active i think the condition  "Single Characteristics or Comginations of Characteristics" was after the condition "All Characteristics in the Drilldown Independently" in the designer and thats why its overwriting the other. you may decide logically which condition should be applied 1st and then from that out come, if the other condition is applicable then if it works for the desired out put. else you can make both the condition of same type either All char or single char.
    i think you should put the condition "all char" for both and it should work.
    you can also decide one primary condition and apply that one only and the other condition you can achieve using a RKF.
    hope this helps.

  • Robocopy - Include directories (as opposed to Include files) option?

    Hello,
    I would like to copy only a given set of directories using robocopy. How can this be achieved? Is there an option that I am missing?
    Details of my requirement:
    - I already use robocopy to sync a large number of binary files. I use robocopy obviously because I want to copy only the files that are changed since the last copy. (something like rsync)
    - Almost always I can run the robocopy on the top level directory. But once in a while (very infrequently), I need to copy a few files (~100 files) from 3-4 directories. I do not want to copy anything else. Again, not all files within these 3-4 directories have changed. But I know that the files that have changed are within these directories. So again using robocopy will be ideal because it will detect and copy only the changed files.
    From what I see so far, there is no way to provide just these directory names to robocopy and copy the appropriate files. I will have to loop through these directories and then robocopy individual files. Is that correct? Or is there an option in robocopy that can achieve this?
    Many thanks,
    -Hari

    Hello Bill,
    Thank you very much for the quick response.
    Yes, that is an option. I am trying to avoid making wholesale changes to the script that I currently have and that is why I was desperately looking for a robocopy option that takes files/dirs to include. I guess I should give more details to explain why it will require wholesale changes.
    We already have a script that goes through various processing and does something like this at the end:
    robocopy MySourceDir MyDestDir /E /XD <...>
    Here MySourceDir and MyDestDir are top level directories. So far the script's work (before it executes robocopy) has been to determine the MySourceDir and MyDestDir (where to push to, which branch should the files come from etc..) and also what files to exclude.
    The requirement that I mentioned above (need to copy certain directories only) came in now. And an additional point that I missed is that along with the certain number of directories, a few top level files can make it to the list as well.
    This essentially means that I will need to
    (a) write a section to first identify if its a file or a directory
    (b) then create an appropriate robocopy command, depending on if its a file or a directory
    (c) in addition, the file in question can be there in any number of sub-directories. For example, I might have a hari.xml file at the top level + a couple of sub-directories. But I just want the hari.xml at the top to go out. Since the file syntax of robocopy does not take the path (AFAIK), it gets a bit more complicated.
    In order to avoid all these, I was looking for an option where robocopy will just take an include pattern of sorts (just like rsync's --include or --include-file options).
    It looks like I will have to rework the script quite a bit to get this done. But just wanted to check in here in this forum to see if there is a better solution out there.
    thanks,
    -Hari

  • Multiple SAP Data directories

    Is there any technical reason why there are 4 sapdata directories for SAP systems?
    Why not just use a sapdataALL directory?
    Cheers

    Hi,
    I agree with Markus, besides that filesystem size limits where certainly a reason to have multiple sapdata dirs in the past. We have now only a single /oracle/SID/sapdata1 in most systems and only add sapdata2, when we get more disks (and a new volume group is needed).
    Sometimes it is a bit troublesome through installations, because i am always having trouble with the sapinst and his directory mapping. But creating sapdataX -> sapdata1 links always works as a workaround
    Regards, Michael

  • My IBot - multiple recipients including me

    Hello,
    I am trying to include multiple recipients in my ibot.
    The security setup for my OBIEE is the user is authenticated via LDAP and then authorized with some responsibilities (other than the Administrator) which correspond to the groups in the OBIEE repository.
    When I create the ibot, I set the Data Visibility option as "Not Personalized (use Run as user's data visibility". But I don't see the Run As field.
    Then I go to the Recipients tab and see only the "Me" check box.
    How do I accomplish sending my ibot to recipients other than me?
    Thanks,
    Manju

    hi Satya,
    can you please start a new thread,i think that's an old thread
    Business Intelligence Suite Enterprise Edition
    thanks,
    Saichand.v

  • Multiple POs included in single PDF

    Hi Gurus,
       My client is having a functionality of sending Purchase Order through email.
    For a perticular user we are facing a problem. When he generate a email to be send to  Vendor the PDF is created with more than 6 Or 7 POs included in it.Which are irrelevant..
    We are not having any clue why this is happening.
    Can anybody suggest something on this.
    Regards,
    Rajesh Satope

    This article is correct about the //. First make sure you remove them correctly, and nothing else. Only 2 // must remain, one at the beginning, one at the end.

  • Multiple Transports included in different ChaRM tickets on same objects

    Hi Experts,
    We have ChaRM tickets created for different business CRs, and often a same object has to be changed for different CRs. A question is that is there a way of checking if an object is included in more than one different transports under different ChaRM tickets? How can we best organise the order of the ChaRM tickets so that there will not be a collision?
    Many thanks for your insights shared!
    BR Li Li

    Hi Experts,
    We have ChaRM tickets created for different business CRs, and often a same object has to be changed for different CRs. A question is that is there a way of checking if an object is included in more than one different transports under different ChaRM tickets? How can we best organise the order of the ChaRM tickets so that there will not be a collision?
    Many thanks for your insights shared!
    BR Li Li

  • Include directories with files when building Installer

    I want my installer to install the executable in C:\ProductA\SystemTest\Program1
    I also want have C:\ProductA\SystemTest\CsvFiles created and have the csv files included.
    Is this possible?
    How would I go about doing this?
    Solved!
    Go to Solution.

    Take a look at this sample project (LV2013). The build target folder is c:\tmp\csv_test, but it creates all additional sub-folders.
    For some reason I cannot attach a zip file to the post, so just create 'files' folder as sub-folder of the project and add some files there. You can have also sub-folders in 'files'
    In the destination settings you need to check the 'Preserve disk hierarchy'  option.
    In Always Included you need to add only the root folder of your CSV files
    Attachments:
    csv_test.lvproj ‏7 KB
    list_files.vi ‏8 KB

  • Multiplie upgrades, including 10.4.10, Qt 7.2, - all without any problems!

    There is so much bad news here, I thought I would share a little good news.
    I am normally one of these people who are wary of software updates, but recently I installed many of them. These included:
    Mac OS 10.4.10
    J2SE 5.0 Release 4
    Java for Mac OS X 10.4, Release 5
    Pro Application Support 4.0.1
    Quicktime 7.2
    Security Update 2007-007 (PowerPC) 1.0
    They all installed and have been running for over a week without any significant problems.
    Well, once my computer didn't wake up properly from sleeping, and I had to reboot. But I'm not sure whether that's connected or not.
    I did the Combo Update, and everything I was supposed to do.
    I deliberately haven't updated ITunes yet, as I'm told it messes with your files, and I can't really imagine how a glorified MP3 player could be significantly better. (If anyone thinks I should, LMK).

    Thank you for posting some good news, it makes a refreshing change and may resolve some worries a few people may still have!
    No, I have not updated iTunes either, having no ambitions to own an iPhone, iPod or Apple TV!

  • Help, multiple problems including email and sms!

    I have had my phone since march and one of the first things I couldn't do was go onto facebook through the facebook app! I also cannot confirgure and email account or use blackberry messenger as my contacts just won't add! One of the most important things that has happened is that a few weeks ago I suddenly could not send messages to some people in my contacts, they are all from different networks including o2 so it is nothing to do with that. When I go to send it, a red X comes up and it says network out of order. also recently I have been connecting to the wifi in my house and I go to open a page on the browser and it says loading on the bar at the bottom. But it is not loading any pages. Please can someone help! 

    Hi and Welcome to the Forums!
    I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB):
    1) Register HRT
    Homescreen > Options > Advanced Options > Host Routing Table > (it does not matter which line is current) > Register Now
    2) Resend Service Books
    KB02830 Send the service books for the BlackBerry Internet Service
    3) Batt Pull Reboot
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your carrier for formal support.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for