From noreply@sourceforge.net Wed Nov 1 16:47:58 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 1 Nov 2000 08:47:58 -0800 Subject: [Expat-bugs] [Bug #114050] Segmentation fault in libxmltok Message-ID: <200011011647.IAA19919@sf-web3.vaspecialprojects.com> Bug #114050, was updated on 2000-Sep-11 07:41 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Segmentation fault in libxmltok Details: If I parse the following file (with an error near !DOCTYPE): !DOCTYPE OReilly:Books SYSTEM "dummy.dtd" [ ]> XML Pocket Ref 8.95 I got the following with my gdb: !DOCTYPE OReilly:Books SYSTEM "dummy.dtd" [ error:no element found Program received signal SIGSEGV, Segmentation fault. 0x400269c5 in normal_updatePosition () from /usr/lib/libxmltok.so.1 (gdb) where #0 0x400269c5 in normal_updatePosition () from /usr/lib/libxmltok.so.1 #1 0x4001b0d9 in XML_GetCurrentColumnNumber () from /usr/lib/libxmlparse.so.1 #2 0x8049154 in test_parse () #3 0x80491f5 in main () #4 0x4004da5e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93 (gdb) For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=114050&group_id=10127 From noreply@sourceforge.net Wed Nov 1 16:59:35 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 1 Nov 2000 08:59:35 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011011659.IAA17832@sf-web1.i.sourceforge.net> 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 ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Wed Nov 1 17:19:22 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 1 Nov 2000 09:19:22 -0800 Subject: [Expat-bugs] [Bug #117692] running error on freebsd Message-ID: <200011011719.JAA18117@sf-web1.i.sourceforge.net> Bug #117692, was updated on 2000-Oct-25 08:25 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: running error on freebsd Details: Script started on Wed Oct 25 11:07:11 2000 > ./outline Segmentation fault(core dumped) > gdb outline GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (gdb) b 42 Breakpoint 1 at 0x80486f4: file outline.c, line 42. (gdb) r Starting program: /usr/home/twan/XMLparser/expat-1.95.1/examples/outline Program received signal SIGSEGV, Segmentation fault. 0x280f109e in memcpy () from /usr/lib/libc.so.4 (gdb) b 85 Breakpoint 2 at 0x80487fc: file outline.c, line 85. (gdb) R The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/home/twan/XMLparser/expat-1.95.1/examples/outline Breakpoint 2, main (argc=1, argv=0xbfbffb6c) at outline.c:85 85 XML_SetElementHandler(p, start, end); (gdb) n 86 XML_SetCharacterDataHandler(p,charhndl); (gdb) n 87 for (;;) { (gdb) n 107 } (gdb) n 92 if (ferror(fp)) { (gdb) n 96 done = feof(fp); (gdb) n 98 if (! XML_Parse(p, Buff, len, done)) { (gdb) s 0x8048540 in XML_Parse () at xmlparse.c:1083 1083 { (gdb) n 0x8048546 1083 { (gdb) n 0x804854b 1083 { (gdb) 0x8048510 in _init () (gdb) Single stepping until exit from function _init, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x280f109e in memcpy () from /usr/lib/libc.so.4 (gdb) q The program is running. Exit anyway? (y or n) y > more outline/.c /***************************************************************** * outline.c * * Copyright 1999, Clark Cooper * All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the license contained in the * COPYING file that comes with the expat distribution. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * Read an XML document from standard input and print an element * outline on standard output. */ #include #include #define BUFFSIZE 8192 char Buff[BUFFSIZE]; char str[1000]; int Depth; void charhndl(void *userData, const XML_Char* s, int len) { int i; char* str; if(len>1) { //str=malloc(len+1); strncpy(str,s,len); // for(i=0;i more smil.xml exit Script done on Wed Oct 25 11:10:48 2000 For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=117692&group_id=10127 From noreply@sourceforge.net Thu Nov 2 14:58:16 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 06:58:16 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011021458.GAA24478@sf-web2.i.sourceforge.net> 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 From noreply@sourceforge.net Thu Nov 2 15:20:53 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 07:20:53 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011021520.HAA02673@sf-web1.i.sourceforge.net> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Thu Nov 2 17:09:37 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 09:09:37 -0800 Subject: [Expat-bugs] [Bug #121127] Unable to build 1.95.1 "Win32 Release" under DevStudio Message-ID: <200011021709.JAA04174@sf-web1.i.sourceforge.net> Bug #121127, was updated on 2000-Nov-02 09:09 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Unable to build 1.95.1 "Win32 Release" under DevStudio Details: Downloaded/extracted expat-1.95.1.tar.gz. I opened the DevStudio workspace and set the active configuration to "expat - Win32 Release". I encountered many compiler errors (too many to list here.) To fix, I made the following mods to the Win32 Release project settings (to bring them in sync with the Debug settings): - "C/C++:Precompiled Headers" Set to "Not using precompiled headers" - Under settings for xmlparse.c, escaped quotes in the VERSION #define (VERSION=\"expat_1.95.1\"). - Excluded xmltok_impl.c and xmltok_ns.c from the build (under "General:Exclude File From Build"). For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=121127&group_id=10127 From noreply@sourceforge.net Thu Nov 2 19:44:14 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 11:44:14 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011021944.LAA31536@sf-web2.i.sourceforge.net> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- Date: 2000-Nov-02 11:44 By: none Comment: Got the same problem from: /home/rmunden/expat-1.95.1 ->uname -a AIX gearmail 3 4 000247004C00 with the AIX C compiler. It doesn't like the -MD preprocessor switch(it uses -M to make dependencies like *.u instead of gcc's *.d) ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Thu Nov 2 20:46:36 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 12:46:36 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011022046.MAA07417@sf-web1.i.sourceforge.net> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- Date: 2000-Nov-02 11:44 By: none Comment: Got the same problem from: /home/rmunden/expat-1.95.1 ->uname -a AIX gearmail 3 4 000247004C00 with the AIX C compiler. It doesn't like the -MD preprocessor switch(it uses -M to make dependencies like *.u instead of gcc's *.d) ------------------------------------------------------- Date: 2000-Nov-02 12:46 By: none Comment: Albert Chin's patch fixed the problem on AIX Thanks Albert randy@munden.org ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Fri Nov 3 20:15:35 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Fri, 3 Nov 2000 12:15:35 -0800 Subject: [Expat-bugs] [Bug #121310] File missing during install of Expat Message-ID: <200011032015.MAA25636@sf-web1.i.sourceforge.net> Bug #121310, was updated on 2000-Nov-03 12:15 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: File missing during install of Expat Details: Platform is Alpha Tru64 V5.1 CC="cc" MAKE="gmake" ./configure creating cache ./config.cache checking host system type... alphaev56-dec-osf5.1 checking build system type... alphaev56-dec-osf5.1 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/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/local/bin/nm -B 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... none checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc static flag -non_shared works... -non_shared checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/local/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... osf5.1 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... /usr/local/bin/install -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... no 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 gmake cd lib; gmake gmake[1]: Entering directory `/usr/users/dg/work/expat-1.95.1/lib' /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. -g -c xmlparse.c mkdir .libs cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.1\" -I. -I.. -g -Wp,-MD,.deps/xmlparse.pp -c xmlparse.c -DPIC -o .lib s/xmlparse.lo cc: Severe: No such file or directory ... file is '.deps/xmlparse.pp' gmake[1]: *** [xmlparse.lo] Error 1 gmake[1]: Leaving directory `/usr/users/dg/work/expat-1.95.1/lib' gmake: *** [lib] Error 2 For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=121310&group_id=10127 From noreply@sourceforge.net Wed Nov 8 06:46:20 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue, 7 Nov 2000 22:46:20 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011080646.WAA07403@sf-web2.i.sourceforge.net> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- Date: 2000-Nov-02 11:44 By: none Comment: Got the same problem from: /home/rmunden/expat-1.95.1 ->uname -a AIX gearmail 3 4 000247004C00 with the AIX C compiler. It doesn't like the -MD preprocessor switch(it uses -M to make dependencies like *.u instead of gcc's *.d) ------------------------------------------------------- Date: 2000-Nov-02 12:46 By: none Comment: Albert Chin's patch fixed the problem on AIX Thanks Albert randy@munden.org ------------------------------------------------------- Date: 2000-Nov-07 22:46 By: czhao Comment: Fixed my problem. Thanks Albert Chin! CZ@building2.co.jp ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Wed Nov 8 17:07:54 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 8 Nov 2000 09:07:54 -0800 Subject: [Expat-bugs] [Bug #121975] Compilation fails for Expat expat-1.95.1 Message-ID: <200011081707.JAA19599@sf-web3.vaspecialprojects.com> Bug #121975, was updated on 2000-Nov-08 09:07 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Compilation fails for Expat expat-1.95.1 Details: (cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 libexpat.so.0) (cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so) ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ../libtool: ar: not found *** Error code 1 make: Fatal error: Command failed for target `libexpat.la' Current working directory /export/home/rajanr/perl/xml/expat-1.95.1/lib *** Error code 1 make: Fatal error: Command failed for target `lib' I then checked up the Makefile in the lib directory, it has LIBRARY=libexpat.la there. I could not understand the ar cru .libs/libexpat.a line. Can some body help please rajanvaradha@hotmail.com For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=121975&group_id=10127 From noreply@sourceforge.net Wed Nov 8 16:59:20 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 8 Nov 2000 08:59:20 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011081659.IAA19416@sf-web3.vaspecialprojects.com> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- Date: 2000-Nov-02 11:44 By: none Comment: Got the same problem from: /home/rmunden/expat-1.95.1 ->uname -a AIX gearmail 3 4 000247004C00 with the AIX C compiler. It doesn't like the -MD preprocessor switch(it uses -M to make dependencies like *.u instead of gcc's *.d) ------------------------------------------------------- Date: 2000-Nov-02 12:46 By: none Comment: Albert Chin's patch fixed the problem on AIX Thanks Albert randy@munden.org ------------------------------------------------------- Date: 2000-Nov-07 22:46 By: czhao Comment: Fixed my problem. Thanks Albert Chin! CZ@building2.co.jp ------------------------------------------------------- Date: 2000-Nov-08 08:59 By: dmaier Comment: The patch also fixes the problem on Digital UNIX. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From noreply@sourceforge.net Thu Nov 9 16:03:54 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 9 Nov 2000 08:03:54 -0800 Subject: [Expat-bugs] [Bug #122060] configure: error: no acceptable ld found in $PATH Message-ID: <200011091603.IAA03835@sf-web1.i.sourceforge.net> Bug #122060, was updated on 2000-Nov-09 08:03 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: configure: error: no acceptable ld found in $PATH Details: Trying to install expat on SunOS 5.8 For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=122060&group_id=10127 From noreply@sourceforge.net Thu Nov 9 16:11:23 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 9 Nov 2000 08:11:23 -0800 Subject: [Expat-bugs] [Bug #122061] configure: error: no acceptable ld found in $PATH Message-ID: <200011091611.IAA03949@sf-web1.i.sourceforge.net> Bug #122061, was updated on 2000-Nov-09 08:11 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: configure: error: no acceptable ld found in $PATH Details: Trying to install expat on SunOS 5.8 using ./configure --prefix=/home/tmp For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=122061&group_id=10127 From singhd@lucent.com Thu Nov 9 17:28:04 2000 From: singhd@lucent.com (Daywan Singh) Date: Thu, 09 Nov 2000 17:28:04 +0000 Subject: [Expat-bugs] [Fwd: expat] Message-ID: <3A0ADEA4.192044D3@lucent.com> I wonder if you could throw some light on this: -------- Original Message -------- Subject: expat Date: Thu, 09 Nov 2000 17:12:35 +0000 From: Daywan Singh Organization: Lucent Technologies To: enno@att.com Hi, I am trying to install libxml-enno-1.02, but first, I must install expat which comes up with an error: loading cache ./config.cache checking host system type... sparc-sun-solaris2.8 checking build system type... sparc-sun-solaris2.8 checking for ranlib... : checking for gcc... no checking for cc... 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... no configure: error: no acceptable ld found in $PATH I winder how you manage to use it. I am using SunOS 5.8. I have manage to load all the other modules except for: expat-1.95.1 XML-Parse-2.30 XML-DOM-1.25 libxml-enno-1.02 My objective is to use Perl and XML::DOM Regards, Daywan Singh singhd@lucent.com From singhd@lucent.com Fri Nov 10 11:38:04 2000 From: singhd@lucent.com (Daywan Singh) Date: Fri, 10 Nov 2000 11:38:04 +0000 Subject: [Expat-bugs] expat Message-ID: <3A0BDE1C.F19C93D2@lucent.com> Hi, I manage to bypass the ld problem, but now I am getting this: cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.1\" -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' Any suggestions? Daywan singh singhd@lucent.com but can email me at dsingh@avondb.com over the weekend. From noreply@sourceforge.net Fri Nov 10 14:36:06 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Fri, 10 Nov 2000 06:36:06 -0800 Subject: [Expat-bugs] [Bug #121975] Compilation fails for Expat expat-1.95.1 Message-ID: <200011101436.GAA18311@sf-web2.i.sourceforge.net> Bug #121975, was updated on 2000-Nov-08 09:07 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Compilation fails for Expat expat-1.95.1 Details: (cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 libexpat.so.0) (cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so) ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ../libtool: ar: not found *** Error code 1 make: Fatal error: Command failed for target `libexpat.la' Current working directory /export/home/rajanr/perl/xml/expat-1.95.1/lib *** Error code 1 make: Fatal error: Command failed for target `lib' I then checked up the Makefile in the lib directory, it has LIBRARY=libexpat.la there. I could not understand the ar cru .libs/libexpat.a line. Can some body help please rajanvaradha@hotmail.com Follow-Ups: Date: 2000-Nov-10 06:36 By: rajanvaradha Comment: Gents, Problem solved I did not have access to the ar command, and added /usr/ccs/bin to my path and that cleared the problem. Please close this record. Regards Rajan ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=121975&group_id=10127 From noreply@sourceforge.net Mon Nov 13 14:57:42 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Mon, 13 Nov 2000 06:57:42 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011131457.GAA07918@sf-web2.i.sourceforge.net> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- Date: 2000-Nov-02 07:20 By: none Comment: The problem is the automatic dependency tracking in lib/Makefile.in. It should be removed. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/expat-1.95.1.patch fixes it. -- albert chin (china@thewrittenword.com) ------------------------------------------------------- Date: 2000-Nov-02 11:44 By: none Comment: Got the same problem from: /home/rmunden/expat-1.95.1 ->uname -a AIX gearmail 3 4 000247004C00 with the AIX C compiler. It doesn't like the -MD preprocessor switch(it uses -M to make dependencies like *.u instead of gcc's *.d) ------------------------------------------------------- Date: 2000-Nov-02 12:46 By: none Comment: Albert Chin's patch fixed the problem on AIX Thanks Albert randy@munden.org ------------------------------------------------------- Date: 2000-Nov-07 22:46 By: czhao Comment: Fixed my problem. Thanks Albert Chin! CZ@building2.co.jp ------------------------------------------------------- Date: 2000-Nov-08 08:59 By: dmaier Comment: The patch also fixes the problem on Digital UNIX. ------------------------------------------------------- Date: 2000-Nov-13 06:57 By: none Comment: What switches etc. do you need to make this patch correctly under Digital Unix (4g)? ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127 From droundy@civet.berkeley.edu Tue Nov 14 16:30:53 2000 From: droundy@civet.berkeley.edu (David Roundy) Date: Tue, 14 Nov 2000 08:30:53 -0800 Subject: [Expat-bugs] error in installation Message-ID: <3A1168BD.CA87FB85@civet.berkeley.edu> Hello. I have just installed expat 2.95.1 on my linuxppc computer, and get an error when I try to compile the example (outline.c) with a simple make. I am using gcc 2.95.2 and binutils 2.9.1.0. I did a standard ./configure; make; make install, and when I run make in the examples directory, I get the following error: % make cc -o outline outline.o -lexpat /usr/lib/libexpat.so: undefined reference to `XmlGetUtf8InternalEncoding' /usr/lib/libexpat.so: undefined reference to `XmlUtf8Encode' /usr/lib/libexpat.so: undefined reference to `XmlSizeOfUnknownEncoding' /usr/lib/libexpat.so: undefined reference to `XmlInitEncoding' /usr/lib/libexpat.so: undefined reference to `XmlInitUnknownEncoding' /usr/lib/libexpat.so: undefined reference to `XmlPrologStateInit' /usr/lib/libexpat.so: undefined reference to `XmlParseXmlDecl' collect2: ld returned 1 exit status make: *** [outline] Error 1 I looked, and these functions seem to be defined in xmltok.c, but I am having trouble making sense of the Makefiles. It seems that it must be some sort of linking problem, but I have no idea where to start at troubleshooting this. Thanks in advance for your help! -- David Roundy http://civet.berkeley.edu/droundy/ From noreply@sourceforge.net Fri Nov 24 13:09:34 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Fri, 24 Nov 2000 05:09:34 -0800 Subject: [Expat-bugs] [Bug #117494] Unable to build on Cygwin Message-ID: <200011241309.FAA22849@sf-web3.vaspecialprojects.com> Bug #117494, was updated on 2000-Oct-23 06:19 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Unable to build on Cygwin Details: When running make: "xmltok.h:186 Parse error before '->'"; then a bunch of "stray '\'"'s; this seuqence repeated with other .h files. Then a lot of "Parse error before ')'"'s in xmlparse.c. I tried removing the line continuation characters (\). This helps a lot. But somewhere at the end an message about incompatible types for "_cygwin_dll_entry" pops up, and the package does not install. Follow-Ups: Date: 2000-Nov-24 05:09 By: wscherphof Comment: Please don't bother. Got it all working now. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=117494&group_id=10127 From Philippe.WILLEM@urssaf.fr Tue Nov 28 09:58:24 2000 From: Philippe.WILLEM@urssaf.fr (Philippe WILLEM) Date: Tue, 28 Nov 2000 10:58:24 +0100 Subject: [Expat-bugs] Fail to build expat 1.95.1 on SCO Message-ID: <412569A5.006A1EBF.00@contact31.cirso.fr> Hi all, I have some troubles building expat 1.95.1 on SCO (i386-pc-sco3.2v5.0.4). 1. When I type make on the root source tree, nothing happens (after a right configure). When I type make -n (the no-execute version of the make command on SCO systems), nothing happens neither. 2. So I go to the ./lib directory and I type make. The system (actually the system's compiler) complain about the -MD switch. So I remove it and retry to launch the make process. It failled again, complaining about the lack of the .deps/xmlparse.pp file. I checked the permissions of the ./.deps directory and they are ok. Where is this file created ? Poor me, I can't install the GCC (my sysadmin is very touchy about this) so is there anything I can do to get get the expat lib build ?? Thanks for CC'ing me your responses cause I don't have access to a browser right here. have a nice day, Philippe. From noreply@sourceforge.net Tue Nov 28 22:11:54 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue, 28 Nov 2000 14:11:54 -0800 Subject: [Expat-bugs] [Bug #114050] Segmentation fault in libxmltok Message-ID: <200011282211.OAA07419@sf-web3.vaspecialprojects.com> Bug #114050, was updated on 2000-Sep-11 07:41 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: Segmentation fault in libxmltok Details: If I parse the following file (with an error near !DOCTYPE): !DOCTYPE OReilly:Books SYSTEM "dummy.dtd" [ ]> XML Pocket Ref 8.95 I got the following with my gdb: !DOCTYPE OReilly:Books SYSTEM "dummy.dtd" [ error:no element found Program received signal SIGSEGV, Segmentation fault. 0x400269c5 in normal_updatePosition () from /usr/lib/libxmltok.so.1 (gdb) where #0 0x400269c5 in normal_updatePosition () from /usr/lib/libxmltok.so.1 #1 0x4001b0d9 in XML_GetCurrentColumnNumber () from /usr/lib/libxmlparse.so.1 #2 0x8049154 in test_parse () #3 0x80491f5 in main () #4 0x4004da5e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93 (gdb) Follow-Ups: Date: 2000-Nov-28 14:11 By: jacob_refstrup Comment: This appear to be fixed in 1.95.1 ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=114050&group_id=10127 From noreply@sourceforge.net Wed Nov 29 03:06:31 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue, 28 Nov 2000 19:06:31 -0800 Subject: [Expat-bugs] [Bug #123767] UTF-8 BOM triggers a crash Message-ID: <200011290306.TAA18072@sf-web1.i.sourceforge.net> Bug #123767, was updated on 2000-Nov-28 19:06 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: UTF-8 BOM triggers a crash Details: Files (at least the file I was working with) which start with a UTF-8 BOM (0xEF 0xBB 0xBF) can trigger a crash. My best guess is that the problem lies in xmltok.c, in initScan(). Specifically, it looks like the "case 0xEFBB:" section neglects to set "*nextTokPtr = ptr + 3;" which would be behavior consistent with the other XML_TOK_BOM cases in this function since this UTF-8 BOM is 3 bytes long. I am working with an old version of Expat but I checked the latest version of xmltok.c and this code has apparently not changed. The proposed fix is listed below. Bruce Kaskel Adobe SVG Viewer Engineering Lead Adobe Systems Incorporated case 0xEFBB: /* Maybe a UTF-8 BOM (EF BB BF) */ /* If there's an explicitly specified (external) encoding of ISO-8859-1 or some flavour of UTF-16 and this is an external text entity, don't look for the BOM, because it might be a legal data. */ if (state == XML_CONTENT_STATE) { int e = INIT_ENC_INDEX(enc); if (e == ISO_8859_1_ENC || e == UTF_16BE_ENC || e == UTF_16LE_ENC || e == UTF_16_ENC) break; } if (ptr + 2 == end) return XML_TOK_PARTIAL; if ((unsigned char)ptr[2] == 0xBF) { *nextTokPtr = ptr + 3; // <<---------** PROPOSED FIX ** *encPtr = encodingTable[UTF_8_ENC]; return XML_TOK_BOM; } break; For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=123767&group_id=10127 From noreply@sourceforge.net Wed Nov 29 15:36:43 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 29 Nov 2000 07:36:43 -0800 Subject: [Expat-bugs] [Bug #123800] makefile targeted to gmake only Message-ID: <200011291536.HAA21689@sf-web3.vaspecialprojects.com> Bug #123800, was updated on 2000-Nov-29 07:36 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: makefile targeted to gmake only Details: After a configure, make doesn't do anything on a SCO platform. A cd ./lib; make doesn't do nothing either. Using gmake helps a little but the make process fails whith the lack of ./lib/.deps/xmlparse.pp reported earlier. For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=123800&group_id=10127 From noreply@sourceforge.net Wed Nov 29 15:39:58 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 29 Nov 2000 07:39:58 -0800 Subject: [Expat-bugs] [Bug #123801] ML archive not reachable Message-ID: <200011291539.HAA21763@sf-web3.vaspecialprojects.com> Bug #123801, was updated on 2000-Nov-29 07:39 Here is a current snapshot of the bug. Project: Expat XML Parser Category: Documentation Status: Open Resolution: None Bug Group: None Priority: 5 Summary: ML archive not reachable Details: On sourceforge the link to the expat-bugs archive don't redirect to a right geocrawler ML. Maybe a sourceforge bug ? For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=123801&group_id=10127 From noreply@sourceforge.net Thu Nov 30 06:48:17 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed, 29 Nov 2000 22:48:17 -0800 Subject: [Expat-bugs] [Bug #123894] No files available to download Message-ID: <200011300648.WAA12356@sf-web1.i.sourceforge.net> Bug #123894, was updated on 2000-Nov-29 22:48 Here is a current snapshot of the bug. Project: Expat XML Parser Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Summary: No files available to download Details: going to http://download.sourceforge.net/expat/expat-1.95.1.tar.gz returns a page not found error For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=123894&group_id=10127 From noreply@sourceforge.net Thu Nov 2 15:17:22 2000 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu, 2 Nov 2000 07:17:22 -0800 Subject: [Expat-bugs] [Bug #119617] expat 1.95.1 configure'd Makefile incorrect Message-ID: <200011021517.HAA05409@sf-web3.vaspecialprojects.com> 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. ------------------------------------------------------- Date: 2000-Nov-02 07:17 By: fdouma Comment: Same problem with .0 and .1 versions, cannot get it to make on Solaris 2.5.1, with SUNWspro cc compiler. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=119617&group_id=10127