ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] erlang: asking for a hint, possibly with --as-needed
Date: Sat, 10 Feb 2007 23:21:50 +0300
Message-ID: <20070210202150.GH7228@procyon.home> (raw)
In-Reply-To: <45CE2167.5040900@altlinux.org>

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

On Sat, Feb 10, 2007 at 10:47:51PM +0300, Mikhail Yakshin wrote:
> gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -fno-stack-protector -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -Winline -fno-strict-aliasing -I. -I../include
> -Iconnect -Iencode -Idecode -Imisc -Iepmd -Iregistry -Ii686-pc-linux-gnu
>   -Ilegacy -o
> /home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/bin/i686-pc-linux-gnu/erl_call
> prog/erl_call.c prog/erl_start.c \
> 	
> -L/home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/obj/i686-pc-linux-gnu
> -lei -lrt -lresolv -lnsl
> /tmp/.private/greycat/ccawXslX.o: In function `main':
> erl_call.c:(.text+0x1994): undefined reference to `__erl_errno'
> /home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/obj/i686-pc-linux-gnu/libei.a(ei_connect.o):
> In function `ei_do_receive_msg':
> ei_connect.c:(.text+0x2d6): undefined reference to `__erl_errno'
> ei_connect.c:(.text+0x319): undefined reference to `__erl_errno'
> ei_connect.c:(.text+0x331): undefined reference to `__erl_errno'
> /home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/obj/i686-pc-linux-gnu/libei.a(ei_connect.o):
> In function `ei_rpc_from':
> ei_connect.c:(.text+0x512): undefined reference to `__erl_errno'
> /home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/obj/i686-pc-linux-gnu/libei.a(ei_connect.o):ei_connect.c:(.text+0x532):
> more undefined references to `__erl_errno' follow
> collect2: ld returned 1 exit status

А в какой библиотеке определяется __erl_errno?

Тут дело, похоже, даже не в --as-needed, а в отсутствии нужной
библиотеки в командной строке - перед erl_call.c никаких библиотек,
которые могли бы потеряться из-за --as-needed, нет.  Возможно, где-то
опять сдурел какой-то configure.

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

  parent reply	other threads:[~2007-02-10 20:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10 19:47 Mikhail Yakshin
2007-02-10 19:50 ` Michael Shigorin
2007-02-10 19:59   ` Mikhail Yakshin
2007-02-10 20:18     ` Sergey Vlasov
2007-02-10 20:21 ` Sergey Vlasov [this message]
2007-02-10 20:23 ` Dmitry V. Levin
2007-02-11 20:24   ` Mikhail Yakshin
2007-02-11 21:33     ` Dmitry V. Levin
2007-02-11  2:17 ` Alexey Borovskoy

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=20070210202150.GH7228@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