ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed)
  @ 2007-06-24 10:05   ` Michael Shigorin
  2007-06-24 12:00     ` Denis Smirnov
  2007-06-25 19:20     ` Sergey Vlasov
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Shigorin @ 2007-06-24 10:05 UTC (permalink / raw)
  To: Denis Smirnov; +Cc: devel

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'

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed)
  2007-06-24 10:05   ` [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed) Michael Shigorin
@ 2007-06-24 12:00     ` Denis Smirnov
  2007-06-25 19:20     ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Denis Smirnov @ 2007-06-24 12:00 UTC (permalink / raw)
  To: devel

2007/6/24, Michael Shigorin <mike@osdn.org.ua>:

> > Признавайся, не ты ли разломал?
> Пошли в 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'
>
> --
>  ---- WBR, Michael Shigorin <mike@altlinux.ru>
>   ------ Linux.Kiev http://www.linux.kiev.ua/
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed)
  2007-06-24 10:05   ` [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed) Michael Shigorin
  2007-06-24 12:00     ` Denis Smirnov
@ 2007-06-25 19:20     ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2007-06-25 19:20 UTC (permalink / raw)
  To: devel; +Cc: Denis Smirnov

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-25 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-24 10:05   ` [devel] q: libalsa headers broken? (was: Fwd: iaxclient-svn20060626-alt1: i586 rebuild failed) Michael Shigorin
2007-06-24 12:00     ` Denis Smirnov
2007-06-25 19:20     ` Sergey Vlasov

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