libghttp 0.99.2




I generated succesfully libghttp 0.99.2 with egcs 1.1.1 on the
following platforms: 

sparc-sun-solaris2.6
i686-pc-linux-gnu
alpha-dec-osf4.0b
hppa1.1-hp-hpux10.20
powerpc-ibm-aix4.3.2.0
mips-sgi-irix6.5

All was ok except:

- on hppa1.1-hp-hpux10.20, the macro _XOPEN_SOURCE_EXTENDED has to be
defined to get h_errno declared: error is

: :/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libghttp\" -DVERSION=\"0.99.2\" -DSTDC_HEADERS=1  -I. -I.    -O2 -c ghttp.c
 : :gcc -DPACKAGE=\"libghttp\" -DVERSION=\"0.99.2\" -DSTDC_HEADERS=1 -I. -I. -O2 -c -fPIC -DPIC ghttp.c
 :*:ghttp.c: In function `ghttp_process':
 :*:ghttp.c:345: `h_errno' undeclared (first use in this function)
 :*:ghttp.c:345: (Each undeclared identifier is reported only once
 :*:ghttp.c:345: for each function it appears in.)
 :*:gmake: *** [ghttp.lo] Error 1

   Solution is to edit http_trans.h to:

#include <sys/types.h>
#include <sys/socket.h>
#define _XOPEN_SOURCE_EXTENDED  
#include <netinet/in.h>
#include <netdb.h>
#undef _XOPEN_SOURCE_EXTENDED

  ** This was already reported for each previous version of libghttp.

Amicalement.
Philippe.

-- 
  ************************************************************************
  *  Philippe Defert: Computing and Networks Division                    *
  *                   CERN,  European Laboratory for Particle Physics    *
  ************************************************************************
  * URL: http://wwwcn.cern.ch/~defert | E*mail: Philippe.Defert@cern.ch  *
  ************************************************************************
  *      Un monde nouveau, tu comprends                          ////\   *
  *      Rien ne sera plus jamais comme avant                    \\\//   *
  *      C'est la fin de l'histoire, le rouge apres le noir       | |    *
  *                                                  J.J. Goldman | |    *  
  ************************************************************************



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