[ expat-Bugs-489757 ] expat 1.95.2 / Sun WorkShop 5.0
noreply@sourceforge.net
noreply@sourceforge.net
Fri Dec 7 02:47:05 2001
Bugs item #489757, was opened at 2001-12-06 00:22
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=489757&group_id=10127
Category: Build control
Group: Platform Specific
>Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Dimitri Papadopoulos (papadopo)
Assigned to: Greg Stein (gstein)
Summary: expat 1.95.2 / Sun WorkShop 5.0
Initial Comment:
Hi,
I'm building expat 1.95.2 on Solaris 7 with Sun
WorkShop 5.0.
I configure using:
setenv CC cc
./configure --prefix=/usr/local/expat-1.95.2
While installing I get this error:
gmake[1]: Entering directory `/tmp/expat-1.95.2/xmlwf'
cc -o xmlwf -static xmlwf.o xmlfile.o codepage.o
unixfilemap.o -L../lib/.libs -lexpat
cc: -a conflicts with -dy.
gmake[1]: *** [xmlwf] Error 1
gmake[1]: Leaving directory `/tmp/expat-1.95.2/xmlwf'
gmake: *** [install] Error 2
This is because the Sun compiler needs a "-Bstatic"
option to link statically, not "-static". The problem
is that this is hard-coded in xmlwf/Makefile.in:
LDFLAGS= @LDFLAGS@ -static
I'm sure libtool or autoconf can handle this - although
I don't know how...
----------------------------------------------------------------------
>Comment By: Greg Stein (gstein)
Date: 2001-12-07 02:46
Message:
Logged In: YES
user_id=6501
Closing. Duplicate of #469226.
----------------------------------------------------------------------
Comment By: Dimitri Papadopoulos (papadopo)
Date: 2001-12-06 00:25
Message:
Logged In: YES
user_id=52414
It just occurred to me this is a duplicate of #469226.
Sorry.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=489757&group_id=10127