dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DejaGnu] DejaGNU on HP-UX


From: bemis
Subject: Re: [DejaGnu] DejaGNU on HP-UX
Date: Thu, 09 May 2002 11:17:11 -0400

the compiler does not know where your libraries are for some reason.
in your make file for dejagnu there is a includedir=<should be your libraries>
you can hardcode it in or specify when you run make by setting the environment 
variable includedir=<pathto libs>
then use the --environmentoverrides flag for make
I have never been able to make check on dejagnu-1.4.2.  I have been able to on 
1.4.1 though.  I am running RH6.2 on an alpha, and I try compiling make check 
with gcc-2.95.3,
gcc-3.0.4 with no success using 1.4.2.
-matt
ps all the errors like "endl" are from the missing libraries.


"King, Daniel" wrote:

> Can anyone point me to a source of information on compiling DejaGNU 1.4.2 on 
> HP-UX 11.0?  I seem to be having some trouble with the make check.  Here is 
> where the trouble starts:
>
> make[4]: Entering directory 
> `/usr/tab/src/gnu/dejagnu-1.4.2/testsuite/libdejagnu'
> g++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.2\"  -I. -I.      -I../.. -g -c 
> unit.cc
> cc1plus: warning: -g is only supported when using GAS on this processor,
> cc1plus: warning: -g option disabled.
> unit.cc:4:20: iostream: No such file or directory
> unit.cc:6:18: string: No such file or directory
>
> ... many errors omitted, then make check finishes with:
>
> ../../dejagnu.h:195: `endl' undeclared in namespace `std'
> ../../dejagnu.h: At global scope:
> ../../dejagnu.h:203: ISO C++ forbids defining types within return type
> ../../dejagnu.h:203: extraneous `int' ignored
> ../../dejagnu.h:203: semicolon missing after declaration of `class TestState'
> ../../dejagnu.h:206: syntax error before `(' token
> unit.cc:18: 'string' is used as a type, but is not defined as a type.
> unit.cc: In function `int main(int, char**)':
> unit.cc:56: `cout' undeclared (first use this function)
> unit.cc:59: `class TestClass1' has no member named `tname'
> unit.cc:61: `class TestClass1' has no member named `tname'
> unit.cc:63: `class TestClass1' has no member named `tname'
> unit.cc:69: `strncmp' undeclared (first use this function)
> make[4]: *** [unit.o] Error 1
> make[4]: Leaving directory 
> `/usr/tab/src/gnu/dejagnu-1.4.2/testsuite/libdejagnu'
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory `/usr/tab/src/gnu/dejagnu-1.4.2/testsuite'
> make[2]: *** [check-DEJAGNU] Error 2
> make[2]: Leaving directory `/usr/tab/src/gnu/dejagnu-1.4.2'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/usr/tab/src/gnu/dejagnu-1.4.2'
> make: *** [check-recursive] Error 1
>
> Any help is greatly appreciated.
>
> A. Daniel King, System Analyst
> Fiserv - Atlanta Center
> 1475 Peachtree Street, NE - Suite 700
> Atlanta, GA 30309
> 404-873-2851 x2034
>
> _______________________________________________
> DejaGnu mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/dejagnu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]