From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 27 Nov 2004 00:26:49 +0300 From: Alexey Tourbin To: devel@altlinux.ru Message-ID: <20041126212649.GI31657@solemn.turbinal.org> Mail-Followup-To: devel@altlinux.ru Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TKYYegg/GYAC5JIZ" Content-Disposition: inline Subject: [devel] slatec, fortran libraries, weak symbols X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 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: Fri, 26 Nov 2004 21:26:56 -0000 Archived-At: List-Archive: List-Post: --TKYYegg/GYAC5JIZ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. =E2=C9=C2=CC=C9=CF=D4=C5=CB=C1 slatec =D3=CF=C2=C9=D2=C1=C5=D4=D3=D1 =D4=C1= =CB: for f in *.f; do g77 -c %optflags %optflags_shared "$f"; done g77 -shared -o lib%name.so.%version -Wl,-soname=3Dlib%name.so.%version *.o echo 'main(){}' >ldtest.c gcc ldtest.c lib%name.so.%version =F7 =D2=C5=DA=D5=CC=D8=D4=C1=D4=C5 =D0=CF=CC=D5=DE=C1=C5=D4=D3=D1: + gcc ldtest.c libslatec.so.4.1 libslatec.so.4.1: undefined reference to `dgvec_' libslatec.so.4.1: undefined reference to `uvec_' libslatec.so.4.1: undefined reference to `uivp_' libslatec.so.4.1: undefined reference to `duvec_' libslatec.so.4.1: undefined reference to `duivp_' libslatec.so.4.1: undefined reference to `gvec_' libslatec.so.4.1: undefined reference to `dfmat_' libslatec.so.4.1: undefined reference to `fmat_' collect2: ld returned 1 exit status =F0=D2=C9 =C9=DA=D5=DE=C5=CE=C9=D1 =C9=D3=C8=CF=C4=CE=C9=CB=CF=D7 =D7=D9=D1= =D3=CE=C9=CC=CF=D3=D8 =D3=CC=C5=C4=D5=C0=DD=C5=C5 (=C3=C9=D4=C9=D2=D5=C0 = =C9=DA dbvsup.f): C The user must supply subroutines DFMAT, DGVEC, DUIVP and DUVEC, C when needed (they must be so named), to evaluate the derivatives C as follows C C A. DFMAT must be supplied. =F4.=C5. =C6=D5=CE=CB=C3=C9=C9, =CB=CF=D4=CF=D2=D9=C5 =C4=CF=CC=D6=CE=D9 = =C2=D9=D4=D8 =CF=D0=D2=C5=C4=C5=CC=C5=CE=D9 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5= =CC=C5=CD, =CE=C1 =D0=D2=C1=CB=D4=C9=CB=C5 =CF=C2=CF=D2=C1=DE=C9=D7=C1=C0=D4=D3=D1 undefined references =D7 =C2=C9=C2= =CC=C9=CF=D4=C5=CB=C5. =F0=CF=C4=CF=DA=D2=C5=D7=C1=C0, =DE=D4=CF =DC=D4=C1 =D0=D2=CF=C2=CC=C5=CD=C1 =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =D2=C5=DB=C5=CE=C1 = =D3 =D0=CF=CD=CF=DD=D8=C0 weak symbols. =EB=D4=CF-=CE=C9=C2=D5=C4=D8 =DA= =CE=C1=C5=D4, =CB=C1=CB =C9=CD=C5=CE=CE=CF? --TKYYegg/GYAC5JIZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBp5+ZfBKgtDjnu0YRAugEAJ47CIFdnUe/o41VeheFab6rp4y9AgCfcAtK /U1PzcNe6UFEACvbtjUntQQ= =RF6h -----END PGP SIGNATURE----- --TKYYegg/GYAC5JIZ--