[ expat-Bugs-489757 ] expat 1.95.2 / Sun WorkShop 5.0
noreply@sourceforge.net
noreply@sourceforge.net
Thu Dec 6 00:23:06 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: Open
Resolution: None
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...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=489757&group_id=10127