Re: ktev and linux

yocum@sapphire.fnal.gov
Wed, 23 Sep 1998 10:51:58 -0500

------- Forwarded Message

Return-Path: linux-users-error@fnal.gov
Return-Path: <linux-users-error@fnal.gov>
Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id PAA19356
for <yocum@sapphire.fnal.gov>; Fri, 11 Sep 1998 15:34:17 -0500
Received: from fnal.gov (ascott@b0pcucla1.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998) id <01J1OOHCLCA8000Y33@FNAL.FNAL.GOV>
(original mail from ascott@fnal.gov) for yocum@sapphire.fnal.gov; Fri,
11 Sep 1998 15:34:15 -0500 CST
Received: from fnal.gov (ascott@b0pcucla1.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998)
with ESMTP id <01J1OOH9BJ9S000SOT@FNAL.FNAL.GOV> for
linux-users-expand@reprocess.FNAL.FNAL.GOV; Fri, 11 Sep 1998 15:33:12 -0500
Date: Fri, 11 Sep 1998 15:32:22 -0500
From: "Andrew F. Scott" <ascott@fnal.gov>
Subject: Re: FW: ktev and linux (fwd)
Sender: ascott@fnal.gov
To: Carmenita Moore <carmenita@fnal.gov>
Cc: "Dart-Support@Fndaub. Fnal. Gov" <dart-support@fndaub.fnal.gov>,
"Linux-Users@Fnal. Gov" <linux-users@fnal.gov>
Errors-to: linux-users-error@fnal.gov
Message-id: <35F988D6.D215775C@fnal.gov>
Organization: UCLA/FNAL
MIME-version: 1.0
X-Mailer: Mozilla 4.06 [en] (X11; I; Linux 2.0.35 i686)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
References: <001001bdddc1$54b6e1a0$5c51e183@fndapo.fnal.gov>

Try adding -fno-second-underscore to your compiler options. For more
info, type 'info -f g77' and search for the above named option.

Andrew

> It seemed that I had a working library, but as soon as I tried to link to
> the code, I got errors of the form
>
> undefined reference to 'daft_discard_record_f__'.
>
> Someone suggested that perhaps there's a problem with the way my FORTRAN
> compiler is handling the underscores at the end of the function names, but
> I have no idea how to fix this.

- --
Andrew Scott
UCLA Dept. of Physics
Fermi National Accelerator Laboratory
scott@physics.ucla.edu | ascott@cdfsga.fnal.gov
http://www-collider.physics.ucla.edu/
http://www.physics.ucla.edu/~scott/

------- End of Forwarded Message