If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > compilation error in solaris 8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-03, 01:58
anupd anupd is offline
Registered User
 
Join Date: May 2003
Posts: 2
Post compilation error in solaris 8

Hi

Hi
Trying to compile under Solaris 8 using Sun Workshop 5.0 i am getting error.

C++ /DFFmon/TEERE/SUN/BTK/obt3410-64/common/lib/aaprotocol.o
"/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/REE/erere/rogue7.0.4-i18n/rw/defs.h", line 542: Error: A typedef name cannot be used in an elaborated type specifier..

Any help greatly appreciated.

Anup
Reply With Quote
  #2 (permalink)  
Old 03-30-04, 04:54
oritg oritg is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
Hi
I have the same problem:
/opt/SUNWspro/WS6U2/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..

Kindly, please let me know how you solve the problem.

Thanks in advance!!!
Reply With Quote
  #3 (permalink)  
Old 04-22-04, 02:21
debkumar debkumar is offline
Registered User
 
Join Date: May 2002
Posts: 28
typedef name error

For the typedef name error,
include the compiler option : -library=rwtools7 -library=iostream
& give a try.

Regards
Debkumar
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On