[Expat-discuss] expact, make check, no check.h

Robert Lopez robert.lopez@abq.sc.philips.com
Tue, 1 Oct 2002 12:46:15 -0600 (MDT)


HP-UX  B.11.00 U 9000/800 
Situation: database went to 64-bit; converting all apps
to 64-bit.  Rebuilding apache, apache wanted new expat
lib. Building new expat lib, "make check" fails after
successful build.

Build summary:
% pwd
/usr/local/build/expat-1.95.5
% mkdir +build
% cd +build
% ../configure --build=hppa64-hp-hpux11.00 --host=hppa64-hp-hpux11.00 --with-gnu-ld
[must use gnu-ld for 64-bit apps compiled with gcc]
[configure had not warnings or errors]
% make
/bin/sh ./libtool --silent --mode=compile hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o lib/xmlparse.lo -c ../lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o lib/xmltok.lo -c ../lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o lib/xmlrole.lo -c ../lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -no-undefined -version-info 4:0:4 -rpath /usr/local/lib  -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o xmlwf/xmlwf.o -c ../xmlwf/xmlwf.c
hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o xmlwf/xmlfile.o -c ../xmlwf/xmlfile.c
hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o xmlwf/codepage.o -c ../xmlwf/codepage.c
hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o xmlwf/readfilemap.o -c ../xmlwf/readfilemap.c
../xmlwf/readfilemap.c: In function `filemap':
../xmlwf/readfilemap.c:61: warning: implicit declaration of function `read'
../xmlwf/readfilemap.c:64: warning: implicit declaration of function `close'
/bin/sh ./libtool --silent --mode=link hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I.  -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libexpat.la
% make check
hppa64-hp-hpux11.00-gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../lib -I. -o tests/runtests.o -c ../tests/runtests.c
../tests/runtests.c:2:19: check.h: No such file or directory
../tests/runtests.c: In function `basic_setup':
../tests/runtests.c:19: warning: implicit declaration of function `fail'
../tests/runtests.c: At top level:
../tests/runtests.c:68: warning: return type defaults to `int'
../tests/runtests.c:68: warning: function declaration isn't a prototype
../tests/runtests.c: In function `START_TEST':
../tests/runtests.c:76: warning: control reaches end of non-void function
../tests/runtests.c: At top level:
../tests/runtests.c:80: parse error before "START_TEST"
../tests/runtests.c:81: warning: return type defaults to `int'
../tests/runtests.c:81: warning: function declaration isn't a prototype
<...snip...>
../tests/runtests.c:875: warning: implicit declaration of function `srunner_set_fork_status'
../tests/runtests.c:875: `CK_FORK' undeclared (first use in this function)
../tests/runtests.c:875: `CK_NOFORK' undeclared (first use in this function)
../tests/runtests.c:876: warning: implicit declaration of function `srunner_run_all'
../tests/runtests.c:877: warning: implicit declaration of function `srunner_ntests_failed'
../tests/runtests.c:878: warning: implicit declaration of function `srunner_free'
../tests/runtests.c:879: warning: implicit declaration of function `suite_free'
make: *** [tests/runtests.o] Error 1

I assume I should not install after the checks/tests
failing. Any idea what has gone wrong?