This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: can't compile dejagnu-980528 to run egcs testsuites
- To: Lou Langholtz <ldl at chpc dot utah dot edu>
- Subject: Re: can't compile dejagnu-980528 to run egcs testsuites
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 28 Aug 1998 00:58:50 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <35E5B952.B5A9857F@chpc.utah.edu>you write:
> Compiling dejagnu on a Linux 2.1.24 TurboLinux for PowerPC box results
> in the following conflict:
>
> tclMtherr.c: In function `matherr':
> tclMtherr.c:76: argument `xPtr' doesn't match prototype
> /usr/include/math.h:118: prototype declaration
>
> Seems to be because my /usr/include/math.h file does indeed support
> matherr but calls the exception structure as "struct __exception". Seems
> that dejagnu's configure then is getting confused and not doing the best
> thing. It claims "no" in checking for matherr support so
> tcl/unix/tclMtherr.c tries to compile in its own "int matherr(struct
> exception *xPtr)" function which breaks the fact that
> /usr/include/math.h does indeed support matherr and in fact defines the
> function as "int matherr __P ((struct __exception *));" where the
> __exception struct is:
This would be an autoconf or possibly a problem with configure.in in
the tcl subdir. You'll actually have to grope around the
configure/configure.in files to find out why it didn't find/like your
math.h
jeff