Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    2

    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!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    If you also have gcc installed, there is likely a conflict with the standard C headers. You will need to alter your make files to look elsewhere for the C headers than in /usr/include.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...