From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 18 Mar 2006 21:22:38 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060318182238.GA23536@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <441C2309.8090405@sakhalin.ru> <20060318153420.GA7692@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20060318153420.GA7692@basalt.office.altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] I: underlinked shared libraries are evil X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 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, 18 Mar 2006 18:22:38 -0000 Archived-At: List-Archive: List-Post: --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 18, 2006 at 06:34:20PM +0300, Dmitry V. Levin wrote: > On Sun, Mar 19, 2006 at 01:11:05AM +1000, Dmitry Lebkov wrote: [...] > > cc -pipe -Wall -O2 -march=3Di586 -mcpu=3Di686 -o .libs/apitest apitest.= o -pthread \ > > -lkrb5 -lk5crypto -lkrb5support -lcom_err ./.libs/libldap_r.so \ > > ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/li= blutil.a \ > > -lsasl2 -lssl -lcrypto -lcrypt -lresolv > > ./.libs/libldap_r.so: undefined reference to `pthread_create' > > ./.libs/libldap_r.so: undefined reference to `pthread_kill_other_thread= s_np' > > ./.libs/libldap_r.so: undefined reference to `pthread_setconcurrency' > > ./.libs/libldap_r.so: undefined reference to `pthread_kill' > > ./.libs/libldap_r.so: undefined reference to `pthread_attr_setstacksize' > > ./.libs/libldap_r.so: undefined reference to `pthread_mutex_trylock' > > ./.libs/libldap_r.so: undefined reference to `pthread_join' > > ./.libs/libldap_r.so: undefined reference to `pthread_getconcurrency' > > collect2: ld returned 1 exit status > > make[2]: *** [apitest] Error 1 >=20 > ld =D6=C1=CC=D5=C5=D4=D3=D1 =CE=C1 =D4=CF, =DE=D4=CF libldap_r.so =CE=D5= =D6=C4=C1=C5=D4=D3=D1 =D7 =D3=C9=CD=D7=CF=CC=C1=C8 =C9=DA libpthread, =CE=CF > =CE=C5 =D3=CC=C9=CE=CB=CF=D7=C1=CE =D3 -lpthread. >=20 > =F0=CF=D6=C1=CC=D5=CA=D3=D4=C1, =CC=C9=CE=CB=D5=CA=D4=C5 =D0=D5=C2=CC=C9= =DE=CE=D9=C5 =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9 =D3=CF =D7=D3=C5=CD, =D7 =DE=A3= =CD =CF=CE=C9 =CE=D5=D6=C4=C1=C0=D4=D3=D1. =EB=D2=CF=CD=C5 =D4=CF=C7=CF, =D0=CF=DE=D4=C9 =D3=CF =D7=D3=C5=CD=C9 =CE=C5= =C4=CF=CC=C9=CE=CB=CF=D7=C1=CE=CE=D9=CD=C9 =C2=C9=C2=CC=C9=CF=D4=C5=CB=C1= =CD=C9 =D4=C5=D0=C5=D2=D8 =CE=C5=CC=D8=DA=D1 =CC=C9=CE=CB=CF=D7=C1=D4=D8=D3=D1. =F3=CB=CF=D2=CF =D0=D2=C9=DB=CC=C0=D4 = =CC=CF=C7=C9, =D3=C1=CD=C9 =D5=D7=C9=C4=C9=D4=C5. --=20 ldv --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEHE/ufKvmrJ41Nh4RAmbRAKCvJdVkxHrSMI9GYJOZfjvtrA1wVQCfWep9 uVoN2nCUvwbXMFuZ/PrTywo= =lTsq -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--