Defs.h:a typedef name cannot be used in an elaborated type specifier

Hi,
I recently migrated from Workshop C++ 4.2 (Solaris 2.6) to C++5.0
When I recompiled all my programs, I get these errors in the header files :
"/opt/SUNWspro/SC5.0/include/CCios/stdiostream.h", line 29: Error: streamoff is
not defined.
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/stringid.h", line 50: Error: A typedef na
me cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/stringid.h", line 51: Error: A typedef na
me cannot be used in an elaborated type specifier..
I've installed the following patches (107311-19, 107390-19, 107357-11) and compiled with the -library=rwtools7,iostream options.
It still doesn't work and I can't figure out why...
Any help would be appreciated.
Thanks
Annie

Workshop 5.0 is EOLed. Please try the current version 'Sun One Studio 7, Compiler Collection'(http://wwws.sun.com/software/sundev/suncc/index.html) or 'Sun One Studio 7, Enterprise Edition'(http://wwws.sun.com/software/sundev/solde/index.html)
- Rose

Similar Messages

  • Error:A typedef name cannot beused in an elaborated type specifier.. (2.8)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and was able to compile the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]

    Further to the posting,I find that the error arises in the following lines of the header files-
    #ifndef RW_NO_IOSTD
    #include <iosfwd>
    #else
    class _RWCLASSTYPE istream;
    class _RWCLASSTYPE ostream;
    class _RWCLASSTYPE ios;
    #endif

  • Error:A typedef name cannot beused in an elaborated type specifier(C++5.0)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and compiling the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]

    Workshop 5.0 is EOLed. Please try the current version 'Sun One Studio 7, Compiler Collection'(http://wwws.sun.com/software/sundev/suncc/index.html) or 'Sun One Studio 7, Enterprise Edition'(http://wwws.sun.com/software/sundev/solde/index.html)
    - Rose

  • A typedef name cannot beused inan elaborated type specifier(C++5.0 /sol2.8)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and able to compile the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]
    Thanks
    Prashanth

    Make sure when you compile, you give the option -library=rwtools7 -library=iostream and that the roguewave library has been installed on your workstation.

  • ITunes user name cannot be used to unblock this phone

    hello,
    i have recently emigrated to Australia but before I moved out here I was on 02 in the Uk. I asked 02 to unblock my phone which they did and I put a giff gaff sim card in (uk network) and it worked so then took it out of my iphone 5 and put the 02 one back in. Today I have got a sim card from Australia (Vodafone) and have tried to use that sim. When I put the sim in the phone it says
    (itunes user name) cannot be used to unblock this phone
    it won't let me process any further. I am at a loss as to what to do now? I haven't got the phone on iCloud and have tried everything? I have had the phone from brand new and never changed itunes user name etc. it's weird how the phone is unlocked on giff gaff and I have put that SIM card in and that still works but it doesn't let me use the Vodafone sim. Am I missing something here? Any help would be great. Even the people in the Vodafone shop were at a total loss.
    Thanks

    I Know it gets on my nerves Idk the very first password I put in for my apple Id and now it sayin i can't use my emai      UGHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

  • The iPod "my ipod name" cannot be updated. The required file is in use.

    Installed iTunes 7 on my mac. Everything went fine. Updated my ipod everything went fine. Ever since then I've been getting a dialogue pop up window stating "The iPod "my ipod name" cannot be updated. The required file is in use."
    This pop up happens at completely random intervals, sometimes every minute sometimes every 10 min.
    Its extremely annoying as it bounces the icon in the dock until I give iTunes focus, click ok, and then I can navigate songs etc. I listen to my music thru my iPod while its connected to my computer, so this bug just about has me reverting back to v6.
    I've repaired permissions, and disabled anything I could think of that may be using it, ie synergy etc, with no success.

    I have a 4th Gen 30gb IPOD and updated Itunes 7 sucessfully but could not update/install IPOD 1.2 upgrade.
    Eventually after clicking the message boxes with the above info we seem to be getting, I selected the update button that appears on the front page of ITUNES and it installed/updated. I have been attempting for a couple of days and it just worked!!!!
    After it completed, I received the same dialog box and then disconnected the IPOD from my laptop.
    Seems to be OK now but there is def something going on.
    I thought it may be a shareware issue with mp3's being downloaded into Itunes library form another application.

  • When i plug my itouch into my computeri get a pop-up that says "this ipod cannot be used because the apple mobile device service is not started." and when i plug it it my itouch name does not come up on my itunes, how do i start it and fix this?

    When I plug my iPod Touch 4g into my computer I get a pop-up that says "This iPod cannot be used because the Apple Mobile Device service is not started." And when I plug in my iTouch the name of the iTouch does not come up on my iTunes. How do I start the Apple Mobile Device? How do I fix this?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • WebDav using https fails with network name cannot be found.

    When I attempt to connect to a Webdav server from a Windows 8.1 box it fails with
    System Error 67 has occurred.
    The network name cannot be found.
    I am using the net.exe USE command with the following syntax:
    net.exe use Z: https://dav.DomainYaya.com/  <PASSWORD> /user:USERNAME
    This exact syntax works for Windows 7.
    I have more than one Windows 8.1 box where this fails.
    There are various suggestions found all over the internet for various other situations. They do not apply or do not work.
    For example, you will find an issue involving sending Basic authentication over http where there are suggestions about changing HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters
    That does not work. There is also discussion about the Webclient service. (it is running). One can find discussion of the redirector. (The SYS file is present and is installed with Windows 8+ anyway.)
    Using HTTP only fails similarly but with error 53 (but I only did that as a test.) The issue is the HTTPS version.
    I have BTW tried this with two different webdav servers.
    Any help is appreciated.
    Joe

    Hi Joe,
    Based on our research, the error 67 have the following several possable causes:
    •IIS is not installed or is not running on the server that you are attempting to connect to.
    •You have not installed the WebDAV Redirector on your client system.
    •The WebClient service is not running on your client system.
    •You have not enabled WebDAV on your web site.
    •You are using Basic Authentication and connecting to your web site using HTTP instead of HTTPS.
    •You are connecting to a web site on your local network that is using Fully-Qualified Domain Names (FQDNs) for name resolution, your web site uses Windows Authentication, and you have not added the web site's FQDN to the proxy server bypass list on your client.
    For more information, please refer to the article as below:
    Using the WebDAV Redirector
    http://www.iis.net/learn/publish/using-webdav/using-the-webdav-redirector  
    According to the test, I am able to reproduce this issue in my lab. By default, the Webclient service is not running on windows 8.1 client. But for windows 7 client this service is running by default.
    So please try to start the WebClient service on windows 8.1 client to check if it helps.
    If you have any question, please don't hesitate to let us know.
    Karen Hu
    TechNet Community Support

  • SQL Server cannot authenticate using Kerberos because the Service Principal Name (SPN) is missing, misplaced, or duplicated

    We are getting this below alert message, while using SCOM 2012 R2.  Anybody have any idea how to resolve this on the SQL box ?
    Thx...
    SQL Server cannot authenticate using Kerberos because the Service Principal Name (SPN) is missing, misplaced, or duplicated.
    Service Account: NT Service\MSSQL$SQLEXPRESS
    Missing SPNs:
    Misplaced SPNs: MSSQLSvc/mysqlbox.com:SQLEXPRESS - sqldbadmin
    Duplicate SPNs:

    To Fix this issue, You can check below links
    http://support.microsoft.com/kb/2443457/EN-US
    http://www.scomgod.com/?p=155
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • Server name cannot be resolved using VPN connection

    I've just installed Windows Server 2012 and Exchange 2013. I previously was using Windows SBS 2008 with Exchange 2007 and I was able to connect to the server via VPN and create an Outlook account and connect to the Exchange server no problems.
    Now with the WS2012 and Exchange 2013 everything is working fine but when I connect to the VPN from outside the network and try to create a new Exchange account in Outlook, I get the error "The name cannot be resolved. The connection to Microsoft Exchange
    is unavailable. Outlook must be online or connected to complete this action."
    When I'm on the VPN I can ping both server name and IP address no problems so that isn't the issue. I've searched the net and tried multiple things including turning off firewall on both sides.
    To clarify my setup I have two WS2012 servers. One is DC and VPN server, other is Exchange 2013 server which has both CAS and Mailbox roles.
    I have a suspicion that the issue is to do with certificates. I don't have a valid bought SSL certificate, I am just using self-signed certificate. Can anyone verify that this is the issue or could it be something else?
    Thanks.

    Hi,
    Since you don't have a valid SSL certificate, you can try to manually configure Outlook to connect to your Exchange server by the following steps:
    Go to your Outlook mail settings from Start > Control Panel > Mail > Show Profiles > Add.
    If you cannot locate the Mail icon in Windows Control Panel, turn on Classic View (click
    Classic View on the left side of the Control Panel window). 
    Specify your Profile Name and click OK.
    On the Auto Account Setup page, select Manually configure server settings or additional server types and then click
    Next.
    On the Choose Service page, select Microsoft Exchange or compatible service and click
    Next.
    On the Server Settings page:
    - Specify your Server FQDN as Exchange server name (you can find it in HostPilot® Control Panel >
    Users & Services > Advanced Settings).
    - Type your Exchange Mailbox Username (email address). 
    - For the Offline use option, make sure that Use Cached Exchange Mode is selected.
    - Click the More Settings button and switch to Connection tab.
    - In Outlook 2013 you can specify the time period for which email items will be kept offline.
    Select the Connect to Microsoft Exchange using the HTTP option and click the
    Exchange Proxy Settings button.
    -Specify Exchange proxy settings.
    -Type the URL for your proxy server in the Use this URL to connect to my proxy server for Exchange field. 
    You can find the correct URL in HostPilot > Users & Services > Advanced Settings.
    -Make sure that both the options On fast networks and On slow networks are checked.
    -In the Proxy authentication settings box, choose Basic Authentication.
    If you want to have Outlook save your password, read the Knowledge Base article on
    How do I save my Outlook Password? for more information.
    Click OK, then Apply, then OK
    to return to the Add New Account window. Click Check Name.
    If you have set everything up properly, you will see a window requesting authentication.
    Enter the complete primary email address as the username, and enter the password for the mailbox.
    If you have entered the username and password correctly, the username will now be underlined, and the entry in the Microsoft Exchange Server field will also be underlined.
    Note: If your server is Exchange 2013 the server name will get underlined and will resolve into a name that looks like
    [email protected].
    Such a conversion is expected behaviour for Exchange 2013 mailboxes.
    Click Next, then Finish, then OK to save changes.
    Start Outlook and log in, using the same credentials as in step 9.
    ▲ Vote if Helpful / Mark if Answer
    MCSE: Messaging 2013 Charter / Private Cloud / Server Infrastructure
    MaximumExchange.ru

  • LR posted to Facebook is no longer working for me.  Says album name cannot be assigned.

    Before the last update to LR I could post to Facebook via LR with no issues.
    After the update I get the message something to the effect of Album name cannot be assigned.  I have tried with and without spaces in the name and same outcome. 
    Any suggestions?
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Lightroom version: 5.5 [968504]
    Operating system: Windows 8.1 Business Edition
    Version: 6.3 [9600]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 8
    Processor speed: 3.4 GHz
    Built-in memory: 32639.4 MB
    Real memory available to Lightroom: 32639.4 MB
    Real memory used by Lightroom: 440.2 MB (1.3%)
    Virtual memory used by Lightroom: 393.8 MB
    Memory cache size: 489.1 MB
    Maximum thread count used by Camera Raw: 4
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1080
    Application folder: C:\Program Files\Adobe\Adobe Photoshop Lightroom 5.5
    Library Path: E:\Users\Jim\Pictures\Lightroom\Lightroom 5 Catalog.lrcat
    Settings Folder: C:\Users\Jim\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Behance
    2) Canon Tether Plugin
    3) Export to Photomatix Pro
    4) Facebook
    5) Flickr
    6) Leica Tether Plugin
    7) Nikon Tether Plugin
    Config.lua flags: None
    Adapter #1: Vendor : 8086
      Device : 412
      Subsystem : 85341043
      Revision : 6
      Video Memory : 32
    Adapter #2: Vendor : 1414
      Device : 8c
      Subsystem : 0
      Revision : 0
      Video Memory : 0
    AudioDeviceIOBlockSize: 1024
    AudioDeviceName: Speakers (Realtek High Definition Audio)
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    CardID: 1042
    Direct2DEnabled: false
    GPUDevice: D3D
    MaxTexture2DSize: 8192
    OGLEnabled: true
    Renderer: Intel(R) HD Graphics 4600
    ShaderModel: 11.1
    Vendor: Intel
    VendorID: 32902
    Version: 8086:0412:85341043:0006

    Before the last update to LR I could post to Facebook via LR with no issues.
    After the update I get the message something to the effect of Album name cannot be assigned.  I have tried with and without spaces in the name and same outcome. 
    Any suggestions?
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Lightroom version: 5.5 [968504]
    Operating system: Windows 8.1 Business Edition
    Version: 6.3 [9600]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 8
    Processor speed: 3.4 GHz
    Built-in memory: 32639.4 MB
    Real memory available to Lightroom: 32639.4 MB
    Real memory used by Lightroom: 440.2 MB (1.3%)
    Virtual memory used by Lightroom: 393.8 MB
    Memory cache size: 489.1 MB
    Maximum thread count used by Camera Raw: 4
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1080
    Application folder: C:\Program Files\Adobe\Adobe Photoshop Lightroom 5.5
    Library Path: E:\Users\Jim\Pictures\Lightroom\Lightroom 5 Catalog.lrcat
    Settings Folder: C:\Users\Jim\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Behance
    2) Canon Tether Plugin
    3) Export to Photomatix Pro
    4) Facebook
    5) Flickr
    6) Leica Tether Plugin
    7) Nikon Tether Plugin
    Config.lua flags: None
    Adapter #1: Vendor : 8086
      Device : 412
      Subsystem : 85341043
      Revision : 6
      Video Memory : 32
    Adapter #2: Vendor : 1414
      Device : 8c
      Subsystem : 0
      Revision : 0
      Video Memory : 0
    AudioDeviceIOBlockSize: 1024
    AudioDeviceName: Speakers (Realtek High Definition Audio)
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    CardID: 1042
    Direct2DEnabled: false
    GPUDevice: D3D
    MaxTexture2DSize: 8192
    OGLEnabled: true
    Renderer: Intel(R) HD Graphics 4600
    ShaderModel: 11.1
    Vendor: Intel
    VendorID: 32902
    Version: 8086:0412:85341043:0006

  • Problems copying iTunes folder to an external hard drive - "The operation can't be completed because the item FILE NAME is in use"

    Hi,
    I have been trying to back up my iTunes folder from my MacBook hard drive over to a new LaCie external hard drive.  However, whenever I try to do it at some point during the copying I keep getting the warning "The operation can’t be completed because the item FILE NAME is in use".  Each time I have tried it, it is always a different file name that comes up and at different points of the copying.  Following the warning, the copying stops and cannot be restarted.
    I tried copying the iTunes folder to another Lacie external hard drive that I have, and it worked fine so I am guessing that it maybe something wrong with the hard drive.
    I've been trying various approaches all day and can't seem to get anywhere with it - all very frustrating, so any help would be much appreciated!
    Thanks.

    If you don't have other backup data on it, reformatting external drive could solve the problem.

  • The operation can't be completed because the item "folder name" is in use

    Hi everyone,
    I think this is quite a common issue but I don't find it really easy to find a solution.
    I have a folder containing a folder and no files on a server that I cannot delete, for the life of me.
    Whether I use shortcuts or drag the main folder to the bin, I have the same result "The operation can't be completed because the item "secondary folder name" is in use". This folder is just 1 year old so, obviously, I have restarted the computer more than once since then which means that the folder is NOT in use.
    I'd like to clean up a bit and remove some stuff and this is bugging!
    Hope someone can help me.
    Thanks in advance!

    If you don't have other backup data on it, reformatting external drive could solve the problem.

  • The name cannot be matched to a name in the Address List

    Hi,
    I checked several posts but no luck.
    Problem: We currently have Exchange 2010 and 2003 co-existence, busy migrating to 2010. We have several domains as well. A problem came up in one of our remote access domain where we have Citrix running. After the user has been moved to the new 2010 server
    and you re-create their mail profile in Outlook 2010 then it will give the following error:
    The name cannot be resolved. The name cannot be matched to a name in the address list.
    A popup box appears with the server name exch2010cas.domain.local and the mailbox field =SMTP:[email protected] When you click on Check Name the error keeps popping up. When I change the server to exch2003.domain.local though and click Check Name the
    mailbox gets underlined and the servername changes back to exch2010cas.domain.local in the exchange server textbox.
    I'm pretty sure it must be an AD or DNS problem somewhere but I'm not sure where? I did add some domain suffixes to the new Exchange server so it can resolve hostnames in the local and remote domain. I also looked at the GAL and the entries for the user
    is in there. I'm not sure if it might have something to do with LegacyExchangeDN value either?
    I appreciate any help, thanks.

    Hi,
    I recommend the following troubleshooting:
    1.Verify that the Active Directory account that you use either to create the client profile or to log on to the mailbox has been mailbox-enabled.
    2.Verify that the user can use the Active Directory account to view sibling objects in the Users container (or in the Active Directory organizational unit that contains the user account).
    3.Verify that the user account has been stamped by the Recipient Update Service after you mailbox-enable the user account.
    4.Verify that the user can see both the Global Address List objects that are listed in the
    showInAddressBook attribute and the members of the Global Address List using Ldp.exe
    5.Log on as an administrator, and then verify that there are no duplicates in the
    addressBookRoots attribute of the Microsoft Exchange object under <var>Domain</var>,cn=Configuration,cn=Services
    For more detail steps, you can refer to the following article:
    http://support.microsoft.com/kb/297801/en-us
    Thanks,
    Angela Shi
    TechNet Community Support

  • Cannot start Outlook 2013: "name cannot be resolved" / "connection to Microsoft Exchange is unavailable" / "___.ost is not an Outlook data file (.ost)"

    My work e-mail has a double-login system, where my credentials for work access are one username and my e-mail is an alias of that first username, so they differ from one another. I suspect that's why I've been having the hardest time with Outlook 2013. I
    was able to add my account just fine once but changed my mind about using Outlook and removed the account. Now I can't get back into Outlook for the life of me. The error messages that show up are:
    1. It asks me to verify server and Mailbox. I've tried it with both usernames (the official work username and the e-mail alias) as my Mailbox info, followed by the email domain (even tried it without the domain) and it still won't verify when I click "Check
    Name".
    2. This message comes up: The name cannot be resolved. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.
    3. Then once I click "OK" another pop-up says: Cannot start Microsoft Outlook. The file C:\Users\FirstLastname\AppData\Local\Microsoft\Outlook\FirstLastname.ost is not an Outlook data file (.ost).
    Help?

    Hi,
    As per this KB article, the issue might occurs when some required registry key does not exist on your computer. 
    Please try the steps mentioned in it and see if it is helpful to you:
    http://support.microsoft.com/kb/2264398/en-us
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for