* gcc-2.95.1 problem
@ 2000-07-11 12:20 Vishal Zinjuvadia
2000-07-13 0:04 ` Martin v. Loewis
0 siblings, 1 reply; 2+ messages in thread
From: Vishal Zinjuvadia @ 2000-07-11 12:20 UTC (permalink / raw)
To: gcc
Hi
I just installed gcc-2.95.1 on a Linux host (Red Hat linux 6.0
kernel 2.2.13). I tried compiling a source code (which initially was
compiling fine) with it and received following error msgs.
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/libgcc.a(_pure.o): In
function `__pure_virtual':
/tmp/gcc-2.95.1/gcc/libgcc2.c(.text+0x25): undefined reference to
`__write'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/libgcc.a(_eh.o): In
function `__eh_rtime_match':
/tmp/gcc-2.95.1/gcc/libgcc2.c(.text+0x41d): undefined reference to
`stderr'
I have no clue how to get around with it... Could some one please
help me with that
Thanks in advance
Vishal
--------------------------------------------------------------------
If you're not using your smile, you're like a man with a million
dollars in the bank and no checkbook !!!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc-2.95.1 problem
2000-07-11 12:20 gcc-2.95.1 problem Vishal Zinjuvadia
@ 2000-07-13 0:04 ` Martin v. Loewis
0 siblings, 0 replies; 2+ messages in thread
From: Martin v. Loewis @ 2000-07-13 0:04 UTC (permalink / raw)
To: zvishal; +Cc: gcc
> I have no clue how to get around with it... Could some one please
> help me with that
Please add the -v flag to compilation, and take particular notice of
the linker lines. stderr is a symbol of libc, so either it does not
link with libc, or somehow picks up the wrong one???
Regards,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-13 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-11 12:20 gcc-2.95.1 problem Vishal Zinjuvadia
2000-07-13 0:04 ` Martin v. Loewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).