ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Ошибки при сборке libstk
@ 2007-11-20 20:44 Slava Dubrovskiy
  2007-11-20 21:20 ` Alex Myltsev
  0 siblings, 1 reply; 3+ messages in thread
From: Slava Dubrovskiy @ 2007-11-20 20:44 UTC (permalink / raw)
  To: Devel

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

Не знаю я C, подскажите, что с этим делать?

 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -D_REENTRANT -I/usr/include/directfb
-I/usr/include/freetype2 -I/usr/include/libpng12 -I..
-DPACKAGE_DATA_DIR=\"/usr/share\"
-DPACKAGE_PIXMAPS_DIR=\"/usr/share/libstk/pixmaps\"
-DPACKAGE_FONTS_DIR=\"/usr/share/libstk/fonts\" -pipe -Wall -O2
-march=i586 -mtune=i686 -Wall -W -Wno-switch -pedantic -pthread -c
backend_dfb.cpp  -fPIC -DPIC -o .libs/backend_dfb.o
In file included from ../libstk/backend_dfb.h:18,
                 from backend_dfb.cpp:14:
/usr/include/directfb/directfb.h:55:39: warning: ISO C does not permit
named variadic macros
/usr/include/directfb/directfb.h:705: error: comma at end of enumerator list
/usr/include/directfb/directfb.h:837: error: comma at end of enumerator list
/usr/include/directfb/directfb.h:955: error: comma at end of enumerator list
/usr/include/directfb/directfb.h:1407: error: comma at end of enumerator
list
/usr/include/directfb/directfb.h:1442: error: comma at end of enumerator
list
/usr/include/directfb/directfb.h:2236: error: comma at end of enumerator
list
/usr/include/directfb/directfb.h:3076: error: comma at end of enumerator
list
/usr/include/directfb/directfb.h:5481: error: comma at end of enumerator
list
make[2]: *** [backend_dfb.lo] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/libstk-20061117/libstk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/libstk-20061117/libstk'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/libstk-20061117'
error: Bad exit status from /usr/src/tmp/rpm-tmp.47289 (%build)

-- 
WBR,
Dubrovskiy Vyacheslav




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

* Re: [devel] Ошибки при сборке libstk
  2007-11-20 20:44 [devel] Ошибки при сборке libstk Slava Dubrovskiy
@ 2007-11-20 21:20 ` Alex Myltsev
  2007-11-21 17:14   ` Slava Dubrovskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Myltsev @ 2007-11-20 21:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Nov 20, 2007 11:44 PM, Slava Dubrovskiy <slava@tangramltd.com> wrote:
> Не знаю я C, подскажите, что с этим делать?
Не знаете вы в данном случае C++.

>  i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL
> ...
> -march=i586 -mtune=i686 -Wall -W -Wno-switch -pedantic -pthread -c
> ...
> /usr/include/directfb/directfb.h:705: error: comma at end of enumerator list
Убрать -pedantic из опций компилятора.

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

* Re: [devel] Ошибки при сборке libstk
  2007-11-20 21:20 ` Alex Myltsev
@ 2007-11-21 17:14   ` Slava Dubrovskiy
  0 siblings, 0 replies; 3+ messages in thread
From: Slava Dubrovskiy @ 2007-11-21 17:14 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Alex Myltsev пишет:
> On Nov 20, 2007 11:44 PM, Slava Dubrovskiy <slava@tangramltd.com> wrote:
>   
>> Не знаю я C, подскажите, что с этим делать?
>>     
> Не знаете вы в данном случае C++.
>   
Увы. :-(
>>  i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL
>> ...
>> -march=i586 -mtune=i686 -Wall -W -Wno-switch -pedantic -pthread -c
>> ...
>> /usr/include/directfb/directfb.h:705: error: comma at end of enumerator list
>>     
> Убрать -pedantic из опций компилятора.
>   
Спасибо. помогло.

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

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

end of thread, other threads:[~2007-11-21 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 20:44 [devel] Ошибки при сборке libstk Slava Dubrovskiy
2007-11-20 21:20 ` Alex Myltsev
2007-11-21 17:14   ` Slava Dubrovskiy

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