Subject: Problem with G++ Compiler - Please Help!
To: None <port-arm32@netbsd.org>
From: Peter Teichmann <teich-p@Rcs1.urz.tu-dresden.de>
List: port-arm32
Date: 11/12/1998 21:12:56
Hi,
 
when trying to compile some really simple c++ programs (in fact they use
only fstream and iostream) I have a little problem. When I start the
compiled program I get an error:

/usr/libexec/ld.so: Undefined symbol "_re_compile_pattern" called from
reflect: /usr/lib/libg++.so.4.0 at 0x2005a67c

The command line when compiling was:

g++ -O reflect.cc -o reflect

When compiled using:

gcc -O reflect.cc -o reflect -lstdc++

the program works fine, but I think that is no real good solution.
I am using the snapshot from 1. October 1998, but I there was no libg++
supplied with it so my libg++ is an older one.

What is wrong here? Thank you very much for you help!

-- 
Peter Teichmann

----------------------------------------------------------------------------
Email: teich-p@rcs.urz.tu-dresden.de  WWW: rcswww.urz.tu-dresden.de/~teich-p