ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] Linkinkg problem
Date: Sun, 4 Mar 2007 18:11:23 +0300
Message-ID: <679044850703040711k6ab15640s72495d2ef61cc19@mail.gmail.com> (raw)
In-Reply-To: <m31wk5dwby.fsf@evg.krastel.ru>

> ccache g++ audaciousplugin2.o audaciousinterface.o clientstubbase.o libimmscore.a  `pkg-config audacious glib --libs` -lglib \
>         -L. -lXss -lXext -lX11 -lpcre -lsqlite3 -lz  -ltag -L/usr/X11R6/lib \
>         -shared -Wl,-z,defs,-soname,libaudaciousimms2.so -o libaudaciousimms2.so
> audaciousinterface.o: In function `about':
> bmpinterface.c:(.text+0x74): undefined reference to `xmms_show_message'
> collect2: ld returned 1 exit status
> make[1]: *** [libaudaciousimms2.so] Error 1
> make: *** [all] Error 2
>
> Я в смущений: на случай с --as-needed это вроде не похоже (все объектники
> находятся до бибилиотек), нужный инклуд в bmpinterface.c присутствует
> (зависит от -DAUDACIOUS), -laudacious тоже в наличий. Практически каждый из
> плагинов пакета audacious-plugins успешно использует тот же самый
> xmms_show_message (правда, почему-то, ни один не слинкован с
> libaudacious.so). В чём фишка?
Hint: а в какой библиотеке находится символ xmms_show_message? Вот ее
то и надо добавить в линковку.

  reply	other threads:[~2007-03-04 15:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 12:31 Evgenii Terechkov
2007-03-04 15:11 ` Damir Shayhutdinov [this message]
2007-03-04 15:46   ` Evgenii Terechkov
2007-03-04 15:48     ` Andrey Rahmatullin
2007-03-04 17:06       ` Evgenii Terechkov
2007-03-04 15:51     ` Damir Shayhutdinov
2007-03-04 17:21       ` Evgenii Terechkov
2007-03-04 20:59         ` Dmitry V. Levin
2007-03-05  3:06           ` Evgenii Terechkov
2007-03-05 14:22             ` Dmitry V. Levin

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=679044850703040711k6ab15640s72495d2ef61cc19@mail.gmail.com \
    --to=damir@altlinux.org \
    --cc=devel@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 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