ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Mike Grozak <mike@tversu.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Сборка Yate
Date: Wed, 15 Oct 2008 12:19:31 +0400
Message-ID: <48F5A793.4020505@tversu.ru> (raw)

Всем привет!

При попытке собрать Yate вывелось следующее:
http://pastebin.ca/1227610

g++ -Wall  -o yate -lpthread libyate.so main.o
main.o: In function `main':
main.cpp:(.text+0x2e): undefined reference to 
`TelEngine::Engine::main(int, char const**, char const**, 
TelEngine::Engine::RunMode, bool)'
collect2: выполнение ld завершилось с кодом возврата 1
make: *** [yate] Ошибка 1

Конфигурировалось всё простейшим ./configure, который завершился без 
каких-либо ошибок.

при том, что если команду g++ -Wall  -o yate -lpthread libyate.so main.o 
заменить на
g++ -Wall  -o yate main.o engine/*.o -lpthread -ldl

то engine соберётся прекрасно. Но дальнейшая сборка выводит огромное 
количество ошибок.

Что можно сделать в этой ситуации?

---
WBR, Mike Grozak, TvSU IC


             reply	other threads:[~2008-10-15  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15  8:19 Mike Grozak [this message]
2008-10-15  8:34 ` Mike Grozak
2008-10-15  9:45   ` Motsyo Gennadi aka Drool
2008-10-15  9:59     ` Michael Shigorin
2008-10-15 10:38       ` Mike Grozak
2008-10-16  6:38         ` Eugene Prokopiev
2008-10-16  6:59           ` Mike Grozak

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=48F5A793.4020505@tversu.ru \
    --to=mike@tversu.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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