www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2006/07/01/22:55:05

X-Authentication-Warning: delorie.com: mail set sender to pgcc-bounces using -f
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:mime-version:content-type;
b=U7my7GbgIR8nXocXNwDms9D40SbhKotARLO7gf6uGH8kJVOc3RWkcz+Dsky1Ogejcu1yQ42sMgRtsfyy29GmwOa3yevsL8fOU1BLbPhPSrdS9BKnoCZLCQhrsTsqUKGt+KsLp3qlA053vDcUctn4+OpQjOIEZww5T+yiGg4tFlM=
Message-ID: <69d062f90607011954u5e0f7362ye21b84b34faf9439@mail.gmail.com>
Date: Sat, 1 Jul 2006 21:54:07 -0500
From: "manolo vega" <geofisica AT gmail DOT com>
To: pgcc AT delorie DOT com
Subject: I have problems linking some object files
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com

------=_Part_5493_18439348.1151808847053
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I have installed in my LINUX system the following:


  - BASE, pgcc-2.95.3-linux-x86-glibc2.1 .tar.gz, 1304698
bytes<
http://www.goof.com/pcg/data/linux/pgcc-2.95.3-linux-x86-glibc2.1.tar.gz>
  - G++, pg++-2.95.3-linux-x86-glibc2.1.tar.gz, 2046999
bytes<
http://www.goof.com/pcg/data/linux/pg++-2.95.3-linux-x86-glibc2.1.tar.gz>
  - G77, pg77-2.95.3-linux-x86-glibc2.1.tar.gz, 1165902
bytes<
http://www.goof.com/pcg/data/linux/pg77-2.95.3-linux-x86-glibc2.1.tar.gz>
  - ObjC, pgobjc-2.95.3-linux-x86-glibc2.1.tar.gz, 947482
bytes<
http://www.goof.com/pcg/data/linux/pgobjc-2.95.3-linux-x86-glibc2.1.tar.gz>
  - Docs, pgcc-doc-2.95.3-linux-x86-glibc2.1.tar.gz, 753821
bytes<
http://www.goof.com/pcg/data/linux/pgcc-doc-2.95.3-linux-x86-glibc2.1.tar.gz
>

I have compiltaed with no problems the following files: genray96.f
f96subf.f
igetmod.f
lgstrmod.f
mchdep.f
mnmarg.f
mgtarg.f

and the next problem resulted:

linux:/home/manolo/CPS/PROGRAMS.330/VOLV/src # g77 -O genray96.o f96subf.o
igetmod.o lgstr.o mchdep.o  mnmarg.o mgtarg.o -o genray96
/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/libg2c.a(open.o):
In function `f_open':
open.c:(.text+0x4e3): warning: the use of `tempnam' is dangerous, better use
`mkstemp'
/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/libg2c.a(lread.o):
In function `l_R':
lread.c:(.text+0x179): undefined reference to `__ctype_b'
lread.c:(.text+0x1a3): undefined reference to `__ctype_b'
lread.c:(.text+0x25a): undefined reference to `__ctype_b'
lread.c:(.text+0x282): undefined reference to `__ctype_b'
lread.c:(.text+0x2f7): undefined reference to `__ctype_b'
/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/libg2c.a(lread.o):
lread.c:(.text+0x32e): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status

I don't know what is the problem. Could you pleas help me?

------=_Part_5493_18439348.1151808847053
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br>
<br>
I have installed in my LINUX system the following:<br>
<br>
<br>
 &nbsp; - BASE, pgcc-2.95.3-linux-x86-glibc2.1
<div style="direction: ltr;">.tar.gz, 1304698<br>bytes&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.goof.com/pcg/data/linux/pgcc-2.95.3-linux-x86-glibc2.1.tar.gz" target="_blank">http://www.goof.com/pcg/data/linux/pgcc-2.95.3-linux-x86-glibc2.1.tar.gz
</a>&gt;<br> &nbsp; - G++, pg++-2.95.3-linux-x86-glibc2.1.tar.gz, 2046999<br>bytes&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.goof.com/pcg/data/linux/pg++-2.95.3-linux-x86-glibc2.1.tar.gz" target="_blank">
http://www.goof.com/pcg/data/linux/pg++-2.95.3-linux-x86-glibc2.1.tar.gz</a>&gt;<br> &nbsp; - G77, pg77-2.95.3-linux-x86-glibc2.1.tar.gz, 1165902<br>bytes&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.goof.com/pcg/data/linux/pg77-2.95.3-linux-x86-glibc2.1.tar.gz" target="_blank">
http://www.goof.com/pcg/data/linux/pg77-2.95.3-linux-x86-glibc2.1.tar.gz</a>&gt;<br> &nbsp; - ObjC, pgobjc-2.95.3-linux-x86-glibc2.1.tar.gz, 947482<br>bytes&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.goof.com/pcg/data/linux/pgobjc-2.95.3-linux-x86-glibc2.1.tar.gz" target="_blank">
http://www.goof.com/pcg/data/linux/pgobjc-2.95.3-linux-x86-glibc2.1.tar.gz</a>&gt;<br> &nbsp; - Docs, pgcc-doc-2.95.3-linux-x86-glibc2.1.tar.gz, 753821<br>bytes&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.goof.com/pcg/data/linux/pgcc-doc-2.95.3-linux-x86-glibc2.1.tar.gz" target="_blank">
http://www.goof.com/pcg/data/linux/pgcc-doc-2.95.3-linux-x86-glibc2.1.tar.gz</a>&gt;<br><br>I have compiltaed with no problems the following files: genray96.f<br>f96subf.f<br>igetmod.f<br>lgstrmod.f<br>mchdep.f<br>mnmarg.f
<br>mgtarg.f<br><br>and the next problem resulted:<br><br>linux:/home/manolo/CPS/PROGRAMS.330/VOLV/src # g77 -O genray96.o f96subf.o<br>igetmod.o lgstr.o mchdep.o &nbsp;mnmarg.o mgtarg.o -o genray96<br>/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-
2.95.2/libg2c.a(open.o):<br>In function `f_open':<br>open.c:(.text+0x4e3): warning: the use of `tempnam' is dangerous, better use<br>`mkstemp'<br>/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/libg2c.a(lread.o):
<br>In function `l_R':<br>lread.c:(.text+0x179): undefined reference to `__ctype_b'<br>lread.c:(.text+0x1a3): undefined reference to `__ctype_b'<br>lread.c:(.text+0x25a): undefined reference to `__ctype_b'<br>lread.c:(.text+0x282): undefined reference to `__ctype_b'
<br>lread.c:(.text+0x2f7): undefined reference to `__ctype_b'<br>/usr/local/pgcc/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/libg2c.a(lread.o):<br>lread.c:(.text+0x32e): more undefined references to `__ctype_b' follow<br>collect2: ld returned 1 exit status
<br><br>I don't know what is the problem. Could you pleas help me?</div>

------=_Part_5493_18439348.1151808847053--

- Raw text -


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