- From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
- To: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
- Cc: discussion AT sctp.de
- Subject: Re: Re[4]: [SCTP-Discussion] Compilation problem
- Date: Fri Apr 4 09:47:00 2003
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Institute for Experimental Mathematics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 3. April 2003 16:13 schrieben Sie:
>
Hello again,
>
>
> AJ> I think, this could mean that you might not have a proper
>
> AJ> libstdc++ installed on your system.
>
>
>
> My /usr/lib contains:
>
>
>
> -rw-r--r-- 1 root root 494296 Apr 12 2002
>
> libg++-3-libc6.2-2-2.8.1.3.a
>
> -r-xr-xr-x 1 root root 365795 Apr 12 2002
>
> libg++-3-libc6.2-2-2.8.1.3.so
>
> lrwxrwxrwx 1 root root 28 Mar 7 16:18
>
> libg++-libc6.2-2.a.3 -> libg++-3-libc6.2-2-2.8.1.3.a
>
> lrwxrwxrwx 1 root root 29 Mar 7 16:18
>
> libg++-libc6.2-2.so.3 -> libg++-3-libc6.2-2-2.8.1.3.so
>
> -rwxr-xr-x 1 root root 1227181 Apr 12 2002
>
> libstdc++-3-libc6.1-2-2.10.0.so
>
> -rw-r--r-- 1 root root 512336 Apr 12 2002
>
> libstdc++-3-libc6.2-2-2.10.0.a
>
> -r-xr-xr-x 1 root root 376154 Apr 12 2002
>
> libstdc++-3-libc6.2-2-2.10.0.so
>
> -rwxr-xr-x 1 root root 1225930 Apr 12 2002
>
> libstdc++-libc6.1-1.so.2
>
> lrwxrwxrwx 1 root root 31 Mar 7 16:20
>
> libstdc++-libc6.1-2.so.3 -> libstdc++-3-libc6.1-2-2.10.0.so
>
> lrwxrwxrwx 1 root root 30 Mar 7 16:18
>
> libstdc++-libc6.2-2.a.3 -> libstdc++-3-libc6.2-2-2.10.0.a
>
> lrwxrwxrwx 1 root root 31 Mar 7 16:18
>
> libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
>
>
Okay, I checked this on my system (Mandrake-9.1) and found that
>
both <iostream.h> and <set.h> are located in a package named
>
libstdc++5-devel-3.2.2-3mdk.
>
They are located in
>
/usr/include/c++/3.2.2/backward/
>
so this might be an older library, ensuring backwards compatibility.
In *very* old C++ systems, the STL files were named set.h, iostream.h, etc..
Newer versions of the C++ standard call these files set, iostream, etc.
(without .h). Check, if you have installed the package(s) containing the
libstdc++ and especially also its header files, e.g. "libstdc++*-devel"
(Mandrake). You system may have installed the libstdc++ under /usr/lib (since
it is a shared library required for many binary programs) but not the include
files necessary to compile C++ programs.
Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage:
http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+jTh/32BbsHYPLWURAn7VAKDKqpdUIxtSU74z1dtQ9ODKfKpbSwCgo0z3
bUZewtqtbhpJR2/Sv6IN7+g=
=6Mv7
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.