Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Sun cc: -a conflicts with -dy.

Reply
Thread Tools

Sun cc: -a conflicts with -dy.

 
 
Andy
Guest
Posts: n/a
 
      11-05-2011
Hello,
I've got the following error when compiling a little program with Sun
Forte on Solaris 9
cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
c cl.c
cc: Warning: illegal option -nsi
cc: -a conflicts with -dy.
*** Error code 1
make: Fatal error: Command failed for target `cl.o'
 
Reply With Quote
 
 
 
 
Martin Ambuhl
Guest
Posts: n/a
 
      11-05-2011
On 11/4/2011 11:48 PM, Andy wrote:
> Hello,
> I've got the following error when compiling a little program with Sun
> Forte on Solaris 9
> cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
> D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
> c cl.c
> cc: Warning: illegal option -nsi
> cc: -a conflicts with -dy.
> *** Error code 1
> make: Fatal error: Command failed for target `cl.o'


Have you considered consulting your documentation or asking Sun for help?
 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      11-05-2011
On 11/ 5/11 04:48 PM, Andy wrote:
> Hello,
> I've got the following error when compiling a little program with Sun
> Forte on Solaris 9
> cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
> D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
> c cl.c
> cc: Warning: illegal option -nsi
> cc: -a conflicts with -dy.
> *** Error code 1
> make: Fatal error: Command failed for target `cl.o'


Try asking on the Studio forums at
https://forums.oracle.com/forums/cat...categoryID=280

--
Ian Collins
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      11-05-2011
Andy <(E-Mail Removed)> writes:
> I've got the following error when compiling a little program with Sun
> Forte on Solaris 9
> cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
> D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
> c cl.c
> cc: Warning: illegal option -nsi
> cc: -a conflicts with -dy.
> *** Error code 1
> make: Fatal error: Command failed for target `cl.o'


Apparently the "cc" command doesn't recognize a "-ansi" option.

Why did you assume that it did?

--
Keith Thompson (The_Other_Keith) http://www.velocityreviews.com/forums/(E-Mail Removed) <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sun Updates Sun Java Availability Suite, Adds Sun Cluster Advanced Edition for Oracle Real Application Clusters Deployments technology_post@yahoo.com Java 0 04-05-2006 04:29 AM
[SUN] Take Sun Security Course and Get a Digital Camera Joan MacEachern Java 0 10-22-2003 05:36 PM
[SUN] Take Sun Security Course and Get a Digital Camera Joan MacEachern Java 0 10-01-2003 03:14 PM
Sun ONE, The xerces problem (Sun One Oh my) Roy Benjamin Java 3 07-23-2003 08:32 PM
[SUN] Discounts from Sun Developer Network bookstore James Cham Java 0 07-21-2003 03:24 PM



Advertisments