--- Begin Message ---
Package: g77-2.95
Version: 1:2.95.4-12
Severity: normal
I have a multi-language application. It used to compile fine. Now, it
has an undefined reference when linking.
epperly@driftcreek[examples/hello/runF77]>g77 -g -O2 -o runF772C
helloclient.o ./.libs/libClient.a -L/usr/lib/gcc-lib/i386-linux/2.95.4
.../libC/.libs/libImpl.a
/home/epperly/current/linux/runtime/sidl/.libs/libsidl.a
.../../../runtime/sidl/.libs/libsidl.a -ldl -lg2c -lm -lc -ldl
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0x1c6): In
function `l_R':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0x2f6): In
function `l_R':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0x3e4): In
function `l_R':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0x447): In
function `l_R':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0xceb): In
function `l_L':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(lread.o)(.text+0xfec): more
undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
epperly@driftcreek[examples/hello/runF77]>
If I use g77-3.2 to link it, it works fine.
epperly@driftcreek[examples/hello/runF77]>g77-3.2 -g -O2 -o runF772C
helloclient.o ./.libs/libClient.a -L/usr/lib/gcc-lib/i386-linux/3.2
.../libC/.libs/libImpl.a
/home/epperly/current/linux/runtime/sidl/.libs/libsidl.a
.../../../runtime/sidl/.libs/libsidl.a -ldl -lg2c -lm -lc -ldl
epperly@driftcreek[examples/hello/runF77]>
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux driftcreek 2.4.19 #2 Fri Aug 23 14:04:32 PDT 2002 i686
Locale: LANG=C, LC_CTYPE=
Versions of packages g77-2.95 depends on:
ii g77 2:2.95.4-17 The GNU Fortran 77 compiler.
ii gcc-2.95 1:2.95.4-12 The GNU C compiler.
ii libc6 2.3.1-2 GNU C Library: Shared libraries an
-- no debconf information
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--- End Message ---