[ expat-Bugs-428969 ] Cannot complile using cc
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 24 Jul 2001 15:15:51 -0700
Bugs item #428969, was opened at 2001-05-31 04:44
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=428969&group_id=10127
Category: Build control
Group: Platform Specific
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
>Summary: Cannot complile using cc
Initial Comment:
Please can someone fix the Makefile as it does not work
with the cc compiler.
I believe that this problem is not (UNIX) platform
specific as I have seen the bug reported in lots of
different guises.
I have the same problem as everyone else who has
reported this fault.
I have the same fault
cd lib; make
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-DPACKAGE=expat -DVERSION=1.95.0 -I. -I.. -g -c
xmlparse.c
rm -f .libs/xmlparse.lo
cc -DHAVE_CONFIG_H -DPACKAGE=\expat\
-DVERSION=\1.95.0\ -I. -I.. -g
-Wp,-MD,.deps/xmlparse.pp -c xmlparse.c -KPIC -DPIC -o
xmlparse.o
command line: fatal: invalid arg for option M D: No
such file or directory
cc: acomp failed for xmlparse.c
*** Error code 1
make: Fatal error: Command failed for target
`xmlparse.lo'
Current working directory
/tmp/soaplite/expat-1.95.0/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'
I think this is due to the usage of the -MD option on
the cc compile line and the fact that lib/.deps is
empty.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-24 15:15
Message:
Logged In: YES
user_id=3066
The use of GCC-specific arguments has been fixed. This should no longer be a problem with the CVS version of Expat.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=428969&group_id=10127