ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Denis Smirnov <mithraen@freesource.info>
Subject: Re: [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed)
Date: Mon, 25 Jun 2007 23:20:12 +0400
Message-ID: <20070625192012.GA4915@procyon.home> (raw)
In-Reply-To: <20070624100551.GB15594@osdn.org.ua>

[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]

On Sun, Jun 24, 2007 at 01:05:51PM +0300, Michael Shigorin wrote:
> On Sun, Jun 24, 2007 at 02:33:56AM +0400, Denis Smirnov wrote:
> > Признавайся, не ты ли разломал?
> 
> Пошли в devel@.  Я не разламывал, а обновлял, разламывать
> эти друзья и сами неплохо управляются.
> 
> > ---------- Forwarded message ----------
> > 
> > Package: iaxclient-svn20060626-alt1
> > Packager: Denis Smirnov <mithraen@altlinux>
> > Status: i586 rebuild failed.
> > Please investigate.
> > 
> > Why:
> [...]
> > cc -I. -Igsm/inc -Iportaudio/pa_common -Iportaudio/pablio
> > -Iportmixer/px_common -Ilibspeex/include --std=c99 -Wall
> > -Wmissing-noreturn -fPIC -g -O2 -DLIBVER='"SVN exported"'
> > -DSPEEX_PREPROCESS=1 -DNEWJB -DCODEC_ILBC -DAUDIO_ALSA -Ilibiax2/src
> > -DLIBIAX  -DSPEEX_EC=1 -DLINUX -fPIC   -c -o audio_alsa.o audio_alsa.c
> > In file included from /usr/include/alsa/asoundlib.h:44,
> >                 from audio_alsa.c:20:
> > /usr/include/alsa/global.h:134: error: redefinition of 'struct timeval'
> > /usr/include/alsa/global.h:139: error: redefinition of 'struct timespec'
> > audio_alsa.c: In function 'alsa_initialize':
> > audio_alsa.c:134: warning: unused variable 'buf'
> > audio_alsa.c:132: warning: unused variable 'i'
> > make: *** [audio_alsa.o] Error 1
> > make: Leaving directory `/usr/src/RPM/BUILD/iaxclient-svn20060626/lib'

Автор изменения пока так и не ответил, зачем это было нужно.
Вероятно, придётся как минимум убрать из alsa/global.h собственные
определения struct timeval и struct timespec, и, возможно, заменить
#include <time.h> там на что-то типа <sys/select.h> (<time.h> не
определяет struct timeval вообще (хотя заголовкам libalsa это не
мешает), а struct timespec определяет только при отсутствии опций типа
-ansi или -std=c99).  Хотя можно и не менять - в конце концов, в
предыдущих версиях всё было именно так, и работало.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2007-06-25 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-24 10:05   ` Michael Shigorin
2007-06-24 12:00     ` Denis Smirnov
2007-06-25 19:20     ` Sergey Vlasov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070625192012.GA4915@procyon.home \
    --to=vsu@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=mithraen@freesource.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git