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" To: pgcc AT delorie DOT com Subject: I have problems linking some object files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5493_18439348.1151808847053" 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,

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--