SCTP Discussions

Text archives Help


[SCTP-Discussion] Linking problem on socketapi


Chronological Thread 
  • From: <JCLetran AT smart.com.ph>
  • To: <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Linking problem on socketapi
  • Date: Wed Oct 5 12:02:01 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Title: Linking problem on socketapi

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

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

I'm specially interested on compiling the c programs. And I'm currently using gcc version 3.2.3.

Can somebody help me on this.

Thanks in advance.



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


__________________________________________________
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