Makefile problem

Haesler, Paul paul@softco.com.au
Tue, 21 Aug 2001 14:48:18 +1000


Expat 1.95.2; Generic Unix tarball.

On following the instructions in the README file, I got the
following output from make:

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


"-static" is not a valid compiler/linker flag.  For some reason it is 
specified explicitly in Makefile.in - it is not dependent on the results 
of the configure operation.  I commented out the LDFLAGS line in 
xmlwf/Makefile and it compiled fine.

System description:

uname -a:
SunOS suntzu 5.6 Generic_105181-21 sun4m sparc SUNW,SPARCstation-20

GNU make and /opt/SUNWspro/bin/cc

Regards,

Paul Haesler (paul@softco.com.au)
Softco Solutions
Ph: (03) 9882 3166
Fax: (03) 9882 3266