From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,ce61b8a3fd465b38 X-Google-Attributes: gid1094ba,public X-Google-Thread: fee84,ce61b8a3fd465b38 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-12 14:39:21 PST Xref: gmd.de comp.unix.osf.osf1:2859 comp.lang.fortran:11265 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!jac.zko.dec.com!quark.enet.dec.com!LIONEL From: lionel@quark.enet.dec.com (Steve Lionel) Newsgroups: comp.unix.osf.osf1,comp.lang.fortran Subject: Re: message from ld (f77 on Alpha) Date: 12 Apr 1994 21:39:21 GMT Organization: Digital Equipment Corporation - Nashua, NH Message-ID: <2of4e9$igq@jac.zko.dec.com> References: Reply-To: lionel@quark.enet.dec.com NNTP-Posting-Host: quark.zko.dec.com In article , meyer@sirius.physik.fu-berlin.de (Sebastian Meyer) writes: >I get this message from ld when linking some 50000 lines of Fortran: > >f77 -O -o xnjoy njoy.o reconr.o [...20 more modules...] >ld: >loc_: common but defined as text in a shared object > There is an external routine named loc in one of the shared libraries; this got ported over from RISC ULTRIX and is not documented; it basically does the same as %LOC (but unless you declare it to be INTEGER*8 it returns only the low-order 32 bits. I believe the message is telling you that you have a COMMON block that is also named loc; generally on UNIX systems you can't have a COMMON block and an external routine by the same name. (The Fortran standard also says you can't do this, though it works fine on OpenVMS.) If you're not using loc as a routine name, I would recommend ignoring the message as it's harmless. DEC Fortran V3.4 (I think - can check if anyone cares - send me mail) has added support for loc as an intrinsic; basically an alias for %LOC and not using an external routine. >BTW: Is there a usable debugger for Fortran on the Alpha? dbx is > completely lost and ladbx doesn't seem to support Fortran. If > I only had beloved gdb .... We've been doing a LOT of work on dbx; you should install DEC OSF/1 V2.0 and see if it improves in the areas you're interested in. I think there are further updates to dbx available as well through Digital software support. We're also working on adding full Fortran support to ladbx, but it's not there yet. Steve Lionel Mail: lionel@quark.enet.dec.com SDT Languages Group WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent"