ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] rosegarden-1.2.3, scons build
Date: Sat, 3 Jun 2006 20:41:34 +0400
Message-ID: <20060603164134.GA14993@procyon.home> (raw)
In-Reply-To: <4481B422.4040207@altlinux.org>

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

On Sat, Jun 03, 2006 at 08:09:06PM +0400, Mikhail Yakshin wrote:
> g++ -Wl,--rpath=/usr/lib/qt3//lib -Wl,--rpath=/usr/lib
> -Wl,--rpath=/usr/lib/kde3 -lasound -lm -ldl -lpthread -ljack -llo -lXft
> -lXrender -lfontconfig -lfreetype -lz -lX11 -llrdf -o
[куча *.o]
> RGbuild/gui/xmlstorableevent.o -LRGbuild/base -LRGbuild/sound
> -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/qt3/lib -lasound -lm -ldl
> -lpthread -ljack -llrdf -llo -lXft -lXrender -lfontconfig -lfreetype -lz
> -lX11 -lqt-mt -lkdeui -lkdecore -lkdeprint -lkio -lRosegardenSequencer
> -lRosegardenSound -lbase
> RGbuild/sound/libRosegardenSound.a(DSSIPluginFactory.o): In function
> `Rosegarden::DSSIPluginFactory::discoverPlugins(QString)':DSSIPluginFactory.cpp:(.text+0xd55):
> undefined reference to `lrdf_get_default_uri'
> :DSSIPluginFactory.cpp:(.text+0xd6b): undefined reference to
> `lrdf_get_setting_values'
[прочие undefined]

Неправильный порядок библиотек в командной строке - внутрипакетные
библиотеки *.a, как и файлы *.o, должны быть указаны раньше других
библиотек, которые они используют.  (Кстати, по той же причине все
опции -l..., указанные в начале (до *.o), фактически бесполезны.)

> Т.е. ругается по сути из всех линкуемых туда библиотек - только на
> liblrdf. При этом в системе стоит и она, и liblrdf-devel. Думал, может
> быть дело в версии liblrdf - собрал последнюю - эффект тот же самый.

Возможно, до ругани на другие библиотеки дело просто не доходит.

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

      parent reply	other threads:[~2006-06-03 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-03 16:09 Mikhail Yakshin
2006-06-03 16:32 ` Alexey I. Froloff
2006-06-03 16:35 ` Led
2006-06-03 16:41 ` Sergey Vlasov [this message]

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=20060603164134.GA14993@procyon.home \
    --to=vsu@altlinux.ru \
    --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