From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 10 Feb 2007 23:23:23 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20070210202323.GB11298@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <45CE2167.5040900@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <45CE2167.5040900@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] erlang: asking for a hint, possibly with --as-needed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 20:23:23 -0000 Archived-At: List-Archive: List-Post: --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 10, 2007 at 10:47:51PM +0300, Mikhail Yakshin wrote: > =F1 =D4=D5=D4 =D7=DA=D1=CC=D3=D1 =C7=CC=CF=C2=C1=CC=D8=CE=CF =D0=C5=D2=C5= =CC=CF=D0=C1=DE=C9=D7=C1=D4=D8 Erlang =FA=CE=C1=DE=C9=D4, =D7=D3=C5=CF=C2=DD=C5=C5 =D3=DE=C1=D3=D4=D8=C5 =CE=C5 = =DA=C1 =C7=CF=D2=C1=CD=C9. :) > 2. =FC=D2=CC=C1=CE=C7 - =DC=D4=CF =C4=CF=D7=CF=CC=D8=CE=CF =CF=C2=DF=C5= =CD=CE=D9=CA =D0=C1=CB=C5=D4, =D3=CF=C2=C9=D2=C1=C5=D4=D3=D1 =C7=C4=C5-=D4= =CF =D0=CF 30-40 > =CD=C9=CE=D5=D4 =CE=C1 =D3=C2=CF=D2=CB=D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=C1=CA=D4=C9 =DE=D4=CF-=D4=CF =D0=CF=CC=D5=DE=DB=C5. > 4. =F3=C1=CD=C1 =D3=C2=CF=D2=CB=C1 =D0=C5=D3=D4=D2=C9=D4 =C2=CF=CC=D8=DB= =C9=CD =CB=CF=CC=C9=DE=C5=D3=D4=D7=CF=CD warning'=CF=D7 =CF=C2 undefined > symbol =D7 verify-elf (=D0=CF=D4=CF=CD=D5 =DE=D4=CF =D4=C1=CD =CD=C1=D3= =D3=C1 .so-=DB=C5=CB, =D0=CF=C4=C7=D2=D5=D6=C1=C0=D4=D3=D1 > =D7=C9=D2=D4=D5=C1=CC=D8=CE=CF=CA =CD=C1=DB=C9=CE=CF=CA =CE=C1 =CC=C5=D4= =D5, =CB=C1=CB =D0=CC=C1=C7=C9=CE=D9) =C9 =CF=C4=CE=C9=CD TEXTREL'=CF=CD = =D7 =D2=C1=CA=CF=CE=C5 > =D3=C2=CF=D2=CB=C9 =D3 openssl - =CF=CE=CF =D5 =CE=C1=D3 =D4=C1=CD =D5=D6= =C5 =C4=C1=D7=CE=CF =D3=D4=CF=C9=D4 =CE=C1 relaxed. =F7=CF =DE=D4=CF =D0=D2=C5=D7=D2=C1=DD=C1=C5=D4=D3=D1 =DC=D4=CF=D4 TEXTREL = =CE=C1 x86-64? > 5. =E5=D3=D4=D8 =D0=D2=CF=C2=CC=C5=CD=C1 =D3=CF =D3=C2=CF=D2=CB=CF=CA erl= _interface - =DC=D4=CF =CE=C5=CB=C9=CA =CB=CF=CD=D0=CF=CE=C5=CE=D4 erlang > (=C9=CE=D4=C5=D2=C6=C5=CA=D3 =CB C), =C2=C5=DA =CB=CF=D4=CF=D2=CF=C7=CF = =CF=CE =D2=C1=C2=CF=D4=C1=D4=D8 =D4=C5=CF=D2=C5=D4=C9=DE=C5=D3=CB=C9 =CD=CF= =D6=C5=D4, =CE=CF > ejabberd =C2=C5=DA =CE=C5=C7=CF =CE=C5 =D3=CF=C2=C5=D2=C5=D4=D3=D1. >=20 > =F1 =D0=CF=C4=CF=DA=D2=C5=D7=C1=C0, =DE=D4=CF =D0=D2=CF=C2=CC=C5=CD=C1 = =D7 --as-needed =C9 =D0=CF=D2=D1=C4=CB=C5 =CC=C9=CE=CB=CF=D7=CB=C9. =EE=C1 = =C4=D2=D5=C7=C9=C8 > =D3=C9=D3=D4=C5=CD=C1=C8 (Fedora, BSD, Debian), =CC=C0=C4=C9 =C7=CF=D7=CF= =D2=D1=D4, =DE=D4=CF =D7=D3=C5 =D3=CF=C2=C9=D2=C1=C5=D4=D3=D1. =EB=D5=D3=CF= =CB > =CC=CF=C7=C1: >=20 > gcc -pipe -Wall -O2 -march=3Di586 -mtune=3Di686 -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-linu= x-gnu/erl_call > prog/erl_call.c prog/erl_start.c \ > =09 > -L/home/greycat/RPM/BUILD/otp_src_R11B-3/lib/erl_interface/obj/i686-pc-li= nux-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-linu= x-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' =F4=C1=CB =C9 =C5=D3=D4=D8, libei.a =CE=C5 =D3=CC=C9=CE=CB=CF=D7=C1=CE=CF = =D3 =D4=C5=CD, =DE=D4=CF =D3=CF=C4=C5=D2=D6=C9=D4 =CF=D0=D2=C5=C4=C5=CC=C5= =CE=C9=C5 =D3=C9=CD=D7=CF=CC=C1 __erl_errno. > =F0=CF=C4=D3=CB=C1=D6=C9=D4=C5, =DE=D4=CF =D4=D5=D4 =CD=CF=D6=CE=CF =D0= =D2=CF=D7=C5=D2=C9=D4=D8 =C9 =CB=D5=C4=C1 =D3=CD=CF=D4=D2=C5=D4=D8? =F0=CF=D3=CD=CF=D4=D2=C5=D4=D8 =D7 =CC=CF=C7 =D3=C2=CF=D2=CB=C9 libei.a -- = =D3=CB=CF=D2=C5=C5 =D7=D3=C5=C7=CF =D4=C1=CD =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE= =D9=CA =D0=CF=D2=D1=C4=CF=CB =CC=C9=CE=CB=D5=C5=CD=D9=C8 =C2=C9=C2=CC=C9=CF=D4=C5=CB =C9=CC=C9 =C4=C1=D6= =C5 =D0=D2=CF=D3=D4=CF =CE=C5=D4 =CE=D5=D6=CE=CF=CA =CC=C9=CE=CB=D5=C5=CD= =CF=CA =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9. --=20 ldv --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFzim7fKvmrJ41Nh4RAjpfAKChscva4ebGb33ahsGBF4dnj5tvLwCeMStk QMga+o+ifhoR1TGvrGorMEg= =kasZ -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--