esound 0.2.7




I have done esound 0.2.7 with egcs 1.1.1 on the following platforms: 


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

It was succesfull except on alpha-dec-osf4.0b where the configure
stopped with
 : :checking for sys/soundlib.h... no
 : :checking for sys/asoundlib.h... no
 :*:configure: error: Could not find a support sound driver
 
On powerpc-ibm-aix4.3.2.0, there was a compilation problem as 
#define HAVE_NANOSLEEP 1
was in the config.h. Then esd.,c requires the struct timespec which is
only defined in <time.h> not <sys/time.h> and also only when the macro 
_XOPEN_SOURCE is set to 500:

#if _XOPEN_SOURCE==500
struct timespec {
        time_t tv_sec;         /* seconds */
        long   tv_nsec;        /* and nanoseconds */
};

struct itimerspec {
...
The correction is to undefine HAVE_NANOSLEEP in config.h.

Amicalement.


-- 
  ************************************************************************
  *  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]