[Expat-bugs] [ expat-Bugs-1535603 ] Error testing expat 2.0.0

SourceForge.net noreply at sourceforge.net
Sat Nov 25 18:43:37 CET 2006


Bugs item #1535603, was opened at 2006-08-06 20:02
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1535603&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Pierre (pierre42)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error testing expat 2.0.0

Initial Comment:
# make check
gcc -I./lib -I. -s -O3 -march=i686 -Wall
-Wmissing-prototypes -Wstrict-prototypes -fexceptions
-DHAVE_EXPAT_CONFIG_H   -o tests/runtests.o -c
tests/runtests.c
gcc -I./lib -I. -s -O3 -march=i686 -Wall
-Wmissing-prototypes -Wstrict-prototypes -fexceptions
-DHAVE_EXPAT_CONFIG_H   -o tests/chardata.o -c
tests/chardata.c
gcc -I./lib -I. -s -O3 -march=i686 -Wall
-Wmissing-prototypes -Wstrict-prototypes -fexceptions
-DHAVE_EXPAT_CONFIG_H   -o tests/minicheck.o -c
tests/minicheck.c
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I.
-s -O3 -march=i686 -Wall -Wmissing-prototypes
-Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H
   -o tests/runtests tests/runtests.o tests/chardata.o
tests/minicheck.o libexpat.la
g++ -s -O3 -march=i686   -c -o tests/runtestspp.o
tests/runtestspp.cpp
In file included from tests/runtestspp.cpp:6:
tests/runtests.c: In function `void
test_line_number_after_parse()':
tests/runtests.c:410: error: `XML_Size' undeclared
(first use this function)
tests/runtests.c:410: error: (Each undeclared
identifier is reported only once for each function it
appears in.)
tests/runtests.c:410: error: expected `;' before "lineno"
tests/runtests.c:414: error: `lineno' undeclared (first
use this function)
tests/runtests.c: In function `void
test_column_number_after_parse()':
tests/runtests.c:428: error: `XML_Size' undeclared
(first use this function)
tests/runtests.c:428: error: expected `;' before "colno"
tests/runtests.c:432: error: `colno' undeclared (first
use this function)
tests/runtests.c: In function `void
test_line_number_after_error()':
tests/runtests.c:514: error: `XML_Size' undeclared
(first use this function)
tests/runtests.c:514: error: expected `;' before "lineno"
tests/runtests.c:518: error: `lineno' undeclared (first
use this function)
tests/runtests.c: In function `void
test_column_number_after_error()':
tests/runtests.c:534: error: `XML_Size' undeclared
(first use this function)
tests/runtests.c:534: error: expected `;' before "colno"
tests/runtests.c:538: error: `colno' undeclared (first
use this function)
tests/runtests.c: In function `void
test_ns_prefix_with_empty_uri_1()':
tests/runtests.c:1230: error:
`XML_ERROR_UNDECLARING_PREFIX' undeclared (first use
this function)
tests/runtests.c: In function `void
test_ns_prefix_with_empty_uri_2()':
tests/runtests.c:1244: error:
`XML_ERROR_UNDECLARING_PREFIX' undeclared (first use
this function)
tests/runtests.c: In function `void
test_ns_prefix_with_empty_uri_3()':
tests/runtests.c:1261: error:
`XML_ERROR_UNDECLARING_PREFIX' undeclared (first use
this function)
make: *** [tests/runtestspp.o] Error 1


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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2006-11-25 12:43

Message:
Logged In: YES 
user_id=290026
Originator: NO

Closing this issue - no objections.

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

Comment By: Karl Waclawek (kwaclaw)
Date: 2006-11-21 08:59

Message:
Logged In: YES 
user_id=290026
Originator: NO

This is related to issue #1597115 and I believe it is fixed in CVS,
as the proposed change seem already how it looks in CVS.
If no-one objects I will close this issue.

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

Comment By: Karl Waclawek (kwaclaw)
Date: 2006-09-22 09:53

Message:
Logged In: YES 
user_id=290026

Is this a bug in Cygwin? The Makefile looks OK to me.

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

Comment By: Miguel Company Company (uamike)
Date: 2006-09-22 09:25

Message:
Logged In: YES 
user_id=14562

I had exactly the same problem compiling in a Cygwin 
environment. The problem was that the C++ version of the 
test was built using the system default command, and not 
$(CXXCOMPILE). I modified the Makefile and worked. Here is 
the diff between the versions

175c175
< .SUFFIXES: .cpp .c .lo .o
---
> .SUFFIXES: .c .lo .o
179,180d178
< .cpp.o:
<       $(CXXCOMPILE) -o $@ -c $<


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

Comment By: Karl Waclawek (kwaclaw)
Date: 2006-08-08 10:46

Message:
Logged In: YES 
user_id=290026

Works fine for me.

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

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


More information about the Expat-bugs mailing list