SCTP Discussions

Text archives Help


RE: [SCTP-Discussion] Linking problem on socketapi


Chronological Thread 
  • From: <JCLetran AT smart.com.ph>
  • To: <dreibh AT iem.uni-due.de>
  • Cc: <discussion AT sctp.de>
  • Subject: RE: [SCTP-Discussion] Linking problem on socketapi
  • Date: Thu Oct 6 10:42:12 2005
  • List-id: SCTP Discussions <discussion.sctp.de>


Hi,

Thanks for the info. I'm currently using the most updated version of sctplib
and socketapi.

I just moved into a larger/different Linux box and everything working
perfectly.


Regards,
Jowell Letran
Junior Software Development Specialist
Smart Communications, Inc. - Philippines


-----Original Message-----
From: Thomas Dreibholz
[mailto:dreibh AT iem.uni-due.de]
Sent: 06 October 2005 16:37
To: Jowell C. Letran, IT/2138
Cc:
discussion AT sctp.de
Subject: Re: [SCTP-Discussion] Linking problem on socketapi

-----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-----

__________________________________________________
This communication is intended solely for the use of the addressee and
authorized recipients. It may contain confidential or legally privileged
information and is subject to the conditions in
http://www.smart.com.ph/disclaimer.




Archive powered by MHonArc 2.6.19+.

Top of page