[ expat-Bugs-428969 ] Cannot complile using cc

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Jun 2001 22:02:55 -0700


Bugs item #428969, was updated on 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: Open
Resolution: None
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.


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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=428969&group_id=10127