ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] __USE_XOPEN2K8
@ 2009-05-31 19:12 Хихин Руслан
  2009-05-31 19:21 ` Led
  2009-05-31 19:25 ` Dmitry V. Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Хихин Руслан @ 2009-05-31 19:12 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Здравствуйте !

В пакете cdrkit проявилось 
https://bugzilla.redhat.com/show_bug.cgi?id=493941

Не соображу как аккуратно с этим бороться. Из-за того, что 
почему-то при сборке пакета устанавливается масроc 
__USE_XOPEN2K8, часть функций переопределяется в stdio.h и 
unistd.h.  Как-бы мне его сбросить с наименьшими затратами?

-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:12 [devel] __USE_XOPEN2K8 Хихин Руслан
@ 2009-05-31 19:21 ` Led
  2009-05-31 19:25 ` Dmitry V. Levin
  1 sibling, 0 replies; 7+ messages in thread
From: Led @ 2009-05-31 19:21 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sunday, 31 May 2009 22:12:30 Хихин Руслан wrote:
> Здравствуйте !
>
> В пакете cdrkit проявилось
> https://bugzilla.redhat.com/show_bug.cgi?id=493941
>
> Не соображу как аккуратно с этим бороться. Из-за того, что
> почему-то при сборке пакета устанавливается масроc
> __USE_XOPEN2K8, часть функций переопределяется в stdio.h и
> unistd.h.  Как-бы мне его сбросить с наименьшими затратами?

Только ленивый не писал, и только ОЧЕНЬ ленивый не читал здесь про getline

-- 
Led

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:12 [devel] __USE_XOPEN2K8 Хихин Руслан
  2009-05-31 19:21 ` Led
@ 2009-05-31 19:25 ` Dmitry V. Levin
  2009-05-31 19:28   ` Dmitry V. Levin
  1 sibling, 1 reply; 7+ messages in thread
From: Dmitry V. Levin @ 2009-05-31 19:25 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Sun, May 31, 2009 at 11:12:30PM +0400, Хихин Руслан wrote:
> Здравствуйте !
> 
> В пакете cdrkit проявилось 
> https://bugzilla.redhat.com/show_bug.cgi?id=493941

Там речь идёт об unifdef.c из ядра, cdrkit к этому отношения не имеет.

> Не соображу как аккуратно с этим бороться.

Лучше адаптировать исходный код.

> Из-за того, что 
> почему-то при сборке пакета устанавливается масроc 
> __USE_XOPEN2K8,

В файле /usr/share/doc/glibc-2.10.1/NEWS.bz2 об этом написано:
* XPG7/POSIX 2008 compilation environment.  Many GNU-specific functions
  are now in POSIX.

> часть функций переопределяется в stdio.h и 
> unistd.h.  Как-бы мне его сбросить с наименьшими затратами?

Можете помедитировать над комментариями в файле /usr/include/features.h,
но, по возможности, POSIX 2008 лучше не сбрасывать.


-- 
ldv

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

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:25 ` Dmitry V. Levin
@ 2009-05-31 19:28   ` Dmitry V. Levin
  2009-05-31 19:48     ` Хихин Руслан
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry V. Levin @ 2009-05-31 19:28 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Sun, May 31, 2009 at 11:25:04PM +0400, Dmitry V. Levin wrote:
> On Sun, May 31, 2009 at 11:12:30PM +0400, Хихин Руслан wrote:
> > Здравствуйте !
> > 
> > В пакете cdrkit проявилось 
> > https://bugzilla.redhat.com/show_bug.cgi?id=493941
> 
> Там речь идёт об unifdef.c из ядра, cdrkit к этому отношения не имеет.

In file included from /usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/cd_misc.c:38:
/usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/../include/schily.h:193: error: conflicting types for 'getline'
/usr/include/stdio.h:653: note: previous declaration of 'getline' was here

Возьмите фикс у апстрима или посмотрите архив этого списка рассылки на
тему conflicting types for 'getline'.


