From noreply@sourceforge.net Fri Feb 1 14:35:54 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Fri Feb 1 14:35:54 2002 Subject: [ expat-Bugs-470041 ] expat doesn't parse xml's with UTF-8 BOM Message-ID: Bugs item #470041, was opened at 2001-10-10 15:53 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=470041&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: expat doesn't parse xml's with UTF-8 BOM Initial Comment: expat can not correctly parse xml's encoded in UTF-8 and with UTF-8 BOM (EF BB BF). ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-02-01 14:31 Message: Logged In: NO Isn't this fixed by libexpat 1.95.2 ? ---------------------------------------------------------------------- Comment By: Fred L. Drake, Jr. (fdrake) Date: 2001-11-02 15:05 Message: Logged In: YES user_id=3066 What version of Expat was this? I thought we'd fixed this in Expat 1.95.2. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=470041&group_id=10127 From noreply@sourceforge.net Tue Feb 5 13:06:05 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue Feb 5 13:06:05 2002 Subject: [ expat-Bugs-463928 ] 1.95.2 Cygwin build fails Message-ID: Bugs item #463928, was opened at 2001-09-22 12:48 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 Category: Build control Group: Platform Specific Status: Open Resolution: None Priority: 5 Submitted By: Jari Aalto (jaalto) Assigned to: Greg Stein (gstein) Summary: 1.95.2 Cygwin build fails Initial Comment: Hi, Is there any chance to get expat compiled under cygwin? http://www.cygwin.com/ I would like to install the Perl XML modules, but they require expat first. If you need help to debug this, I will help gladly. I'm former C++ programmer. Jari.aalto@poboxes.com //root@W2KPICASSO /usr/src/expat-1.95.2 $ CFLAGS=- fexceptions ./configure creating cache ./config.cache checking host system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i686-pc- cygwin/bin/ld.exe checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking for dlltool... dlltool checking for as... as checking for objdump... objdump updating cache ./config.cache checking for object suffix... o checking for executable suffix... .exe checking for gcc option to produce PIC... none checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking whether the linker (/usr/i686-pc- cygwin/bin/ld.exe) supports shared lib raries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking dynamic linker characteristics... Win32 ld.exe checking if libtool supports shared libraries... yes checking if package supports dlls... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -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... no checking for memmove... yes checking for bcopy... yes updating cache ./config.cache creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating xmlwf/Makefile creating examples/Makefile creating config.h config.h is unchanged //root@W2KPICASSO /usr/src/expat-1.95.2 $ make cd lib && make make[1]: Entering directory `/usr/src/expat-1.95.2/lib' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H - DPACKAGE='"expat"' -DVERS ION='"expat_1.95.2"' -I. -I. -I.. -fexceptions -Wall - Wmissing-prototypes -Wstr ict-prototypes -fexceptions -c xmlparse.c rm -f .libs/xmlparse.lo gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ - DVERSION=\expat_1.95.2\ -I. -I. -I.. -fexceptions -Wall -Wmissing-prototypes -Wstrict- prototypes -fexceptions -c xmlp arse.c -DPIC -o .libs/xmlparse.lo mv -f .libs/xmlparse.lo xmlparse.o (cd . && ln -s xmlparse.o xmlparse.lo) /bin/sh ../libtool --mode=link gcc -version-info 1:0:1 -fexceptions -Wall -Wmis sing-prototypes -Wstrict-prototypes -fexceptions -o libexpat.la -rpath /usr/loc al/lib xmlparse.lo xmltok.lo xmlrole.lo libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l ibraries rm - fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ranlib .libs/libexpat.a creating libexpat.la (cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la) make[1]: Leaving directory `/usr/src/expat-1.95.2/lib' cd xmlwf && make make[1]: Entering directory `/usr/src/expat- 1.95.2/xmlwf' gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs - lexpat xmlwf.o(.text+0x914):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x934):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x954):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x974):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0xa3c):xmlwf.c: undefined reference to `_imp__XML_GetBase' xmlwf.o(.text+0xa76):xmlwf.c: undefined reference to `_imp__XML_GetCurrentColumn Number' xmlwf.o(.text+0xa8b):xmlwf.c: undefined reference to `_imp__XML_GetCurrentLineNu mber' xmlwf.o(.text+0xaa0):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteCo unt' xmlwf.o(.text+0xab5):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteIn dex' xmlwf.o(.text+0xbc0):xmlwf.c: undefined reference to `_imp__XML_GetSpecifiedAttr ibuteCount' xmlwf.o(.text+0xbe3):xmlwf.c: undefined reference to `_imp__XML_GetIdAttributeIn dex' xmlwf.o(.text+0x1bef):xmlwf.c: undefined reference to `_imp__XML_ParserCreateNS' xmlwf.o(.text+0x1c09):xmlwf.c: undefined reference to `_imp__XML_ParserCreate' xmlwf.o(.text+0x1c2b):xmlwf.c: undefined reference to `_imp__XML_SetNotStandalon eHandler' xmlwf.o(.text+0x1c41):xmlwf.c: undefined reference to `_imp__XML_SetParamEntityP arsing' xmlwf.o(.text+0x1c6a):xmlwf.c: undefined reference to `_imp__XML_SetElementHandl ... xmlwf.o(.text+0x207b):xmlwf.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x38):xmlfile.c: undefined reference to `_imp__XML_GetErrorCode' xmlfile.o(.text+0x4d):xmlfile.c: undefined reference to `_imp__XML_ErrorString' xmlfile.o(.text+0x71):xmlfile.c: undefined reference to `_imp__XML_GetCurrentCol umnNumber' xmlfile.o(.text+0x86):xmlfile.c: undefined reference to `_imp__XML_GetCurrentLin eNumber' xmlfile.o(.text+0x100):xmlfile.c: undefined reference to `_imp__XML_Parse' xmlfile.o(.text+0x242):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x285):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x2cb):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x346):xmlfile.c: undefined reference to `_imp__XML_GetBuffer' xmlfile.o(.text+0x3ec):xmlfile.c: undefined reference to `_imp__XML_ParseBuffer' xmlfile.o(.text+0x46a):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x4a1):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x4da):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x51c):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x584):xmlfile.c: undefined reference to `_imp__XML_SetExternalE ntityRefHandler' collect2: ld returned 1 exit status make[1]: *** [xmlwf] Error 1 make[1]: Leaving directory `/usr/src/expat- 1.95.2/xmlwf' make: *** [xmlwf] Error 2 //root@W2KPICASSO /usr/src/expat-1.95.2 $ ---------------------------------------------------------------------- >Comment By: Jari Aalto (jaalto) Date: 2002-02-05 13:05 Message: Logged In: YES user_id=65014 One clarification: After I applied the Gerrit's patch (-no-undefined) the compilation error still persists and the program does not compile under cygwin. Any progress on this? ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 10:19 Message: Logged In: YES user_id=76037 I posted the patch here, (all in one line, please): http://sourceforge.net/tracker/index.php? func=detail&aid=454879&group_id=10127&atid=110127 Gerrit ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 09:50 Message: Logged In: YES user_id=76037 There is not much to do, a little change in the lib/Makefile.in and the expat-x.dll is build properly (I used the latest autotools of today, libtool-1.4.2, autoconf- 2.52, automake-1.5), here the patch (I added just -no- undefined at the link line): --- lib/Makefile.in.orig Wed Oct 24 18:24:58 2001 +++ lib/Makefile.in Wed Oct 24 18:23:29 2001 @@ -90,7 +90,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --mode=link $(CCLD) -no-undefined - version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.in ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 From noreply@sourceforge.net Tue Feb 5 14:43:02 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue Feb 5 14:43:02 2002 Subject: [ expat-Bugs-463928 ] 1.95.2 Cygwin build fails Message-ID: Bugs item #463928, was opened at 2001-09-22 12:48 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 Category: Build control Group: Platform Specific Status: Open Resolution: None Priority: 5 Submitted By: Jari Aalto (jaalto) Assigned to: Greg Stein (gstein) Summary: 1.95.2 Cygwin build fails Initial Comment: Hi, Is there any chance to get expat compiled under cygwin? http://www.cygwin.com/ I would like to install the Perl XML modules, but they require expat first. If you need help to debug this, I will help gladly. I'm former C++ programmer. Jari.aalto@poboxes.com //root@W2KPICASSO /usr/src/expat-1.95.2 $ CFLAGS=- fexceptions ./configure creating cache ./config.cache checking host system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i686-pc- cygwin/bin/ld.exe checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking for dlltool... dlltool checking for as... as checking for objdump... objdump updating cache ./config.cache checking for object suffix... o checking for executable suffix... .exe checking for gcc option to produce PIC... none checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking whether the linker (/usr/i686-pc- cygwin/bin/ld.exe) supports shared lib raries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking dynamic linker characteristics... Win32 ld.exe checking if libtool supports shared libraries... yes checking if package supports dlls... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -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... no checking for memmove... yes checking for bcopy... yes updating cache ./config.cache creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating xmlwf/Makefile creating examples/Makefile creating config.h config.h is unchanged //root@W2KPICASSO /usr/src/expat-1.95.2 $ make cd lib && make make[1]: Entering directory `/usr/src/expat-1.95.2/lib' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H - DPACKAGE='"expat"' -DVERS ION='"expat_1.95.2"' -I. -I. -I.. -fexceptions -Wall - Wmissing-prototypes -Wstr ict-prototypes -fexceptions -c xmlparse.c rm -f .libs/xmlparse.lo gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ - DVERSION=\expat_1.95.2\ -I. -I. -I.. -fexceptions -Wall -Wmissing-prototypes -Wstrict- prototypes -fexceptions -c xmlp arse.c -DPIC -o .libs/xmlparse.lo mv -f .libs/xmlparse.lo xmlparse.o (cd . && ln -s xmlparse.o xmlparse.lo) /bin/sh ../libtool --mode=link gcc -version-info 1:0:1 -fexceptions -Wall -Wmis sing-prototypes -Wstrict-prototypes -fexceptions -o libexpat.la -rpath /usr/loc al/lib xmlparse.lo xmltok.lo xmlrole.lo libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l ibraries rm - fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ranlib .libs/libexpat.a creating libexpat.la (cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la) make[1]: Leaving directory `/usr/src/expat-1.95.2/lib' cd xmlwf && make make[1]: Entering directory `/usr/src/expat- 1.95.2/xmlwf' gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs - lexpat xmlwf.o(.text+0x914):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x934):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x954):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x974):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0xa3c):xmlwf.c: undefined reference to `_imp__XML_GetBase' xmlwf.o(.text+0xa76):xmlwf.c: undefined reference to `_imp__XML_GetCurrentColumn Number' xmlwf.o(.text+0xa8b):xmlwf.c: undefined reference to `_imp__XML_GetCurrentLineNu mber' xmlwf.o(.text+0xaa0):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteCo unt' xmlwf.o(.text+0xab5):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteIn dex' xmlwf.o(.text+0xbc0):xmlwf.c: undefined reference to `_imp__XML_GetSpecifiedAttr ibuteCount' xmlwf.o(.text+0xbe3):xmlwf.c: undefined reference to `_imp__XML_GetIdAttributeIn dex' xmlwf.o(.text+0x1bef):xmlwf.c: undefined reference to `_imp__XML_ParserCreateNS' xmlwf.o(.text+0x1c09):xmlwf.c: undefined reference to `_imp__XML_ParserCreate' xmlwf.o(.text+0x1c2b):xmlwf.c: undefined reference to `_imp__XML_SetNotStandalon eHandler' xmlwf.o(.text+0x1c41):xmlwf.c: undefined reference to `_imp__XML_SetParamEntityP arsing' xmlwf.o(.text+0x1c6a):xmlwf.c: undefined reference to `_imp__XML_SetElementHandl ... xmlwf.o(.text+0x207b):xmlwf.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x38):xmlfile.c: undefined reference to `_imp__XML_GetErrorCode' xmlfile.o(.text+0x4d):xmlfile.c: undefined reference to `_imp__XML_ErrorString' xmlfile.o(.text+0x71):xmlfile.c: undefined reference to `_imp__XML_GetCurrentCol umnNumber' xmlfile.o(.text+0x86):xmlfile.c: undefined reference to `_imp__XML_GetCurrentLin eNumber' xmlfile.o(.text+0x100):xmlfile.c: undefined reference to `_imp__XML_Parse' xmlfile.o(.text+0x242):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x285):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x2cb):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x346):xmlfile.c: undefined reference to `_imp__XML_GetBuffer' xmlfile.o(.text+0x3ec):xmlfile.c: undefined reference to `_imp__XML_ParseBuffer' xmlfile.o(.text+0x46a):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x4a1):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x4da):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x51c):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x584):xmlfile.c: undefined reference to `_imp__XML_SetExternalE ntityRefHandler' collect2: ld returned 1 exit status make[1]: *** [xmlwf] Error 1 make[1]: Leaving directory `/usr/src/expat- 1.95.2/xmlwf' make: *** [xmlwf] Error 2 //root@W2KPICASSO /usr/src/expat-1.95.2 $ ---------------------------------------------------------------------- >Comment By: Jari Aalto (jaalto) Date: 2002-02-05 14:42 Message: Logged In: YES user_id=65014 Fellow cygwin user sent a full package that compiles fine, so here is patch against the full expat tar.gz tree. ---------------------------------------------------------------------- Comment By: Jari Aalto (jaalto) Date: 2002-02-05 13:05 Message: Logged In: YES user_id=65014 One clarification: After I applied the Gerrit's patch (-no-undefined) the compilation error still persists and the program does not compile under cygwin. Any progress on this? ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 10:19 Message: Logged In: YES user_id=76037 I posted the patch here, (all in one line, please): http://sourceforge.net/tracker/index.php? func=detail&aid=454879&group_id=10127&atid=110127 Gerrit ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 09:50 Message: Logged In: YES user_id=76037 There is not much to do, a little change in the lib/Makefile.in and the expat-x.dll is build properly (I used the latest autotools of today, libtool-1.4.2, autoconf- 2.52, automake-1.5), here the patch (I added just -no- undefined at the link line): --- lib/Makefile.in.orig Wed Oct 24 18:24:58 2001 +++ lib/Makefile.in Wed Oct 24 18:23:29 2001 @@ -90,7 +90,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --mode=link $(CCLD) -no-undefined - version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.in ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 From noreply@sourceforge.net Wed Feb 6 12:28:04 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Wed Feb 6 12:28:04 2002 Subject: [ expat-Bugs-477039 ] Compile Error on HP-UX 10_20 Message-ID: Bugs item #477039, was opened at 2001-10-31 17:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=477039&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) Summary: Compile Error on HP-UX 10_20 Initial Comment: Not sure if this is a bug or just my lack of understanding. Does anyone have any idea why this refuses to compile ? $ ./configure --prefix=/opt/psfm/batch/scripts/expat loading cache ./config.cache checking host system type... hppa2.0-hp-hpux10.20 checking build system type... hppa2.0-hp-hpux10.20 checking for ranlib... (cached) ranlib checking for gcc... (cached) 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... (cached) no checking whether cc accepts -g... (cached) yes checking for non-GNU ld... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/bin/nm -p checking whether ln -s works... (cached) yes 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... +Z checking if cc PIC flag +Z works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc static flag -Wl,-a -Wl,archive works... -Wl,-a -Wl,archive 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/bin/nm -p output... ok checking how to hardcode library paths into programs... relink checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... hpux10.20 dld.sl 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 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... (cached) /opt/imake/bin/install -c checking how to run the C preprocessor... (cached) cc - E checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... (cached) yes checking for working const... (cached) no checking for off_t... (cached) yes checking for size_t... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) no checking for memmove... (cached) yes checking for bcopy... (cached) yes creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating xmlwf/Makefile creating examples/Makefile creating config.h config.h is unchanged $ make $ make install for dir in lib xmlwf; do \ (cd $dir && make install); \ done /bin/sh ../libtool --mode=compile cc - DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -I.. -g -c xmlparse.c rm -f .libs/xmlparse.lo cc -DHAVE_CONFIG_H -DPACKAGE=\expat\ - DVERSION=\expat_1.95.2\ -I. -I. -I.. - g -c xmlparse.c +Z -DPIC -o .libs/xmlparse.lo cc: "expat.h", line 80: error 1000: Unexpected symbol: "XML_Char". cc: "expat.h", line 81: error 1000: Unexpected symbol: "*". cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. cc -g -I../lib -c xmlwf.c cpp: "xmltchar.h", line 3: warning 2013: Unknown preprocessing directive. cc: "../lib/expat.h", line 80: warning 5: "const" will become a keyword. cc: "../lib/expat.h", line 80: error 1000: Unexpected symbol: "const". cc: "../lib/expat.h", line 81: error 1000: Unexpected symbol: "*". cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. $ Regards, Paul __________________________________________________ Technical Designer Peoplesoft Operations IT@AMP Level 3, 151 Clarence St, Sydney 2000 Ph: +61-2-82962621 Email: paul_rashleigh@amp.com.au ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-02-06 12:27 Message: Logged In: NO been able to compile it with gmake and gcc on HPUX 10.20 800 serie.. (version 2.9x).. ---------------------------------------------------------------------- Comment By: Weixiong He (weixionghe) Date: 2002-01-15 11:03 Message: Logged In: YES user_id=424747 It seems to me that the xmldef.h is missing from the lib directory. Any ideas? Thanks. Weixiong ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-01-12 21:49 Message: Logged In: NO The error appears to indicate that a needed include file is not being included properly. XML_Char is a #define. Check the -I (Uppercase i) options. Sometimes a space is allowed other times is not. I have seen this problem with the -L options some loaders also. (space required/not allowed). There may be specific requirements for the "C" compiler that is actually being used. Also, make sure you have a recent version of libtools. ---------------------------------------------------------------------- Comment By: Weixiong He (weixionghe) Date: 2002-01-11 09:14 Message: Logged In: YES user_id=424747 I'm doing the exact same installation as Paul, and I'm getting the exact same error messages as Paul's. Could anyone help us with it? Please!!! Thank you. Weixiong He ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=477039&group_id=10127 From noreply@sourceforge.net Thu Feb 7 06:47:03 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu Feb 7 06:47:03 2002 Subject: [ expat-Bugs-514281 ] french accents errors? Message-ID: Bugs item #514281, was opened at 2002-02-07 06:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 Category: None Group: Not a Bug Status: Open Resolution: None Priority: 5 Submitted By: Vincent Fortier (fortierv) Assigned to: Nobody/Anonymous (nobody) Summary: french accents errors? Initial Comment: I'm having errors with french accents in iso-8859-1 and utf-8 format only at a specific place.. Exemple: Ville Charlesbourg Martin Labbé (xxx)xxx It always stops at Martin Labbé .. If I either change "é" for an "e" it works.. if I simply add 2 chars after the "é" like: Martin LabbéXX it still works... But it always stops when it finishes with "é" or "éX".... I've tried a few patches.. one for expat.h and xmlparse.c wich was unicode changes (#476931, #464837).. and another one wich was about xmltok.c (#477667)... but with no success.. I always get the error message "mismatched tag at line xx"... I have a lot of "éèàçêÈ" everywhere.. but it seems to only stop when it's placed right at the end of a tag.. Anybody can help me out? - vin ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 From noreply@sourceforge.net Thu Feb 7 07:41:09 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu Feb 7 07:41:09 2002 Subject: [ expat-Bugs-514281 ] french accents errors? Message-ID: Bugs item #514281, was opened at 2002-02-07 06:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 Category: None Group: Not a Bug Status: Open Resolution: None Priority: 5 Submitted By: Vincent Fortier (fortierv) Assigned to: Nobody/Anonymous (nobody) Summary: french accents errors? Initial Comment: I'm having errors with french accents in iso-8859-1 and utf-8 format only at a specific place.. Exemple: Ville Charlesbourg Martin Labbé (xxx)xxx It always stops at Martin Labbé .. If I either change "é" for an "e" it works.. if I simply add 2 chars after the "é" like: Martin LabbéXX it still works... But it always stops when it finishes with "é" or "éX".... I've tried a few patches.. one for expat.h and xmlparse.c wich was unicode changes (#476931, #464837).. and another one wich was about xmltok.c (#477667)... but with no success.. I always get the error message "mismatched tag at line xx"... I have a lot of "éèàçêÈ" everywhere.. but it seems to only stop when it's placed right at the end of a tag.. Anybody can help me out? - vin ---------------------------------------------------------------------- >Comment By: Vincent Fortier (fortierv) Date: 2002-02-07 07:40 Message: Logged In: YES user_id=451869 Note: BTW.. xmlwf works fine on the file.. so it's supposed to be well- formed in iso-8859-1 format ... and the value of "é" is E9 and 351 (used octal dump..).. thnx. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 From noreply@sourceforge.net Thu Feb 7 10:38:02 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu Feb 7 10:38:02 2002 Subject: [ expat-Bugs-514281 ] french accents errors? Message-ID: Bugs item #514281, was opened at 2002-02-07 06:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 Category: None Group: Not a Bug Status: Open Resolution: None Priority: 5 Submitted By: Vincent Fortier (fortierv) Assigned to: Nobody/Anonymous (nobody) Summary: french accents errors? Initial Comment: I'm having errors with french accents in iso-8859-1 and utf-8 format only at a specific place.. Exemple: Ville Charlesbourg Martin Labbé (xxx)xxx It always stops at Martin Labbé .. If I either change "é" for an "e" it works.. if I simply add 2 chars after the "é" like: Martin LabbéXX it still works... But it always stops when it finishes with "é" or "éX".... I've tried a few patches.. one for expat.h and xmlparse.c wich was unicode changes (#476931, #464837).. and another one wich was about xmltok.c (#477667)... but with no success.. I always get the error message "mismatched tag at line xx"... I have a lot of "éèàçêÈ" everywhere.. but it seems to only stop when it's placed right at the end of a tag.. Anybody can help me out? - vin ---------------------------------------------------------------------- >Comment By: Vincent Fortier (fortierv) Date: 2002-02-07 10:37 Message: Logged In: YES user_id=451869 I've found a way to solve my problem.. The problem was actually with the iso- 8859-1 format making errors with "é" at really specefic places.. I've found a converter in C wich transform a text file to utf-8 and the my problems where over.. (see attachement) Here is the web site where I got it: http://developer.iplanet.com/tech/directory/utf8ltn1.html ---------------------------------------------------------------------- Comment By: Vincent Fortier (fortierv) Date: 2002-02-07 07:40 Message: Logged In: YES user_id=451869 Note: BTW.. xmlwf works fine on the file.. so it's supposed to be well- formed in iso-8859-1 format ... and the value of "é" is E9 and 351 (used octal dump..).. thnx. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=514281&group_id=10127 From noreply@sourceforge.net Mon Feb 11 00:52:04 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Mon Feb 11 00:52:04 2002 Subject: [ expat-Patches-515804 ] compile expat-1.95.2 on cygwin (_imp__) Message-ID: Patches item #515804, was opened at 2002-02-11 00:51 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127 Category: Build Control Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dmitry Frolov (endsguy) Assigned to: Greg Stein (gstein) Summary: compile expat-1.95.2 on cygwin (_imp__) Initial Comment: When compiling unmodified expat-1.95.2 on cygwin following errors occur: "make[1]: Entering directory `/home/Administrator/expat-1.95.2/xmlwf' gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs - lexpat xmlwf.o: In function `defaultCharacterData': /home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:239: undefined reference to `_imp __XML_DefaultCurrent' xmlwf.o: In function `defaultStartElement':" To fix this a small change should be done to expat.h.in. This will cause gcc to link with correct names to the libexpat.a. Apply the patch and see for yourself, this patch has been tested only one one cygwin installation... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127 From noreply@sourceforge.net Sat Feb 16 13:03:03 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Sat Feb 16 13:03:03 2002 Subject: [ expat-Patches-502187 ] How to build Expat-1.95.2 on OS X 10.1.2 Message-ID: Patches item #502187, was opened at 2002-01-10 20:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=502187&group_id=10127 Category: Build Control Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) Summary: How to build Expat-1.95.2 on OS X 10.1.2 Initial Comment: How to build expat-1.95.2 on OS X 10.1.2 - Joel Rodrigues 1. username% tar -zxvf expat-1.95.2.tar.gz 2. cd expat-1.95.2 3. cp /usr/share/libtool/config.guess conftools/config.guess cp /usr/share/libtool/config.sub conftools/config.sub cp /usr/share/libtool/ltconfig conftools/ltconfig cp /usr/share/libtool/ltmain.sh conftools/ltmain.sh 4. Change line 1375 of conftools/Itconfig to read like so : darwin* | rhapsody*) allow_undefined_flag='-undefined warning -flat_namespace' 5. In xmlwf/Makefile.in change "LDFLAGS = @LDFLAGS@ -static" to "LDFLAGS = @LDFLAGS@ -dynamic" 6. Make the same change in examples/makefile.in : "LDFLAGS = @LDFLAGS@ -static" to "LDFLAGS = @LDFLAGS@ -dynamic" 7. Run the following commands : ./configure make make check sudo make install 8. You should see the foll. in the subsequent output : ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution usage: basename string [suffix] - use the `-install_name LIBDIR/' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Cheers ! ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-02-16 13:02 Message: Logged In: NO This does not work.. I get the following errors: /usr/bin/libtool: file: xmltok.lo is not an object file (not allowed in a library) /usr/bin/libtool: file: xmlrole.lo is not an object file (not allowed in a library) make[1]: *** [libexpat.la] Error 1 make: *** [lib] Error 2 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=502187&group_id=10127 From noreply@sourceforge.net Sun Feb 17 06:18:03 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Sun Feb 17 06:18:03 2002 Subject: [ expat-Bugs-463928 ] 1.95.2 Cygwin build fails Message-ID: Bugs item #463928, was opened at 2001-09-22 12:48 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 Category: Build control Group: Platform Specific Status: Open Resolution: None Priority: 5 Submitted By: Jari Aalto (jaalto) Assigned to: Greg Stein (gstein) Summary: 1.95.2 Cygwin build fails Initial Comment: Hi, Is there any chance to get expat compiled under cygwin? http://www.cygwin.com/ I would like to install the Perl XML modules, but they require expat first. If you need help to debug this, I will help gladly. I'm former C++ programmer. Jari.aalto@poboxes.com //root@W2KPICASSO /usr/src/expat-1.95.2 $ CFLAGS=- fexceptions ./configure creating cache ./config.cache checking host system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i686-pc- cygwin/bin/ld.exe checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking for dlltool... dlltool checking for as... as checking for objdump... objdump updating cache ./config.cache checking for object suffix... o checking for executable suffix... .exe checking for gcc option to produce PIC... none checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/i686-pc- cygwin/bin/ld.exe) is GNU ld... yes checking whether the linker (/usr/i686-pc- cygwin/bin/ld.exe) supports shared lib raries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking dynamic linker characteristics... Win32 ld.exe checking if libtool supports shared libraries... yes checking if package supports dlls... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -fexceptions ) works... yes checking whether the C compiler (gcc -fexceptions ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -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... no checking for memmove... yes checking for bcopy... yes updating cache ./config.cache creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating xmlwf/Makefile creating examples/Makefile creating config.h config.h is unchanged //root@W2KPICASSO /usr/src/expat-1.95.2 $ make cd lib && make make[1]: Entering directory `/usr/src/expat-1.95.2/lib' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H - DPACKAGE='"expat"' -DVERS ION='"expat_1.95.2"' -I. -I. -I.. -fexceptions -Wall - Wmissing-prototypes -Wstr ict-prototypes -fexceptions -c xmlparse.c rm -f .libs/xmlparse.lo gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ - DVERSION=\expat_1.95.2\ -I. -I. -I.. -fexceptions -Wall -Wmissing-prototypes -Wstrict- prototypes -fexceptions -c xmlp arse.c -DPIC -o .libs/xmlparse.lo mv -f .libs/xmlparse.lo xmlparse.o (cd . && ln -s xmlparse.o xmlparse.lo) /bin/sh ../libtool --mode=link gcc -version-info 1:0:1 -fexceptions -Wall -Wmis sing-prototypes -Wstrict-prototypes -fexceptions -o libexpat.la -rpath /usr/loc al/lib xmlparse.lo xmltok.lo xmlrole.lo libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l ibraries rm - fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ranlib .libs/libexpat.a creating libexpat.la (cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la) make[1]: Leaving directory `/usr/src/expat-1.95.2/lib' cd xmlwf && make make[1]: Entering directory `/usr/src/expat- 1.95.2/xmlwf' gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs - lexpat xmlwf.o(.text+0x914):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x934):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x954):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0x974):xmlwf.c: undefined reference to `_imp__XML_DefaultCurrent' xmlwf.o(.text+0xa3c):xmlwf.c: undefined reference to `_imp__XML_GetBase' xmlwf.o(.text+0xa76):xmlwf.c: undefined reference to `_imp__XML_GetCurrentColumn Number' xmlwf.o(.text+0xa8b):xmlwf.c: undefined reference to `_imp__XML_GetCurrentLineNu mber' xmlwf.o(.text+0xaa0):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteCo unt' xmlwf.o(.text+0xab5):xmlwf.c: undefined reference to `_imp__XML_GetCurrentByteIn dex' xmlwf.o(.text+0xbc0):xmlwf.c: undefined reference to `_imp__XML_GetSpecifiedAttr ibuteCount' xmlwf.o(.text+0xbe3):xmlwf.c: undefined reference to `_imp__XML_GetIdAttributeIn dex' xmlwf.o(.text+0x1bef):xmlwf.c: undefined reference to `_imp__XML_ParserCreateNS' xmlwf.o(.text+0x1c09):xmlwf.c: undefined reference to `_imp__XML_ParserCreate' xmlwf.o(.text+0x1c2b):xmlwf.c: undefined reference to `_imp__XML_SetNotStandalon eHandler' xmlwf.o(.text+0x1c41):xmlwf.c: undefined reference to `_imp__XML_SetParamEntityP arsing' xmlwf.o(.text+0x1c6a):xmlwf.c: undefined reference to `_imp__XML_SetElementHandl ... xmlwf.o(.text+0x207b):xmlwf.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x38):xmlfile.c: undefined reference to `_imp__XML_GetErrorCode' xmlfile.o(.text+0x4d):xmlfile.c: undefined reference to `_imp__XML_ErrorString' xmlfile.o(.text+0x71):xmlfile.c: undefined reference to `_imp__XML_GetCurrentCol umnNumber' xmlfile.o(.text+0x86):xmlfile.c: undefined reference to `_imp__XML_GetCurrentLin eNumber' xmlfile.o(.text+0x100):xmlfile.c: undefined reference to `_imp__XML_Parse' xmlfile.o(.text+0x242):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x285):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x2cb):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x346):xmlfile.c: undefined reference to `_imp__XML_GetBuffer' xmlfile.o(.text+0x3ec):xmlfile.c: undefined reference to `_imp__XML_ParseBuffer' xmlfile.o(.text+0x46a):xmlfile.c: undefined reference to `_imp__XML_ExternalEnti tyParserCreate' xmlfile.o(.text+0x4a1):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x4da):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x51c):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x584):xmlfile.c: undefined reference to `_imp__XML_SetExternalE ntityRefHandler' collect2: ld returned 1 exit status make[1]: *** [xmlwf] Error 1 make[1]: Leaving directory `/usr/src/expat- 1.95.2/xmlwf' make: *** [xmlwf] Error 2 //root@W2KPICASSO /usr/src/expat-1.95.2 $ ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2002-02-17 06:17 Message: Logged In: YES user_id=76037 I sent a new (completer) patch recently here: https://sourceforge.net/tracker/index.php? func=detail&aid=501295&group_id=10127&atid=310127 ---------------------------------------------------------------------- Comment By: Jari Aalto (jaalto) Date: 2002-02-05 14:42 Message: Logged In: YES user_id=65014 Fellow cygwin user sent a full package that compiles fine, so here is patch against the full expat tar.gz tree. ---------------------------------------------------------------------- Comment By: Jari Aalto (jaalto) Date: 2002-02-05 13:05 Message: Logged In: YES user_id=65014 One clarification: After I applied the Gerrit's patch (-no-undefined) the compilation error still persists and the program does not compile under cygwin. Any progress on this? ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 10:19 Message: Logged In: YES user_id=76037 I posted the patch here, (all in one line, please): http://sourceforge.net/tracker/index.php? func=detail&aid=454879&group_id=10127&atid=110127 Gerrit ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2001-10-24 09:50 Message: Logged In: YES user_id=76037 There is not much to do, a little change in the lib/Makefile.in and the expat-x.dll is build properly (I used the latest autotools of today, libtool-1.4.2, autoconf- 2.52, automake-1.5), here the patch (I added just -no- undefined at the link line): --- lib/Makefile.in.orig Wed Oct 24 18:24:58 2001 +++ lib/Makefile.in Wed Oct 24 18:23:29 2001 @@ -90,7 +90,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --mode=link $(CCLD) -no-undefined - version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.in ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=463928&group_id=10127 From noreply@sourceforge.net Sun Feb 17 06:19:03 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Sun Feb 17 06:19:03 2002 Subject: [ expat-Patches-515804 ] compile expat-1.95.2 on cygwin (_imp__) Message-ID: Patches item #515804, was opened at 2002-02-11 00:51 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127 Category: Build Control Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dmitry Frolov (endsguy) Assigned to: Greg Stein (gstein) Summary: compile expat-1.95.2 on cygwin (_imp__) Initial Comment: When compiling unmodified expat-1.95.2 on cygwin following errors occur: "make[1]: Entering directory `/home/Administrator/expat-1.95.2/xmlwf' gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs - lexpat xmlwf.o: In function `defaultCharacterData': /home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:239: undefined reference to `_imp __XML_DefaultCurrent' xmlwf.o: In function `defaultStartElement':" To fix this a small change should be done to expat.h.in. This will cause gcc to link with correct names to the libexpat.a. Apply the patch and see for yourself, this patch has been tested only one one cygwin installation... ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2002-02-17 06:18 Message: Logged In: YES user_id=76037 I sent a new (completer) patch recently here: https://sourceforge.net/tracker/index.php? func=detail&aid=501295&group_id=10127&atid=310127 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127 From noreply@sourceforge.net Sun Feb 17 06:21:04 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Sun Feb 17 06:21:04 2002 Subject: [ expat-Patches-502865 ] cygwin patch not working Message-ID: Patches item #502865, was opened at 2002-01-12 16:32 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=502865&group_id=10127 Category: Build Control Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jari Aalto (jaalto) Assigned to: Greg Stein (gstein) Summary: cygwin patch not working Initial Comment: unable to compile under cygwin with the patch :-( Details in separate file ... xmlfile.o(.text+0x4a1):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x4da):xmlfile.c: undefined reference to `_imp__XML_ParserFree' xmlfile.o(.text+0x51c):xmlfile.c: undefined reference to `_imp__XML_SetBase' xmlfile.o(.text+0x584):xmlfile.c: undefined reference to `_imp__XML_SetExternalEntityRefHandler' collect2: ld returned 1 exit status make[1]: *** [xmlwf] Error 1 make[1]: Leaving directory `/usr/src/nok/expat- 1.95.2/xmlwf' make: *** [xmlwf] Error 2 //root@W2KPICASSO /usr/src/nok/expat-1.95.2 $ ---------------------------------------------------------------------- Comment By: Gerrit Haase (siebenschlaefer) Date: 2002-02-17 06:20 Message: Logged In: YES user_id=76037 Make sure you have the latest libtool and autotools and the latest binutils. I used this patch and it builds ok for me... Gerrit -- =^..^= ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=310127&aid=502865&group_id=10127 From noreply@sourceforge.net Thu Feb 21 13:32:10 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Thu Feb 21 13:32:10 2002 Subject: [ expat-Bugs-487840 ] xmlwf needs a man page Message-ID: Bugs item #487840, was opened at 2001-12-01 06:53 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=487840&group_id=10127 Category: Documentation Group: Feature Request >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Fred L. Drake, Jr. (fdrake) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: xmlwf needs a man page Initial Comment: The xmlwf utility is not documented at all; there needs to be some mention in the current documentation, and a man page should be installed on Unix systems. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2002-02-21 13:31 Message: Logged In: YES user_id=3066 Checked in Scott's text (finally!) with only one small addition. Thanks, Scott, and sorry for the delay! ---------------------------------------------------------------------- Comment By: Scott Bronson (bronson) Date: 2001-12-02 14:10 Message: Logged In: YES user_id=30977 I've posted a first draft of an xmlwf man page to the expat-discuss mailing list. I'm not quite sure how to attach the files to this incident, or I would include them here. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=487840&group_id=10127 From noreply@sourceforge.net Tue Feb 26 10:19:12 2002 From: noreply@sourceforge.net (noreply@sourceforge.net) Date: Tue Feb 26 10:19:12 2002 Subject: [ expat-Bugs-477039 ] Compile Error on HP-UX 10_20 Message-ID: Bugs item #477039, was opened at 2001-10-31 17:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=477039&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) Summary: Compile Error on HP-UX 10_20 Initial Comment: Not sure if this is a bug or just my lack of understanding. Does anyone have any idea why this refuses to compile ? $ ./configure --prefix=/opt/psfm/batch/scripts/expat loading cache ./config.cache checking host system type... hppa2.0-hp-hpux10.20 checking build system type... hppa2.0-hp-hpux10.20 checking for ranlib... (cached) ranlib checking for gcc... (cached) 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... (cached) no checking whether cc accepts -g... (cached) yes checking for non-GNU ld... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/bin/nm -p checking whether ln -s works... (cached) yes 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... +Z checking if cc PIC flag +Z works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc static flag -Wl,-a -Wl,archive works... -Wl,-a -Wl,archive 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/bin/nm -p output... ok checking how to hardcode library paths into programs... relink checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... hpux10.20 dld.sl 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 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... (cached) /opt/imake/bin/install -c checking how to run the C preprocessor... (cached) cc - E checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... (cached) yes checking for working const... (cached) no checking for off_t... (cached) yes checking for size_t... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) no checking for memmove... (cached) yes checking for bcopy... (cached) yes creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating xmlwf/Makefile creating examples/Makefile creating config.h config.h is unchanged $ make $ make install for dir in lib xmlwf; do \ (cd $dir && make install); \ done /bin/sh ../libtool --mode=compile cc - DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -I.. -g -c xmlparse.c rm -f .libs/xmlparse.lo cc -DHAVE_CONFIG_H -DPACKAGE=\expat\ - DVERSION=\expat_1.95.2\ -I. -I. -I.. - g -c xmlparse.c +Z -DPIC -o .libs/xmlparse.lo cc: "expat.h", line 80: error 1000: Unexpected symbol: "XML_Char". cc: "expat.h", line 81: error 1000: Unexpected symbol: "*". cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. cc -g -I../lib -c xmlwf.c cpp: "xmltchar.h", line 3: warning 2013: Unknown preprocessing directive. cc: "../lib/expat.h", line 80: warning 5: "const" will become a keyword. cc: "../lib/expat.h", line 80: error 1000: Unexpected symbol: "const". cc: "../lib/expat.h", line 81: error 1000: Unexpected symbol: "*". cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. $ Regards, Paul __________________________________________________ Technical Designer Peoplesoft Operations IT@AMP Level 3, 151 Clarence St, Sydney 2000 Ph: +61-2-82962621 Email: paul_rashleigh@amp.com.au ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-02-26 10:18 Message: Logged In: NO Anything been done on this? I'm also getting the same problem on HP-UX 10.20 using the aCC compiler ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-02-06 12:27 Message: Logged In: NO been able to compile it with gmake and gcc on HPUX 10.20 800 serie.. (version 2.9x).. ---------------------------------------------------------------------- Comment By: Weixiong He (weixionghe) Date: 2002-01-15 11:03 Message: Logged In: YES user_id=424747 It seems to me that the xmldef.h is missing from the lib directory. Any ideas? Thanks. Weixiong ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-01-12 21:49 Message: Logged In: NO The error appears to indicate that a needed include file is not being included properly. XML_Char is a #define. Check the -I (Uppercase i) options. Sometimes a space is allowed other times is not. I have seen this problem with the -L options some loaders also. (space required/not allowed). There may be specific requirements for the "C" compiler that is actually being used. Also, make sure you have a recent version of libtools. ---------------------------------------------------------------------- Comment By: Weixiong He (weixionghe) Date: 2002-01-11 09:14 Message: Logged In: YES user_id=424747 I'm doing the exact same installation as Paul, and I'm getting the exact same error messages as Paul's. Could anyone help us with it? Please!!! Thank you. Weixiong He ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110127&aid=477039&group_id=10127 From kkhellouf@webraska.com Wed Feb 27 02:37:02 2002 From: kkhellouf@webraska.com (khellouf kamel) Date: Wed Feb 27 02:37:02 2002 Subject: (no subject) Message-ID: <000001c1bf7b$78b73600$0402a8c0@AUTOTIBURY> This is a multi-part message in MIME format. ---------------------- multipart/mixed attachment hy , My problem, is the following expat( version 1.95.2) then stops parser at the end of the second line occurs a planting, the error code is the following: " tag mismatch " here the place of the code xml, where the parser plant: can you help me? Kamel Khellouf Software development engineer Webraska 22, rue Guynemer - B.P 107 78602 Maisons-Laffitte Cedex - France T:+33 ( 0)1 39 12 89 18 F: +33 (0)1 39 12 88 86 M: +33 (0)6 15 88 61 85 Web: _______________________________________________________ Webraska is the worldwide provider of wireless navigation services and technologies. ---------------------- multipart/mixed attachment A non-text attachment was scrubbed... Name: Kamel Khellouf (E-mail).vcf Type: text/x-vcard Size: 350 bytes Desc: not available Url : http://mail.libexpat.org/pipermail-21/expat-bugs/attachments/20020227/560131e7/KamelKhelloufE-mail.bin ---------------------- multipart/mixed attachment--