Subject: gcc problem
To: None <netbsd-help@netbsd.org>
From: Stanislaw Grygiel <stach@ee.pdx.edu>
List: netbsd-help
Date: 03/12/2000 18:59:55
It is netbsd-1.4.1 on DECstation 3100
When linking a C program I got the following message several times:

 undefined reference to `_flush_cache'

The message is printed only for files where nested functions (gcc extension)
are defined.

None of the libraries in /usr/lib contains _flush_cache symbol.
It is contained in cc1, cc1obj, and cc1plus in /usr/libexec/ but the
program won't link anyway.

I also tried to link with -static but it didn't help.

What am doing wrong?

And another question:
I tried to to compile gcc-2.95.2 but got compiler complaining about
missing mld library and ldfcn.h file. None of them exist in netbsd-1.4.1
for DECstation 3100. Is it possible to compile it at all on netbsd-1.4.1?
It compiles under Ultrix 4.2a for instance.

Stan