W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2004

Re: Problems with building Amaya 8.4 on Redhat 7.3

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Wed, 21 Apr 2004 17:15:06 +0200
To: Christian Mondrup <scancm@biobase.dk>
Cc: www-amaya@w3.org
Message-Id: <20040421171506.256633f4.irene.vatton@inrialpes.fr>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:29 UTC