From: Takashi Iwai Subject: Re: Building trouble - redefinition of struct timeval Date: Fri, 27 Jun 2008 16:08:05 +0200 Message-ID: References: <20080625135409.236240@gmx.net> <20080626084032.261430@gmx.net> <20080627135815.163870@gmx.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A833D24455 for ; Fri, 27 Jun 2008 16:08:06 +0200 (CEST) In-Reply-To: <20080627135815.163870@gmx.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Caloro Maurizio Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 27 Jun 2008 15:58:15 +0200, Caloro Maurizio wrote: > > > >> > >>Basically removing the block ifdef POSIX_C_SOURCE should suffice. > >>You need the typedefs below. > >> > >>Takashi > >> > > > Hello Takashi > > Thanks for your fast and professional feedback, so i have to many changes now > that this script run on me Netbsd machine.....so now i think i need your help > > Please ... what do you think offer this error block.... > thanks for your answer > MC > > ....run.....run....run.....run....run.....run > gmake[2]: Nothing to be done for `all-am'. > gmake[2]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/src' > gmake[1]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/src' > Making all in modules > gmake[1]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/modules' > Making all in mixer > gmake[2]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer' > Making all in simple > gmake[3]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer/simple' > gmake[3]: Nothing to be done for `all'. > gmake[3]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer/simple' > gmake[3]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer' > gmake[3]: Nothing to be done for `all-am'. > gmake[3]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer' > gmake[2]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/modules/mixer' > gmake[2]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/modules' > gmake[2]: Nothing to be done for `all-am'. > gmake[2]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/modules' > gmake[1]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/modules' > Making all in aserver > gmake[1]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/aserver' > /bin/ksh ../libtool --tag=CC --mode=link gcc -g -O2 -o aserver aserver.o ../src/libasound.la > gcc -g -O2 -o aserver aserver.o ../src/.libs/libasound.a -lm -lpthread -lrt > ../src/.libs/libasound.a(pcm_linear.o): In function `snd1_pcm_linear_convert': > /usr/source/alsa-lib-1.0.17rc2/src/pcm/plugin_ops.h:307: undefined reference to `__swab16' These must be the macros defined in . I don't know how is it in NetBSD, but these are stuff to swap bytes in 16 and 32 bits byte arrays. Takashi