testsuite fails at unit.cc

"" <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
Hi!

Used cvs checkout gdb+dejagnu and cvs checkout binutils. I did

"configure --prefix=$HOME/usr/local" and "make" and then "make install"

and then:

make check

said

line:/tmp/soft/src> make check

make[1]: Entering directory `/tmp/soft/src/bfd'

Making check in doc

make[2]: Entering directory `/tmp/soft/src/bfd/doc'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/bfd/doc'

Making check in po

make[2]: Entering directory `/tmp/soft/src/bfd/po'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/bfd/po'

make[2]: Entering directory `/tmp/soft/src/bfd'

make[2]: Nothing to be done for `check-am'.

make[2]: Leaving directory `/tmp/soft/src/bfd'

make[1]: Leaving directory `/tmp/soft/src/bfd'

make[1]: Entering directory `/tmp/soft/src/opcodes'

Making check in po

make[2]: Entering directory `/tmp/soft/src/opcodes/po'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/opcodes/po'

make[2]: Entering directory `/tmp/soft/src/opcodes'

make[2]: Nothing to be done for `check-am'.

make[2]: Leaving directory `/tmp/soft/src/opcodes'

make[1]: Leaving directory `/tmp/soft/src/opcodes'

make[1]: Entering directory `/tmp/soft/src/binutils'

Making check in doc

make[2]: Entering directory `/tmp/soft/src/binutils/doc'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/binutils/doc'

Making check in po

make[2]: Entering directory `/tmp/soft/src/binutils/po'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/binutils/po'

make[2]: Entering directory `/tmp/soft/src/binutils'

make  check-DEJAGNU

make[3]: Entering directory `/tmp/soft/src/binutils'

srcdir=`cd . && pwd`; export srcdir; \

r=`pwd`; export r; \

EXPECT=/tmp/soft/src/expect/expect; export EXPECT; \

if [ -f ./../expect/expect ]; then \

  TCL_LIBRARY=`cd ./../tcl/library && pwd`; \

  export TCL_LIBRARY; \

fi; \

runtest=/tmp/soft/src/dejagnu/runtest; \

if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \

  CC_FOR_TARGET="gcc-3.3 -L/tmp/soft/src/ld" CFLAGS_FOR_TARGET="-g -O2" \

        $runtest --tool binutils --srcdir ${srcdir}/testsuite \

                ; \

else echo "WARNING: could not find \`runtest'" 1>&2; :;\

fi

WARNING: Couldn't find the global config file.

WARNING: Couldn't find tool init file

Test Run By alexmalk on Wed Feb 25 18:29:17 2004

Native configuration is i686-pc-linux-gnu



                === binutils tests ===



Schedule of variations:

    unix



Running target unix

Using /tmp/soft/src/dejagnu/baseboards/unix.exp as board description file

for target.

Using /tmp/soft/src/dejagnu/config/unix.exp as generic interface file for

target.

Using /tmp/soft/src/binutils/testsuite/config/default.exp as

tool-and-target-specific interface file.

Running /tmp/soft/src/binutils/testsuite/binutils-all/ar.exp ...

Running /tmp/soft/src/binutils/testsuite/binutils-all/dlltool.exp ...

Running /tmp/soft/src/binutils/testsuite/binutils-all/hppa/objdump.exp ...

Running /tmp/soft/src/binutils/testsuite/binutils-all/nm.exp ...

Version /tmp/soft/src/binutils/nm-new 20040225

Running /tmp/soft/src/binutils/testsuite/binutils-all/objcopy.exp ...

Version /tmp/soft/src/binutils/objcopy 20040225

Running /tmp/soft/src/binutils/testsuite/binutils-all/objdump.exp ...

Version /tmp/soft/src/binutils/objdump 20040225

Running /tmp/soft/src/binutils/testsuite/binutils-all/readelf.exp ...

Version /tmp/soft/src/binutils/readelf 20040225

Running /tmp/soft/src/binutils/testsuite/binutils-all/size.exp ...

Version /tmp/soft/src/binutils/size 20040225

Running /tmp/soft/src/binutils/testsuite/binutils-all/windres/windres.exp

...



                === binutils Summary ===



# of expected passes            32

make[3]: Leaving directory `/tmp/soft/src/binutils'

make[2]: Leaving directory `/tmp/soft/src/binutils'

make[1]: Leaving directory `/tmp/soft/src/binutils'

make[1]: Entering directory `/tmp/soft/src/dejagnu'

Making check in doc

make[2]: Entering directory `/tmp/soft/src/dejagnu/doc'

make[2]: Nothing to be done for `check'.

make[2]: Leaving directory `/tmp/soft/src/dejagnu/doc'

make[2]: Entering directory `/tmp/soft/src/dejagnu'

make  check-DEJAGNU

make[3]: Entering directory `/tmp/soft/src/dejagnu'

cd testsuite ; make check

make[4]: Entering directory `/tmp/soft/src/dejagnu/testsuite'

Making check in libdejagnu

make[5]: Entering directory `/tmp/soft/src/dejagnu/testsuite/libdejagnu'

g++-3.3 -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.2\"  -I. -I.      -g -O2 -c

unit.cc

unit.cc:9:21: dejagnu.h: No such file or directory

unit.cc:13: error: 'TestState' is used as a type, but is not defined as a

type.

unit.cc:14: error: 'TestState' is used as a type, but is not defined as a

type.

unit.cc: In function `int main(int, char**)':

unit.cc:47: error: `outstate' undeclared (first use this function)

unit.cc:47: error: (Each undeclared identifier is reported only once for

each

   function it appears in.)

/usr/include/c++/3.3/streambuf:714: error: `std::basic_streambuf<_CharT,

   _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, int)

[with

   _CharT = char, _Traits = std::char_traits<char>]' is protected

unit.cc:56: error: within this context

unit.cc:67: error: `test' undeclared (first use this function)

unit.cc:70: error: `runtest' undeclared (first use this function)

make[5]: *** [unit.o] Error 1

make[5]: Leaving directory `/tmp/soft/src/dejagnu/testsuite/libdejagnu'

make[4]: *** [check-recursive] Error 1

make[4]: Leaving directory `/tmp/soft/src/dejagnu/testsuite'

make[3]: *** [check-DEJAGNU] Error 2

make[3]: Leaving directory `/tmp/soft/src/dejagnu'

make[2]: *** [check-am] Error 2

make[2]: Leaving directory `/tmp/soft/src/dejagnu'

make[1]: *** [check-recursive] Error 1

make[1]: Leaving directory `/tmp/soft/src/dejagnu'

make: *** [check-dejagnu] Error 2







I would expect make to terminate nicely, and don't produce any errors, but

he wouldn't...

And here is the configure output:







line:/tmp/soft/src> ./configure --prefix=$HOME/usr/local

loading cache ./config.cache

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking for a BSD compatible install... (cached) /usr/bin/install -c

checking for i686-pc-linux-gnu-ar... no

checking for ar... (cached) ar

checking for i686-pc-linux-gnu-as... no

checking for as... (cached) as

checking for i686-pc-linux-gnu-dlltool... no

checking for dlltool... (cached) dlltool

checking for i686-pc-linux-gnu-ld... no

checking for ld... (cached) ld

checking for i686-pc-linux-gnu-nm... no

checking for nm... (cached) nm

checking for i686-pc-linux-gnu-ranlib... no

checking for ranlib... (cached) ranlib

checking for i686-pc-linux-gnu-windres... no

checking for windres... (cached) windres

checking for i686-pc-linux-gnu-objcopy... no

checking for objcopy... (cached) objcopy

checking for i686-pc-linux-gnu-objdump... no

checking for objdump... (cached) objdump

checking for i686-pc-linux-gnu-ar... no

checking for ar... (cached) ar

checking for i686-pc-linux-gnu-as... no

checking for as... (cached) as

checking for i686-pc-linux-gnu-dlltool... no

checking for dlltool... (cached) dlltool

checking for i686-pc-linux-gnu-ld... no

checking for ld... (cached) ld

checking for i686-pc-linux-gnu-nm... no

checking for nm... (cached) nm

checking for i686-pc-linux-gnu-ranlib... no

checking for ranlib... (cached) ranlib

checking for i686-pc-linux-gnu-windres... no

checking for windres... (cached) windres

checking whether to enable maintainer-specific portions of Makefiles... no

creating ./config.status

creating Makefile



Regards,

sasha

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.