This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug, or not a bug?
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: Bug, or not a bug?
- From: The Hermit Hacker <scrappy at hub dot org>
- Date: Wed, 11 Nov 1998 23:35:58 -0400 (AST)
- cc: egcs-bugs at cygnus dot com
On Wed, 11 Nov 1998, Zack Weinberg wrote:
> On Wed, 11 Nov 1998 18:35:02 -0400 (AST), The Hermit Hacker wrote:
> >
> >I'm curious as to whether what I'm including below is a bug, or just a
> >missing library/include file? It compiles cleanly with gcc2.7.2.1, so I'm
> >looking at it from the EGCS end of things...if its obvious as to the
> >problem, great...if not, please ask and I'll send out the usual '-v
> >--save-temps' output. I just don't know C++, so debugging this is very
> >difficult for me :(
>
> >eg++ -I. -I../include -I/usr/local/ports/devel/mico/work/mico/./include/minis
> >tl -fno-exceptions -L../orb -L/usr/local/lib imr_client.o -lmico2.2.3 -lr
> >eadline -lncurses -lm -o imr
> >imr_client.o: Undefined symbol `ostream & operator<<<int>(ostream &, smanip<in
> >t> const &)' referenced from text segment
>
>
> It's having problems finding libstdc++ which has the iostreams
> functions. g++ (eg++) is supposed to link libstdc++ automatically, so
> I would guess that the -L/usr/local/lib you have in there is making it
> find an old libstdc++. Check if this problem goes away if you take
> that out. (Another problem may arise e.g. not finding ncurses, don't
> sweat that.)
>
> Oh, which platform is this?
FreeBSD 3.0, non-elf...
hub# ls -lt libs*
-r--r--r-- 1 root wheel 214124 Nov 11 12:02 libslang.so.1.3
lrwxr-xr-x 1 root wheel 15 Nov 11 12:02 libslang.so -> libslang.so.1.3
-rw-r--r-- 1 root wheel 268094 Nov 11 12:02 libslang.a
-rw-r--r-- 1 root wheel 188072 Oct 31 20:29 libssl.a
-r--r--r-- 1 bin bin 1889196 Oct 15 06:03 libsp.a
-rw-r--r-- 1 bin bin 59684 May 25 10:26 libsimple.a
-rwxr-xr-x 1 bin bin 97098 May 7 1998 libsnmp.a
hub# pwd
/usr/local/lib
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org