From: "Damir Shayhutdinov" <lost404@gmail.com>
To: alex783@hotbox.ru,
"ALT Linux Sisyphus discussion list"
<sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Сборка AfterStep 1.8
Date: Tue, 5 Dec 2006 12:07:58 +0300
Message-ID: <679044850612050107u3afa9481v538e3af2e373acdc@mail.gmail.com> (raw)
In-Reply-To: <4574B6B8.9080704@micmedia.ru>
> Может ли пересборка помочь этому древнему софту работать? Может кто-нить
> пересобирал себе относительно недавно? Или может помочь с пересборкой?
> Сейчас там вываливаются ошибки вида
>
> make[1]: Entering directory
> `/home/alexei/RPM/BUILD/AfterStep-1.8.11/src/Pager'
> gcc Pager.o x_pager.o ../Config/libasConfig.so
> ../../asimagelib/libasimage.so ../../lib/libafterstep.so -ljpeg -lpng
> -lz -lm -lXext -lX11 -lSM -lICE -lXpm -o Pager
> ../../asimagelib/libasimage.so: undefined reference to
> `png_create_read_struct'
> ../../asimagelib/libasimage.so: undefined reference to `png_set_gamma'
> ../../asimagelib/libasimage.so: undefined reference to
> `XpmReadFileToXpmImage'
> ../../asimagelib/libasimage.so: undefined reference to `jpeg_stdio_src'
Типичная проблема --as-needed
Решается просто (я это не раз описывал в рассылке) - надо найти где
создается библиотека libasimage.so (чутье показывает что это в
../asimagelib/Makefile) и добавить в строку линковки либы -lpng и
-ljpeg после перечисления всех .o файлов.
next prev parent reply other threads:[~2006-12-05 9:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-05 0:00 Alexei V. Mezin
2006-12-05 0:04 ` Pavlov Konstantin
2006-12-05 0:31 ` Alexei V. Mezin
2006-12-05 9:07 ` Damir Shayhutdinov [this message]
2006-12-06 12:08 ` Alexei V. Mezin
2006-12-06 13:29 ` Andrii Dobrovol`s`kii
2006-12-06 14:05 ` Alexei V. Mezin
2006-12-05 9:54 ` Sergey Vlasov
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=679044850612050107u3afa9481v538e3af2e373acdc@mail.gmail.com \
--to=lost404@gmail.com \
--cc=alex783@hotbox.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