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

Re: alsa-lib error de compilación



El Wed, Feb 02, 2000 at 07:12:43PM -0400,
Felix Navarro dijo:

> Saludos a todos, tengo el siguiente problema al compilar los modulos de alsa
> (versión 0.5.1a) en potato, los drivers se compilan perfectamente, pero las
> librerias me devuelven el siguiente error al realizar la operación:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g -O2 -c 
>  -fPIC -DPIC linear.c -o .libs/linear.lo
> make[3]: Leaving directory `/usr/src/alsa-lib-0.5.1a/src/pcm/plugin'
> make[2]: Leaving directory `/usr/src/alsa-lib-0.5.1a/src/pcm'
> make[1]: Leaving directory `/usr/src/alsa-lib-0.5.1a/src'
> In file included from /usr/include/linux/asound.h:38,
>                  from ../../../include/asoundlib.h:25,
>                  from ../pcm_local.h:22,
>                  from linear.c:36:
> /usr/include/netinet/in.h:204: conflicting types for `ntohl'
> /usr/include/asm/byteorder.h:22: previous declaration of `ntohl'
> /usr/include/netinet/in.h:206: conflicting types for `htonl'
> /usr/include/asm/byteorder.h:24: previous declaration of `htonl'
> make[3]: *** [linear.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> Esto me sucede con los kernel 2.2.13 y 2.2.14.
> Gracias de antemano por cualquier ayuda que puedan prestarme.

Elimina el #include <netinet/in.h> de /usr/include/linux/asound.h, ya que se
intenta incluir por segunda vez ese fichero.

Salu2, Netman.

-- 
Imbesi's Law with Freeman's Extension:
        In order for something to become clean, something else must
        become dirty; but you can get everything dirty without getting
        anything clean.
  
Powered by Debian/GNU Linux 2.2 - Kernel 2.2.14

Attachment: pgpEk5I06mnwg.pgp
Description: PGP signature


Reply to: