- From: Thomas Dreibholz <dreibh AT iem.uni-due.de>
- To: JCLetran AT smart.com.ph
- Cc: discussion AT sctp.de
- Subject: Re: [SCTP-Discussion] Linking problem on socketapi
- Date: Thu Oct 6 10:42:03 2005
- List-id: SCTP Discussions <discussion.sctp.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 05 October 2005 12:01,
JCLetran AT smart.com.ph
wrote:
>
Hi,
>
>
I'm a newbie on SCTP and would like to use sctplib and socketapi. I was
>
able to install sctplib-1.0.4 successfully on a Linux box (Redhat
>
Advance Server 3 - Kernel 2.4.21-32.0.1).
I do not have such a system for testing. But Fedora Core 3 is working, so
RedHat should work too.
>
When installing the socketapi-1.7.0, I am able to compile everything
>
except the sample programs (socket_programs and cppsocket_programs).
>
>
I get a linking problem of:
>
>
../socketapi/.libs/libsctpsocket.so: undefined reference to
>
`std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)'
>
../socketapi/.libs/libsctpsocket.so: undefined reference to
>
`std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*,
>
unsigned)'
>
collect2: ld returned 1 exit status
>
make: *** [combined_server_1to1] Error 1
This seems to be a linking problem with the C++ library. Check, if you can
find libstdc++* on your system. May be, there are problems with dynamic
linking. Uninstall sctplib and socketapi, configure both packages with
"./configure --enable-static --disable-shared" and see what happens.
Also try to compile the most recent versions of sctplib and socketapi
(
http://www.sctp.de/).
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.2.4 (GNU/Linux)
iD8DBQFDROIZ32BbsHYPLWURAu/BAJ4irGXtfIvDQ3qs5xd2s4CKNBia6gCfUmyP
Ge3wNpszbYmJe8uODMTf4yU=
=3Q1o
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.