[Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect

noreply@sourceforge.net noreply@sourceforge.net
Thu, 2 Nov 2000 06:58:16 -0800


Bug #119617, was updated on 2000-Oct-28 03:49
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: expat 1.95.1 configure'd Makefile incorrect

Details: Platform: Ultra 5 SPARC/Solaris 8
Compiler: Sun C compiler v5.0

% /home/lwv26/i/src/Unix/expat/expat-1.95.1/configure  --prefix=/projects/intranet
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ranlib... ranlib
checking for gcc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... no
checking if cc static flag -Bstatic works... -Bstatic
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking for 8-bit clean memcmp... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memmove... yes
checking for bcopy... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating xmlwf/Makefile
creating examples/Makefile
creating config.h

$ make
cd lib; make
make[1]: Entering directory `/projects/intranet/src/Unix/expat/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I/home/lwv26/i/src/Unix/expat/expat-1.95.1/lib -I..  -g -c xmlparse.c
rm -f .libs/xmlparse.lo
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.1\" -I/home/lwv26/i/src/Unix/expat/expat-1.95.1/lib -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
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory `/projects/intranet/src/Unix/expat/expat-1.95.1/lib'
make: *** [lib] Error 2


I don't know what the -Wp,-MD was expected to do, and so I am uncertain
how to go about fixing this.  Help would be appreciated.

Follow-Ups:

Date: 2000-Oct-31 15:14
By: davewarner

Comment:
Same problem on HP-UX 10.20:
except the error returned is cpp: error 3: Too many arguments to cpp (?!).

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

Date: 2000-Nov-01 08:59
By: jasonr

Comment:
Same problem on Ultra 5 sunOS 5.6 using  the gcc compiler version  gcc version 2.5.8
-------------------------------------------------------

Date: 2000-Nov-02 06:58
By: none

Comment:
Same problem on SS20, Solaris 2.5.1, SUNWspro CC compiler.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127