-- 
ldv

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

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:28   ` Dmitry V. Levin
@ 2009-05-31 19:48     ` Хихин Руслан
  2009-05-31 19:59       ` Led
  0 siblings, 1 reply; 7+ messages in thread
From: Хихин Руслан @ 2009-05-31 19:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Здравствуйте Dmitry V. Levin
  В сообщении от 31 мая 2009 Dmitry V. Levin написал(a):
> On Sun, May 31, 2009 at 11:25:04PM +0400, Dmitry V. Levin 
wrote:
> > On Sun, May 31, 2009 at 11:12:30PM +0400, Хихин Руслан wrote:
> > > Здравствуйте !
> > >
> > > В пакете cdrkit проявилось
> > > https://bugzilla.redhat.com/show_bug.cgi?id=493941
> >
> > Там речь идёт об unifdef.c из ядра, cdrkit к этому отношения
> > не имеет.
>
> In file included from
> /usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/cd_misc.c:38:
> /usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/../include/schily.h:193:
> error: conflicting types for 'getline'
> /usr/include/stdio.h:653: note: previous declaration of
> 'getline' was here
>
> Возьмите фикс у апстрима или посмотрите архив этого списка
> рассылки на тему conflicting types for 'getline'.
Спасибо, нашёл пару патчей на тему замены функций getline на 
get_line и т.п. Если я не путаю с gcc,  можно было ещё 
прострастранство имён вводить.


-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:48     ` Хихин Руслан
@ 2009-05-31 19:59       ` Led
  2009-05-31 20:02         ` Хихин Руслан
  0 siblings, 1 reply; 7+ messages in thread
From: Led @ 2009-05-31 19:59 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sunday, 31 May 2009 22:48:21 Хихин Руслан wrote:
> Здравствуйте Dmitry V. Levin
>
>   В сообщении от 31 мая 2009 Dmitry V. Levin написал(a):
> > On Sun, May 31, 2009 at 11:25:04PM +0400, Dmitry V. Levin
>
> wrote:
> > > On Sun, May 31, 2009 at 11:12:30PM +0400, Хихин Руслан wrote:
> > > > Здравствуйте !
> > > >
> > > > В пакете cdrkit проявилось
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=493941
> > >
> > > Там речь идёт об unifdef.c из ядра, cdrkit к этому отношения
> > > не имеет.
> >
> > In file included from
> > /usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/cd_misc.c:38:
> > /usr/src/RPM/BUILD/cdrkit-1.1.9/wodim/../include/schily.h:193:
> > error: conflicting types for 'getline'
> > /usr/include/stdio.h:653: note: previous declaration of
> > 'getline' was here
> >
> > Возьмите фикс у апстрима или посмотрите архив этого списка
> > рассылки на тему conflicting types for 'getline'.
>
> Спасибо, нашёл пару патчей на тему замены функций getline на
> get_line и т.п. Если я не путаю с gcc,  можно было ещё
> прострастранство имён вводить.

Путаете. С C++

-- 
Led

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

* Re: [devel] __USE_XOPEN2K8
  2009-05-31 19:59       ` Led
@ 2009-05-31 20:02         ` Хихин Руслан
  0 siblings, 0 replies; 7+ messages in thread
From: Хихин Руслан @ 2009-05-31 20:02 UTC (permalink / raw)
  To: devel

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

Здравствуйте Led
  В сообщении от 31 мая 2009 Led написал(a):
> Путаете. С C++

Я то-же так подумал.

-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2009-05-31 20:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-31 19:12 [devel] __USE_XOPEN2K8 Хихин Руслан
2009-05-31 19:21 ` Led
2009-05-31 19:25 ` Dmitry V. Levin
2009-05-31 19:28   ` Dmitry V. Levin
2009-05-31 19:48     ` Хихин Руслан
2009-05-31 19:59       ` Led
2009-05-31 20:02         ` Хихин Руслан

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