Hi to all,
i'm using Slackware 11 distro and gcc 3.4.6 , I have a problem with g++ compilation in dynamic libraries.
For test I've written a small libraries with only this operation :

void strip_line_breaks(char * victim)
int i;

when i compile and link this function , with "nm" command I have:
00001210 A _DYNAMIC
00000208 T _Z17strip_line_breaksPc
00001294 A __bss_start
00001294 A _edata
00001294 A _end

and all work correctly

If I include in my library
#include <iostream> or
#include <iostream.h>

after compile and link (with the same makefile) i Have
00001694 d DW.ref.__gxx_personality_v0
000015b0 A _DYNAMIC
00000520 t _GLOBAL__I__Z17strip_line_breaksPc
000004a6 T _Z17strip_line_breaksPc
000004ac t _Z41__static_initialization_and_destruction_0ii
U _ZNSt8ios_base4InitC1Ev
U _ZNSt8ios_base4InitD1Ev
000003e8 t _ZSt17__verify_groupingPKcjRKSs
00001698 b _ZSt8__ioinit
00001698 A __bss_start
U __cxa_atexit@@GLIBC_2.1.3
U __dso_handle
U __gxx_personality_v0
000004fc t __tcf_0
00001698 A _edata
0000169c A _end

and the program that link this library (but not use it) does not work.

Can tou suggest me if i must verify compiler or slackware installation?
Have you idea if i can do other tests?