Re: Problems with building Amaya 8.4 on Redhat 7.3

On Wed, 21 Apr 2004 12:05:06 +0200
Christian Mondrup <scancm@biobase.dk> wrote:

> Dear Amaya team.
> 
> To build recent Amaya releases on my Redhat 7.3 stations has required 
> compiling from the source distribution. I'va been able to do so 
> successfully until version 8.3. But with version 8.4 the build fails 
> during make. The preceding configure run reports no errors.
> 
> I attach the output from make.
> 
> Best regards

Could you launch 
grep _errno_location  /usr/include/netdb.h  /usr/include/bits/errno.h

This is the result we have:
/usr/include/netdb.h:extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
/usr/include/netdb.h:  return *__h_errno_location () = __err;
/usr/include/netdb.h:# define h_errno (*__h_errno_location ())
/usr/include/bits/errno.h:extern int *__errno_location (void) __THROW __attribute__ ((__const__));
/usr/include/bits/errno.h:#   define __set_errno(val) (*__errno_location ()) = (val)
/usr/include/bits/errno.h:#   define errno (*__errno_location ())

In you case it seems that the two declarations differ.
The solution proposed Steven Gilham should work, but you have probably to
patches CFLAGS and CXXFLAGS.

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Wednesday, 21 April 2004 11:15:23 UTC