Menu

#58 Cannot complile using cc

Platform Specific
closed-out-of-date
5
2001-07-24
2001-05-31
Anonymous
No

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.

Discussion

  • Greg Stein

    Greg Stein - 2001-06-07
    • labels: --> Build control
    • milestone: --> Platform Specific
    • assigned_to: nobody --> gstein
     
  • Fred L. Drake, Jr.

    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.

     
  • Fred L. Drake, Jr.

    • summary: Cannot complile using cc --> Cannot complile using cc
    • status: open --> closed-out-of-date
     

Log in to post a comment.