From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 6 Oct 2010 13:36:52 +0400 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20101006093652.GB23143@altlinux.org> References: <20101005100103.GA28486@altlinux.org> <20101005101717.GF9992@altlinux.org> <20101005213906.GA7528@altlinux.org> <20101005215602.GD13828@altlinux.org> <20101005220144.GA18362@altlinux.org> <20101005220435.GE13828@altlinux.org> <20101005221209.GB18362@altlinux.org> <20101005222941.GC18362@altlinux.org> <20101006082222.GA23143@altlinux.org> <20101006091845.GD8102@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <20101006091845.GD8102@altlinux.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [devel] I: rpm 4.0.4-alt98.49, latter rain X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2010 09:36:54 -0000 Archived-At: List-Archive: List-Post: --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 06, 2010 at 01:18:45PM +0400, Dmitry V. Levin wrote: > > =F3=D0=C1=D4=D8 =CE=C1=C4=CF =C2=CF=CC=D8=DB=C5. > =E4=C1, =D3=D0=C1=D3=C9=C2=CF. =E4=C1 =DC=D4=CF =D1 =D0=D2=CF =D3=C5=C2=D1. > > =FC=D4=CF =CE=C5 =C4=CC=D1 =C2=C9=C2=CC=C9=CF=D4=C5=CB: > =E4=CC=D1 =CE=C5-=C2=C9=C2=CC=C9=CF=D4=C5=CB, =D0=CF=D6=C1=CC=D5=CA, =C9 = =D4=C1=CB =D5=D6=C5 =D7=D3=A3 =CE=C5=D0=CC=CF=C8=CF. > =F7 =D0=C5=D2=D7=CF=CE=C1=DE=C1=CC=D8=CE=CF=CA =D0=CF=D3=D4=C1=CE=CF=D7= =CB=C5 =DA=C1=C4=C1=DE=C9 =D7=CF=D0=D2=CF=D3 =C2=D9=CC =C9=CD=C5=CE=CE=CF = =D0=D2=CF =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9. =EE=D5 =CD=CF=D6=CE=CF =D4=C1=CB: $ alias gcc=3D'gcc -Wl,--no-undefined' $ echo 'int foo1(){return 1;}' | gcc -fpic -shared -o libfoo1.so -xc - && echo 'int foo2(){return foo1()+1;}' | gcc -fpic -shared -o libfoo2.so -xc - -Wl,--rpath,$PWD -L. -lfoo1 && echo 'int foo3(){return foo1()+foo2();}' | gcc -fpic -shared -o libfoo3.so -xc - -Wl,--rpath,$PWD -L. -lfoo2 && /usr/lib/rpm/lib.req libfoo3.so /tmp/.private/raorn/cc4GWbBZ.o: In function `foo3': :(.text+0xf): undefined reference to `foo1' collect2: ld returned 1 exit status --=20 Regards, -- Sir Raorn. --- http://thousandsofhate.blogspot.com/ --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkysQzEACgkQVqT7+fkT8wobxACeKSU5QiSglkCJ2Zhe4tPtC/c1 fG8AoN0oD7onhjd2++sGqsbqJ8DpI/Vz =XMFX -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--