Fedora Linux Support Community & Resources Center
  #1  
Old 27th October 2009, 07:44 AM
ReaperLove Offline
Registered User
 
Join Date: Oct 2009
Posts: 59
linuxfedorafirefox
SunStudio CC Compiler Error

Ok, I managed to figure out how to issue out the CC compiler command by issuing a symalink to the usr/bin I have now have this problem when I try to compile any C++ code I recieve this error

"/usr/include/stdio.h", line 485: Error: "(" expected instead of "__attribute__".

I went on the sun forums and they dont or give a solution due to Fedora not being test when developing this tool, so I was wonder if I could run into someone who has a solution to this problem

This is my last road block so I can fully finish my programming assignment Thanks!
Reply With Quote
  #2  
Old 27th October 2009, 09:36 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
linuxfirefox
__attribute__ is a GCC-specific extension to C and C++ language syntax. If you must use some other compiler than GCC, then you need to install header files and libraries suitable for use with that compiler. Didn't the SunStudio compiler include the necessary standard headers?
Reply With Quote
  #3  
Old 27th October 2009, 03:34 PM
ReaperLove Offline
Registered User
 
Join Date: Oct 2009
Posts: 59
linuxfedorafirefox
not that i know of
Reply With Quote
Reply

Tags
compiler, error, sunstudio

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
internal compiler error: Bus error maxcell Using Fedora 0 26th March 2007 07:49 AM
configure error on gcc fortran compiler mounterriver Programming & Packaging 1 3rd January 2006 12:47 PM
error: C compiler cannot create executables Omega430 Using Fedora 8 15th December 2004 05:26 PM
Fluxspace 0.4.0 alpha compiler error Shadow Skill Using Fedora 0 18th September 2004 07:13 AM


Current GMT-time: 14:01 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat