www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/08/02/05:52:18

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
From: Anand Kolatkar <anandk AT jocose DOT stanford DOT edu>
Message-Id: <199808020546.AA30536@jocose.stanford.edu>
Subject: pgcc 1.0.3a and intrinsic functions
To: beastium-list AT Desk DOT nl
Date: Sat, 1 Aug 1998 22:46:08 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 75

	Hello all.	
	(Please reply directly to me via email: anandk AT jocose DOT stanford DOT edu)

	I just compiled and installed the full pgcc 1.0.3a package
	on my Pentium Linux (kernel 2.0.34) machine.  I am using libc
	version 5.4.44. 

	While I was able to compile a large fortran program with
	fort77 without incident, I am having problems compiling another
	unrelated fortran program.  During the linking process, I get the
	following messages:

Value of <HANDLE> construct can be "0"; test with defined() at /usr/bin/fort77 l
ine 272.
Value of <HANDLE> construct can be "0"; test with defined() at /usr/bin/fort77 l
ine 278.
graphics.o: In function `grrast_':
graphics.o(.text+0x6e7d): undefined reference to `iand_'
graphics.o(.text+0x7e2d): undefined reference to `iand_'
surfmap.o: In function `srfsan_':
surfmap.o(.text+0x2738): undefined reference to `iand_'
surfmap.o(.text+0x2842): undefined reference to `iand_'
surfmap.o(.text+0x285e): undefined reference to `iand_'
surfmap.o(.text+0x287a): more undefined references to `iand_' follow
mapread.o: In function `mapdn6_':
mapread.o(.text+0x2b34): undefined reference to `zext_'
mapread.o: In function `mapbrx_':
mapread.o(.text+0x35e0): undefined reference to `zext_'
.../forlib/forlib.a(system.o): In function `sygetv_':
system.o(.text+0xc2): undefined reference to `G77_getenv_0'
.../forlib/forlib.a(system.o): In function `syspwn_':
system.o(.text+0x580): undefined reference to `G77_system_0'
system.o(.text+0x599): undefined reference to `G77_system_0'
.../forlib/forlib.a(system.o): In function `systop_':
system.o(.text+0x6d4): undefined reference to `G77_exit_0'
system.o(.text+0x6f9): undefined reference to `G77_exit_0'
.../forlib/forlib.a(system.o): In function `syrand_':
system.o(.text+0xfd9): undefined reference to `G77_rand_0'
system.o(.text+0x1019): undefined reference to `G77_rand_0'
system.o(.text+0x1049): undefined reference to `G77_rand_0'
system.o(.text+0x10be): undefined reference to `G77_rand_0'
.../forlib/forlib.a(system.o): In function `sygarg_':
system.o(.text+0x11e2): undefined reference to `G77_getarg_0'
collect2: ld returned 1 exit status   

	I don't understand why these functions are giving an undefined
	reference message?  I am not much of a programmer so I must be 
	missing something pretty fundamental.  However, the other program I
	compiled with pgcc1.0.3a had plenty of intrinsic  functions and it
	compiled and linked just fine.

	I am pretty sure that the zext function is NOT supported currently,
	but I would expect iand, rand, getarg and getenv should be?
	Should I be adding some other flag during linking?  I am not 
	using any flag except for the trivial -o command line option.

	Any advice or suggestions are very welcome.

			******* NOTE **********

	I am not subscribed to this mailing list so any responses should
	be sent directly to me:  anandk AT jocose DOT stanford DOT edu

	Thanks!	

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
        Anand Kolatkar                    	  Stanford University
email: anandk AT galactose DOT stanford DOT edu		Dept. Structural Biology
Lab Phone: (650) 725-4625 or -7866		Fairchild Building D-143
      FAX: (650) 723-8464			Stanford, CA. 94305-5126

	Home Page - http://galactose.stanford.edu/~anandk
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019