ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexey Shabalin" <a.shabalin@gmail.com>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] syntax error near unexpected token `GTK,'
Date: Wed, 8 Oct 2008 12:49:01 +0400
Message-ID: <b966c1e40810080149h71beb9edsd4aa7bb924b7372f@mail.gmail.com> (raw)
In-Reply-To: <48EBEB13.7040100@ukr.net>

8 октября 2008 г. 3:04 пользователь K. A. Bylym написал:
> Yury Aliaev пишет:
>>
>> K. A. Bylym scripsit:
>>>
>>> Сборка вылетает с сообщением
>>> ./configure: line 8815: syntax error near unexpected token `GTK,'
>>> ./configure: line 8815: `               PKG_CHECK_MODULES(GTK,
>>
>> Кажись я понял. В configure макросы должны раскрываться, и
>> PKG_CHECK_MODULES в явном виде не должно присутствовать. Попробуйте перед
>> запуском autoconf сказать aclocal, чтобы для всех макросов подгрузились
>> шаблоны для их раскрытия.
>
> В спеке заменил %__autoconf на %__autoreconf (еще не знаю, насколько это
> правильно). Затык на PKG_CHECK_MODULES исчез, но появилось новое.

надо использовать %autoreconf

> Множественные
> --8<--
> ../../libAfterStep/libAfterStep.so: undefined reference to `get_text_size'
> ../../libAfterStep/libAfterStep.so: undefined reference to
> `overlay_scanlines'
> ../../libAfterStep/libAfterStep.so: undefined reference to `flush_shm_cache'
> ../../libAfterStep/libAfterStep.so: undefined reference to
> `set_xml_image_manager'
это не знаю с чем долинковывать. может внутри AfterStep какие-то
библиотеки есть.

> ../../libAfterStep/libAfterStep.so: undefined reference to
> `XineramaQueryScreens'

findsym XineramaQueryScreens
/usr/lib/libXinerama.so: 00000930 T XineramaQueryScreens
/usr/lib/libXinerama.so.1: 00000930 T XineramaQueryScreens
надо долинковать с -lXinerama

> -->8--
> и
> --8<--
> verify-elf: ERROR: ./usr/lib/libAfterStep.so.1.14: undefined symbol:
> alphablend_scanlines
> verify-elf: ERROR: ./usr/lib/libAfterStep.so.1.14: undefined symbol:
> add_scanlines
> verify-elf: ERROR: ./usr/lib/libAfterStep.so.1.14: undefined symbol:
> colorize_scanlines
> verify-elf: ERROR: ./usr/lib/libAfterStep.so.1.14: undefined symbol:
> darken_scanlines
Это тоже недолинкованность. С чем - не знаю.

> -->8--
> Следствие ли это замены макросов в спеке или неверные зависимости? В общем,
> куда идти далее?
это "недолинкованность". может быть как следствием ошибок в
Makefile.am - отсутствие линковки с нужными библиотеками, или не
правильный порядок уазания (библиотеки для линковки обязательно должны
быть после всяких CFLAGS. таких проблем можно ожидать при
использовании LDFLAGS и отсутствии LIBADD).

-- 
Alexey Shabalin

  reply	other threads:[~2008-10-08  8:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07  6:43 K. A. Bylym
2008-10-07  8:29 ` Yury Aliaev
2008-10-07  9:07   ` K. A. Bylym
2008-10-07 10:55     ` Alexey Shabalin
2008-10-07 11:20       ` K. A. Bylym
2008-10-07 13:00     ` Andrii Dobrovol`s`kii
2008-10-07 13:17       ` K. A. Bylym
2008-10-07 13:25   ` K. A. Bylym
2008-10-07 14:06 ` Yury Aliaev
2008-10-07 23:04   ` K. A. Bylym
2008-10-08  8:49     ` Alexey Shabalin [this message]
2008-10-08 11:46       ` Yury Aliaev
2008-10-18 20:22     ` [sisyphus] --as-needed Michael Shigorin

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=b966c1e40810080149h71beb9edsd4aa7bb924b7372f@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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