[ expat-Bugs-538445 ] cc: -a conflicts with -dy

noreply@sourceforge.net noreply@sourceforge.net
Fri May 17 18:06:04 2002


Bugs item #538445, was opened at 2002-04-02 13:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=538445&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: cc: -a conflicts with -dy

Initial Comment:
I am trying to build expat on a sun solaris system and 
I get the following error during the build.

 cc: -a conflicts with -dy

I used the --prefix option during the ./configure 
execution.  Everything else was done just as the 
documentation suggested.

Any help would be much appreciated.

Thank you.

----------------------------------------------------------------------

>Comment By: Greg Stein (gstein)
Date: 2002-05-17 18:05

Message:
Logged In: YES 
user_id=6501

duplicate of 553288


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-04-25 18:30

Message:
Logged In: NO 

Isn't cc -flags shows:
-d[y|n]         dynamic [-dy] or static [-dn] option to linker

I simply changed -static to -dn and it worked fine

man ld shows-a    In static mode only,  produces  an 
executable  object
           file;  gives  errors for undefined references.
This is
           the default behavior for static mode. -a  may 
not  be
           used with the -r option.
 -d y | n
           When -d y, the default, is specified, ld uses 
dynamic
           linking;  when -d n is specified, ld uses static
link-
           ing. See also -B dynamic|static.




----------------------------------------------------------------------

Comment By: Mathew Bevilacqua (matbev1)
Date: 2002-04-02 14:40

Message:
Logged In: YES 
user_id=501365

I, too, followed the instructions exactly, and some more 
tweaking was needed.  For my build to work, I had to:

1.  make sure that LIBTOOL in the makefile in /lib was set 
correctly 
2.  build as a super user

Also, you could try removing -dy.  It's just a debug 
utility.