🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41806

f2c

#41806
From: Tai-he Xia
Date: Tue, 13 Feb 1996 00:00
37 lines
1146 bytes
Since there is no f2c group, I post my problem
here for help.

I downloaded f2c-1993.04.28.tar today, and installed
the package on SGI. I translated my fortran code rand.f
to rand.c usinf f2c, then compiled it with
the command cc rand.c -lf2c -lm, it gave the following
output:

ld:
Unresolved:
main
s_wsle
do_lio
e_wsle
s_rsfe
do_fio
e_rsfe
f_open
s_rsle
e_rsle
s_stop
ran_
s_wsfe
e_wsfe
f_clos

I used "ar t libf2c.a" to list the modules in the library,
the above ones were not found in libf2c.a. Is there anything
missing during my installation or something wrong with
the "-l" specification during the compiling?

Your help will be appreciated.

Tai-he Xia

tx29237@glaxo.com
Technical Details
Message-ID: <31211553.41C6@glaxo.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f1bbfbeb0499b5ce,start
X-Google-Attributes: gid11318c,public
From: Tai-he Xia <tx29237@glaxo.com>
Subject: f2c
Date: 1996/02/13
Message-ID: <31211553.41C6@glaxo.com>
X-Deja-AN: 139266242
content-type: text/plain; charset=us-ascii
organization: Glaxo Wellcome
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0b6a (X11; I; IRIX 5.3 IP22)